/* USACollegeData - Custom Styles */

/* Glass morphism pill (used in hero sections) */
.glass-pill {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hero gradient */
.hero-gradient {
    background: linear-gradient(135deg, #1f3b61 0%, #0d9488 100%);
}

.hero-dark {
    background-color: #0f4c5c;
}

/* Stat cards in hero (dark background) */
.stat-card-hero {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Ad slots */
.ad-slot {
    margin: 1rem auto;
    text-align: center;
    max-width: 728px;
}

/* Comparison bar indicator */
.comparison-bar {
    height: 8px;
    border-radius: 9999px;
    transition: width 0.6s ease;
}

/* Smooth scroll for anchor links */
html {
    scroll-behavior: smooth;
}

/* Search results dropdown animation */
#search-results:not(.hidden) {
    animation: slideDown 0.15s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FAQ accordion animation */
.faq-content {
    transition: max-height 0.3s ease;
}

/* Tab active state underline */
.tab-active {
    border-bottom: 2px solid #0d9488;
    color: #0d9488;
}

/* Chart container */
.chart-container {
    position: relative;
    width: 100%;
    height: 256px;
}

/* Print styles */
@media print {
    nav, footer, .ad-slot, #search-container {
        display: none !important;
    }
    main {
        padding: 0 !important;
    }
}
