/* ITA 2569 — supplemental styles (base theme from ../styles.css) */

.oit-filter-bar {
    background: white;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    margin: 0 auto 2rem;
    max-width: 1000px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(220, 20, 60, 0.15);
}

.oit-filter-bar h3 {
    font-size: 1rem;
    color: #333;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.oit-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.oit-filter-btn {
    background: #f8f9fa;
    color: #555;
    border: 1px solid #dee2e6;
    padding: 0.45rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.25s ease;
}

.oit-filter-btn:hover {
    border-color: #dc143c;
    color: #dc143c;
}

.oit-filter-btn.active {
    background: linear-gradient(135deg, #dc143c 0%, #8b0000 100%);
    color: white;
    border-color: transparent;
}

.oit-filter-count {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: #666;
}

.oit-loading,
.oit-error {
    text-align: center;
    padding: 3rem 1rem;
    color: #666;
}

.oit-error {
    color: #b91c1c;
}

.gd-catalog-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #065f46;
    border: 1px solid #6ee7b7;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.dual-file-hint {
    display: inline-block;
    font-size: 0.75rem;
    color: #92400e;
    background: #fffbeb;
    border: 1px solid #fcd34d;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.data-link--pdf {
    background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
    color: white;
    border-color: #c2410c;
}

.data-link--pdf:hover:not(.is-disabled) {
    background: linear-gradient(135deg, #c2410c 0%, #b91c1c 100%);
    color: white;
    transform: translateY(-1px);
}

.data-link--excel {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: white;
    border-color: #166534;
}

.data-link--excel:hover:not(.is-disabled) {
    background: linear-gradient(135deg, #15803d 0%, #14532d 100%);
    color: white;
    transform: translateY(-1px);
}

.data-link.is-disabled {
    background: #e9ecef;
    color: #6c757d;
    border-color: #ced4da;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.85;
}

.data-item.is-hidden {
    display: none !important;
}

.data-category.is-section-empty .category-content {
    padding: 1rem 2rem;
}

.data-category.is-section-empty .oit-empty-section {
    color: #888;
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 768px) {
    .oit-filter-buttons {
        flex-direction: column;
    }

    .oit-filter-btn {
        width: 100%;
        text-align: center;
    }
}
