/* Sidebar */
.filter-sidebar {
    border-radius: 12px;
    transition: box-shadow 0.2s;
}

.filter-sidebar:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.10) !important;
}

.filter-title {
    font-size: 1.1rem;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.75rem;
}

/* Custom Checkbox Styling */
.filter-check .form-check-input {
    width: 1.15em;
    height: 1.15em;
    cursor: pointer;
    border: 2px solid #adb5bd;
    border-radius: 4px;
}

.filter-check .form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.filter-check .form-check-label {
    cursor: pointer;
    font-size: 0.9rem;
}

/* Dataset cards */
.dataset-card {
    border-radius: 10px;
    transition: transform 0.18s, box-shadow 0.18s;
}

.dataset-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10) !important;
}

.dataset-card.hidden {
    display: none !important;
}

.dataset-cover {
    object-fit: cover;
    border-radius: 6px;
}

/* Mobile: collapse sidebar */
@media (max-width: 767px) {
    .filter-sidebar {
        position: static !important;
    }
}

.search-highlight {
    background-color: #fff3cd;
    color: #000;
    border-radius: 2px;
    padding: 0 2px;
    font-weight: 600;
}

/* ===== Dataset detail page ===== */
.dataset-hero {
    background: linear-gradient(135deg, rgba(4, 59, 71, .06), rgba(4, 59, 71, .14)) !important;
}

.dataset-glance-card {
    background: linear-gradient(135deg, rgba(4, 59, 71, .04), rgba(4, 59, 71, .09)) !important;
    border: none !important;
}

.dataset-section {
    border-left: 3px solid var(--primary, #043b47);
    padding-left: 1.25rem;
}

.dataset-sidebar-card {
    border-top: 4px solid var(--primary, #043b47) !important;
}

.btn-light-yellow {
    background-color: #fff3cd;
    border-color: #ffe69c;
    color: #664d03;
}

.btn-light-yellow:hover,
.btn-light-yellow:focus {
    background-color: #ffe69c;
    border-color: #ffda6a;
    color: #664d03;
}
