:root {
    --color-primary: #003b94;
    --color-primary-light: #466fcf;
    --color-accent: #ce1c3c;
    --color-text-dark: #1e293b;
    --color-text-light: #64748b;
    --color-bg: #f8fafc;
    --color-white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--color-bg);
    /* Subtle gradient background */
    background: linear-gradient(135deg, #f0f4ff 0%, #e2e8f0 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.login-container {
    width: 100%;
    max-width: 450px;
}

.login-card {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-lg);
    border-top: 5px solid var(--color-primary);
    transition: transform 0.3s ease;
}

.login-card:hover {
    transform: translateY(-5px);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 10px rgba(0, 59, 148, 0.3);
}

.login-header h2 {
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.login-header p {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-text-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.input-field {
    position: relative;
    display: flex;
    align-items: center;
}

.input-field i {
    position: absolute;
    left: 1rem;
    color: var(--color-primary-light);
}

.input-field input,
.input-field select {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
    appearance: none;
    /* Remove default arrow for custom styling if needed, or keep for simplicity */
    background-color: white;
    /* Ensure white bg */
}

.input-field input:focus,
.input-field select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(0, 59, 148, 0.1);
}

.input-field .toggle-password {
    left: auto;
    right: 1rem;
    cursor: pointer;
    color: var(--color-text-light);
    transition: color 0.3s ease;
}

.input-field .toggle-password:hover {
    color: var(--color-primary);
}

.form-actions {
    display: flex;
    justify-content: center;
    /* Centered */
    align-items: center;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.remember-me input {
    accent-color: var(--color-primary);
    width: 16px;
    height: 16px;
}

.forgot-password {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #a0152e;
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 0.85rem;
    background: linear-gradient(to right, var(--color-primary), var(--color-primary-light));
    color: var(--color-white);
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(70, 111, 207, 0.3);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(70, 111, 207, 0.4);
}

.login-btn:active {
    transform: translateY(0);
}

.login-footer {
    text-align: center;
    margin-top: 2rem;
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.login-footer a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

.login-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .login-card {
        padding: 1.5rem;
        border-radius: 1rem;
    }

    .login-header h2 {
        font-size: 1.5rem;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    /* Scrollbar belongs to overlay */
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;

    /* Flexbox for centering context */
    align-items: flex-start;
    /* Align start to allow scroll from top */
    justify-content: center;
}

.modal.show {
    opacity: 1;
    display: flex;
}

.modal-content {
    background-color: #fefefe;
    margin: 3rem auto;
    /* Auto margin centers horizontally and provides safe vertical spacing */
    padding: 2.5rem;
    border: 1px solid #888;
    width: 60%;
    /* Desktop width */
    max-width: 1200px;
    /* Reasonable cap for very large screens */
    border-radius: 1.5rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 15px;
    right: 20px;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--color-accent);
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-header .icon-circle {
    width: 50px;
    height: 50px;
    background-color: rgba(70, 111, 207, 0.1);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
}

.modal-header h3 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.modal-header p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* --- Dashboard & Navbar Styles --- */

.dashboard-body {
    display: block;
    /* Override flex execution from body */
    background: #f1f5f9;
}

.navbar {
    background-color: var(--color-white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0 1.5rem;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-primary);
}

.logo-icon-small {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--color-text-light);
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.avatar {
    width: 35px;
    height: 35px;
    background-color: #e2e8f0;
    color: var(--color-text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.username {
    font-weight: 600;
    color: var(--color-text-dark);
    font-size: 0.9rem;
}

.logout-btn {
    background: none;
    border: none;
    color: var(--color-accent);
    cursor: pointer;
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.logout-btn:hover {
    transform: scale(1.1);
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--color-text-dark);
    cursor: pointer;
}

/* Dashboard Content */
.dashboard-content {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.welcome-banner {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: white;
    padding: 2rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.welcome-banner h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.card {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.card h3 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.card p {
    color: var(--color-text-light);
    font-size: 0.9rem;
}


/* --- Submenu Styles --- */

.nav-item {
    position: relative;
    /* For absolute positioning of dropdown on desktop */
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-white);
    box-shadow: var(--shadow-lg);
    border-radius: 0.5rem;
    padding: 0.5rem 0;
    min-width: 200px;
    z-index: 200;
    list-style: none;
    animation: fadeIn 0.2s ease;
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--color-text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dropdown-menu li a:hover {
    background-color: #f1f5f9;
    color: var(--color-primary);
}

.dropdown-arrow {
    font-size: 0.8em;
    margin-left: auto;
    /* Push to right if flex */
    transition: transform 0.3s ease;
}

/* Desktop Hover Effect */
@media (min-width: 769px) {
    .nav-item:hover .dropdown-menu {
        display: block;
    }

    .nav-item:hover .dropdown-arrow {
        transform: rotate(180deg);
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Mobile User Section Hidden on Desktop */
.mobile-user-section {
    display: none;
}

/* Updated Mobile Styles */
@media (max-width: 768px) {
    .mobile-user-section {
        display: flex;
        /* Show on mobile */
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: 0;
        top: 70px;
        /* Navbar height */
        /* height: calc(100vh - 70px); Optional: Full height */
        flex-direction: column;
        background-color: white;
        width: 100%;
        /* Full Width */
        text-align: center;
        /* Align text left usually better for submenus */
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        gap: 0;
        /* Remove gap, use padding on items */
        overflow-y: auto;
        /* Scrollable if long */

        /* Hidden State */
        transform: translateY(-150%);
        opacity: 0;
        z-index: -1;
        /* Behind navbar */
    }

    .nav-menu.active {
        /* Active State */
        transform: translateY(0);
        opacity: 1;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid #f1f5f9;
        display: flex;
        flex-direction: column;
        /* Allow submenu to flow below */
    }

    .nav-link {
        padding: 1rem 2rem;
        width: 100%;
        display: flex;
        justify-content: flex-start;
        /* Reset justification */
        align-items: center;
        /* Vertical center */
    }

    .dropdown-arrow {
        margin-left: auto;
        /* Push arrow to the far right */
    }

    /* Mobile Submenu */
    .dropdown-menu {
        position: static;
        /* Relative flow for mobile */
        box-shadow: none;
        background-color: #f8fafc;
        /* Slightly different bg */
        width: 100%;
        padding: 0;
        display: none;
        /* JS will toggle this */
    }

    .dropdown-menu.show {
        display: block;
    }

    .dropdown-menu li a {
        padding-left: 3rem;
        /* Indentation */
    }

    .user-actions {
        display: none;
        /* Hide desktop user actions */
    }

    /* Mobile User Section Styles */
    .mobile-user-section {
        margin-top: auto;
        /* Push to bottom if flex column has height, else just sits at bottom */
        border-top: 1px solid #e2e8f0;
        padding: 1.5rem 2rem;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        background-color: #f8fafc;
    }

    .user-profile-mobile {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        color: var(--color-text-dark);
        font-weight: 600;
    }

    .avatar-small {
        width: 32px;
        height: 32px;
        background-color: #e2e8f0;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--color-text-light);
        font-size: 0.9rem;
    }

    .logout-btn-mobile {
        background: none;
        border: 1px solid var(--color-accent);
        color: var(--color-accent);
        padding: 0.5rem;
        border-radius: 0.5rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        font-weight: 500;
        transition: all 0.2s;
        width: 100%;
    }

    .logout-btn-mobile:hover {
        background-color: var(--color-accent);
        color: white;
    }

    .modal-content {
        width: 96%;
        /* Mobile width */
        margin: 1rem auto;
        padding: 1.5rem;
    }
}

/* --- Users Page Styles --- */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.page-header h1 {
    font-size: 1.8rem;
    color: var(--color-primary);
}

.page-header p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.action-btn {
    padding: 0.75rem 1.5rem;
    background-color: var(--color-accent);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(206, 28, 60, 0.2);
}

.action-btn:hover {
    background-color: #a0152e;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(206, 28, 60, 0.3);
}

.user-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.user-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.user-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary-light);
}

.card-header-user {
    padding: 1.5rem;
    background: linear-gradient(to right, #f8fafc, #fff);
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.avatar-large {
    width: 50px;
    height: 50px;
    background-color: #e0e7ff;
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.user-info h3 {
    font-size: 1.1rem;
    color: var(--color-text-dark);
    margin-bottom: 0.25rem;
}

.role-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-weight: 600;
    text-transform: uppercase;
}

.role-admin {
    background-color: #dbeafe;
    color: #1e40af;
}

.role-editor {
    background-color: #fae8ff;
    color: #86198f;
}

.role-user {
    background-color: #f1f5f9;
    color: #475569;
}

.card-body-user {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.card-body-user p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.card-actions {
    padding: 1rem 1.5rem;
    background-color: #f8fafc;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.btn-icon {
    width: 32px;
    height: 32px;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-edit {
    background-color: #dbeafe;
    color: #1d4ed8;
}

.btn-edit:hover {
    background-color: #bfdbfe;
}

.btn-delete {
    background-color: #fee2e2;
    color: #ef4444;
}

.btn-delete:hover {
    background-color: #fecaca;
}

/* --- Asistentes Page Styles --- */

.search-container {
    margin-bottom: 2rem;
}

.search-box {
    background: white;
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    max-width: 500px;
}

.search-box i {
    color: var(--color-text-light);
    margin-right: 1rem;
}

.search-box input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 1rem;
    color: var(--color-text-dark);
}

/* Premium Table Styles */
.table-container {
    background: transparent;
    border-radius: 1.5rem;
    box-shadow: none;
    overflow-x: auto;
    padding: 0.5rem 0;
    /* Adjust padding since no container box */
}

.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.75rem;
    /* Space between rows */
    min-width: 800px;
}

.data-table thead tr {
    background: transparent;
    box-shadow: none;
}

.data-table th {
    padding: 1rem 1.5rem;
    text-align: left;
    background-color: var(--color-primary);
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
}

.data-table th:first-child {
    border-top-left-radius: 0.75rem;
    border-bottom-left-radius: 0.75rem;
}

.data-table th:last-child {
    border-top-right-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
}

.data-table transition-all {
    transition: all 0.2s ease;
}

.data-table tbody tr {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    border-radius: 1rem;
    transition: all 0.2s ease;
}

.data-table td {
    padding: 1.25rem 1.5rem;
    background-color: transparent;
    border-top: 1px solid #f8fafc;
    border-bottom: 1px solid #f8fafc;
    vertical-align: middle;
}

.data-table td:first-child {
    border-top-left-radius: 1rem;
    border-bottom-left-radius: 1rem;
    border-left: 1px solid #f8fafc;
}

.data-table td:last-child {
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
    border-right: 1px solid #f8fafc;
}

.data-table tbody tr:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 59, 148, 0.08);
    /* Lift effect */
    background-color: white !important;
    z-index: 10;
    position: relative;
}

.avatar-table {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #e0e7ff, #dae4ff);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.avatar-table img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.table-actions {
    display: flex;
    gap: 0.5rem;
}

/* Enhanced Buttons for Table */
.data-table .btn-icon {
    width: 34px;
    height: 34px;
    border-radius: 0.75rem;
}

.data-table .btn-icon:hover {
    transform: scale(1.1);
}

/* Form Grid for Modal */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.input-group.full-width {
    grid-column: 1 / -1;
}

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* Camera Styles */
.camera-controls {
    margin-bottom: 1rem;
}

.secondary-btn {
    padding: 0.75rem 1.5rem;
    background-color: white;
    border: 1px solid #e2e8f0;
    color: var(--color-text-dark);
    border-radius: 0.75rem;
    cursor: pointer;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.secondary-btn:hover {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
}

.camera-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    border-radius: 1rem;
    overflow: hidden;
    background: #000;
    margin-bottom: 1rem;
}

#cameraStream {
    width: 100%;
    display: block;
}

.camera-actions {
    position: absolute;
    bottom: 1rem;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.photo-preview {
    margin-top: 1rem;
    text-align: center;
}

.photo-preview img {
    max-width: 150px;
    border-radius: 1rem;
    border: 2px solid #e2e8f0;
    box-shadow: var(--shadow-sm);
}

/* Dashboard Specific Styles */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.stats-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    transition: transform 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
}

.stats-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--color-primary), #1e40af);
    color: white;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 59, 148, 0.2);
}

.stats-info h3 {
    font-size: 1rem;
    color: var(--color-text-light);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.stats-number {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-text-dark);
}

.chart-card {
    grid-column: span 2;
    padding: 1.5rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
}

.chart-card h3 {
    margin-bottom: 1.5rem;
    color: var(--color-text-dark);
    font-size: 1.1rem;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .chart-card {
        grid-column: span 1;
    }
}