/* assets/css/dashboard.css */

body {
    background-color: #f1f5f9;
}

/* Tab Navigation Improvements */
#tabs-container {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* For Firefox */
}

#tabs-container::-webkit-scrollbar {
    display: none;
    /* For Chrome, Safari, and Opera */
}

.tab-btn {
    transition: all 0.3s ease;
    padding: 1rem 1.5rem;
    font-weight: 700;
    color: #475569;
    border-bottom: 4px solid transparent;
    white-space: nowrap;
    /* Prevent text from wrapping */
    flex-shrink: 0;
    /* Prevent buttons from shrinking */
}

.tab-btn.active {
    color: #0d9488;
    border-bottom-color: #0d9488;
    background-color: #f0fdfa;
}

/* Content Fade-in Animation */
.content-section {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.content-section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Chart Container */
.chart-container {
    position: relative;
    margin: auto;
    height: 40vh;
    max-height: 400px;
    width: 100%;
    max-width: 800px;
}

/* General Stat Card */
.stat-card {
    background-color: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* Section Titles */
.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 2rem;
}

/* Model Explorer Specifics */
.model-category-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #334155;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.model-card.hidden,
.model-category-title.hidden {
    display: none;
}

.model-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Country Card List Style */
.country-card ul {
    list-style: none;
    padding: 0;
}

.country-card li {
    position: relative;
    padding-right: 1.75rem;
    margin-bottom: 0.5rem;
}

.country-card li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 4px;
    color: #10b981;
}