/* Brand Dictionary Styles */
.brand-dictionary-section {
    width: 100%;
    margin: 40px auto;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.char-filter-container {
    margin-bottom: 30px;
    overflow-x: auto;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
}

.char-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    min-width: max-content;
}

.char-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #e5e7eb;
    background-color: #fff;
    color: #4b5563;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.char-btn:hover {
    background-color: #f3f4f6;
    border-color: #d1d5db;
    color: #111827;
}

.char-btn.active {
    background-color: #111827;
    color: #fff;
    border-color: #111827;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.brand-list-container {
    min-height: 200px;
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #e5e7eb;
}

.brand-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.brand-item {
    font-size: 14px;
}

.brand-item a {
    color: #6b7280;
    text-decoration: none;
    transition: all 0.2s;
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
}

.brand-item a:hover {
    color: #111827;
    background-color: #f9fafb;
    font-weight: 500;
}

.loading-start,
.loading-msg,
.empty-msg {
    text-align: center;
    color: #9ca3af;
    padding: 60px 0;
    font-size: 15px;
}

.error-msg {
    text-align: center;
    color: #ef4444;
    padding: 40px 0;
}

.load-more-container {
    text-align: center;
    margin-top: 24px;
    padding-bottom: 20px;
    width: 100%;
}

.btn-load-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 32px;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #4b5563;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-load-more:hover {
    background-color: #f9fafb;
    border-color: #d1d5db;
    color: #111827;
}

.btn-load-more i {
    font-size: 16px;
}