:root {
    --primary-indigo: #0ea5e9;
    --primary-bright: #38bdf8;
    --primary-dark: #0369a1;
    --accent-gold: #f97316;
    --bg-dark: #071221;
    --card-glass: rgba(255, 255, 255, 0.04);
    --border-glass: rgba(14, 165, 233, 0.15);
    --text-main: #f0f9ff;
    --text-muted: #7dd3fc;
    --danger: #ef4444;
    --success: #10b981;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background-image:
        radial-gradient(circle at 10% 10%, rgba(14, 165, 233, 0.18) 0%, transparent 45%),
        radial-gradient(circle at 90% 85%, rgba(249, 115, 22, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(3, 105, 161, 0.08) 0%, transparent 60%);
}

/* --- UTILITIES --- */
.glass {
    background: var(--card-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 1.5rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.animate-fade {
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fw-bold {
    font-weight: 700;
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-danger {
    color: var(--danger) !important;
}

.text-success {
    color: var(--success) !important;
}

.text-primary-indigo {
    color: var(--primary-indigo) !important;
}

.small {
    font-size: 0.85rem;
}

/* --- PAGES --- */
.page {
    display: none;
    flex-direction: column;
    height: 100%;
    width: 100%;
    padding: 2rem;
    align-items: center;
    justify-content: center;
}

.active-page {
    display: flex;
}

/* --- LOGIN CARD --- */
.auth-card {
    width: 100%;
    max-width: 420px;
    padding: 3.5rem 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.brand-logo {
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.2));
    animation: float 4s ease-in-out infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -1.5px;
    background: linear-gradient(135deg, #fff 0%, #7dd3fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1rem;
    line-height: 1.5;
}

.form-group {
    width: 100%;
    text-align: left;
    margin-bottom: 1.75rem;
}

label {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

input,
textarea {
    width: 100%;
    padding: 1.125rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    color: white;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-indigo);
    background: rgba(14, 165, 233, 0.06);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

.password-wrapper {
    position: relative;
    width: 100%;
    display: block;
}

.password-toggle-icon {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.2s;
    font-size: 1.1rem;
    z-index: 50;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle-icon:hover {
    color: white;
}

.password-wrapper input {
    padding-right: 3.5rem !important;
}


.btn {
    width: 100%;
    padding: 1.125rem;
    border-radius: 1rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.btn-primary {
    background: linear-gradient(135deg, #0ea5e9, #0369a1);
    color: white;
    box-shadow: 0 4px 20px -1px rgba(14, 165, 233, 0.45);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -1px rgba(14, 165, 233, 0.55);
    filter: brightness(1.1);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger), #dc2626);
    color: white;
    box-shadow: 0 4px 20px -1px rgba(239, 68, 68, 0.4);
    border: none;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -1px rgba(239, 68, 68, 0.5);
    filter: brightness(1.1);
}

.btn-danger:active {
    transform: translateY(0);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

.role-switch {
    margin-top: 2.5rem;
    font-size: 0.9rem;
    color: #64748b;
}

.role-switch span {
    color: var(--primary-indigo);
    cursor: pointer;
    font-weight: 700;
    transition: color 0.2s;
}

.role-switch span:hover {
    color: var(--primary-bright);
    text-decoration: underline;
}

/* --- FRESH LOGIN EXPERIENCE --- */
.login-body {
    min-height: 100vh;
    height: auto;
    overflow: auto;
    color: #16233f;
    background:
        radial-gradient(circle at 8% 12%, rgba(255, 215, 137, 0.74) 0, rgba(255, 215, 137, 0) 22rem),
        radial-gradient(circle at 90% 84%, rgba(126, 211, 244, 0.58) 0, rgba(126, 211, 244, 0) 25rem),
        linear-gradient(135deg, #edf9ff 0%, #f9fcff 48%, #fff7e6 100%);
}

.login-body .page {
    min-height: 100vh;
    height: auto;
    padding: 2rem;
}

.login-shell {
    width: min(100%, 1040px);
    min-height: 590px;
    display: grid;
    grid-template-columns: 1.06fr 0.94fr;
    overflow: hidden;
    border: 1px solid rgba(35, 79, 137, 0.12);
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 28px 65px rgba(38, 91, 138, 0.18);
}

.login-showcase {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 3.4rem;
    color: #fff;
    background: linear-gradient(145deg, #0a3f78 0%, #086baf 55%, #23a8d5 100%);
}

.login-showcase::before,
.login-showcase::after {
    position: absolute;
    content: '';
    border-radius: 50%;
    pointer-events: none;
}

.login-showcase::before {
    width: 24rem;
    height: 24rem;
    right: -9rem;
    bottom: -10rem;
    border: 1.8rem solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 2.8rem rgba(255, 255, 255, 0.05), 0 0 0 5rem rgba(255, 255, 255, 0.04);
}

.login-showcase::after {
    width: 10rem;
    height: 10rem;
    top: -5rem;
    right: 2rem;
    background: #ffcb65;
    opacity: 0.18;
}

.showcase-top,
.showcase-footer {
    position: relative;
    z-index: 1;
}

.showcase-pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .52rem .85rem;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    background: rgba(255, 255, 255, .11);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .04em;
}

.login-body .brand-logo {
    width: 5.2rem;
    height: 5.2rem;
    margin: 2.2rem 0 1.25rem;
    padding: .5rem;
    border-radius: 1.35rem;
    background: #fff;
    box-shadow: 0 12px 25px rgba(0, 34, 84, .2);
    animation: none;
}

.login-body .brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.showcase-school {
    margin-bottom: .85rem;
    color: rgba(255, 255, 255, .76);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .13em;
}

.login-body .login-showcase h1 {
    margin: 0 0 1rem;
    color: #fff;
    background: none;
    -webkit-text-fill-color: currentColor;
    font-size: clamp(2rem, 3.1vw, 3rem);
    line-height: 1.12;
    letter-spacing: -.055em;
}

.login-showcase h1 em { color: #ffd375; font-style: normal; }

.showcase-copy {
    max-width: 26rem;
    color: rgba(255, 255, 255, .8);
    font-size: .98rem;
    line-height: 1.65;
}

.showcase-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem;
    color: rgba(255, 255, 255, .82);
    font-size: .78rem;
    font-weight: 600;
}

.showcase-footer i { margin-right: .35rem; color: #ffd375; }

.login-body .auth-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: auto;
    max-width: none;
    padding: 3.4rem;
    text-align: left;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.mobile-brand-logo { display: none !important; }

.form-kicker {
    margin-bottom: .8rem;
    color: #1683ba;
    font-size: .73rem;
    font-weight: 800;
    letter-spacing: .14em;
}

.login-body .auth-card h2 {
    margin: 0 0 .65rem;
    color: #15294a;
    font-size: 2rem;
    letter-spacing: -.045em;
}

.login-body .subtitle {
    margin-bottom: 2.1rem;
    color: #687891;
    font-size: .94rem;
    line-height: 1.55;
}

.login-body .form-group { margin-bottom: 1.25rem; }

.login-body label {
    margin-bottom: .55rem;
    color: #405370;
    font-size: .69rem;
    letter-spacing: .075em;
}

.login-body label i { margin-right: .3rem; color: #1499ca; }

.login-body input {
    padding: 1rem 1.05rem;
    border: 1px solid #dce5ef;
    border-radius: .85rem;
    background: #f9fbfd;
    color: #20324d;
    box-shadow: none;
}

.login-body input::placeholder { color: #9ba9ba; }

.login-body input:focus {
    border-color: #37add4;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(30, 163, 207, .12);
}

.login-body .btn { margin-top: .7rem; padding: 1rem; border-radius: .85rem; }

.login-body .btn-primary {
    background: linear-gradient(105deg, #0875b6, #16a6ca);
    box-shadow: 0 10px 20px rgba(11, 132, 187, .22);
}

.login-body .btn-primary:hover { box-shadow: 0 14px 26px rgba(11, 132, 187, .3); }

.login-body .password-toggle-icon { color: #7390ab; }
.login-body .password-toggle-icon:hover { color: #0875b6; }

.login-body .role-switch {
    margin-top: 2rem;
    color: #718097;
    font-size: .84rem;
}

.login-body .role-switch > i { margin-right: .3rem; color: #d4972e; }
.login-body .role-switch span { color: #087dbb; }

@media screen and (max-width: 760px) {
    .login-body .page { padding: 1rem; }
    .login-shell { display: block; min-height: 0; border-radius: 1.45rem; }
    .login-showcase { display: none; }
    .login-body .auth-card { padding: 2.25rem 1.5rem; }
    .login-body .mobile-brand-logo { display: flex !important; width: 4.4rem; height: 4.4rem; margin: 0 0 1.55rem; }
    .login-body .auth-card h2 { font-size: 1.7rem; }
}

/* --- ADMIN DASHBOARD --- */
#admin-page .glass {
    width: 100%;
    max-width: 1000px;
    padding: 3rem;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 1.5rem;
}

/* --- EXAM VIEW --- */
#exam-page {
    padding: 0;
    background: #fff;
    align-items: stretch;
    justify-content: flex-start;
    height: 100vh;
}

.exam-header {
    min-height: 75px;
    width: 100%;
    background: linear-gradient(90deg, rgba(3, 45, 80, 0.97) 0%, rgba(7, 18, 33, 0.97) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 2rem;
    border-bottom: 2px solid rgba(14, 165, 233, 0.3);
    box-shadow: 0 4px 24px rgba(14, 165, 233, 0.08);
    z-index: 100;
    flex-wrap: wrap;
    gap: 1rem;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.timer-box {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fb923c;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 1px;
    background: rgba(249, 115, 22, 0.1);
    padding: 0.25rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(249, 115, 22, 0.3);
    text-shadow: 0 0 12px rgba(251, 146, 60, 0.5);
}

.exam-container {
    flex: 1;
    width: 100%;
    position: relative;
    background: #fff;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Dashboard Layout */
.dashboard-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.sidebar {
    width: 280px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 2rem 1rem;
    position: sticky;
    top: 0;
    border-right: 1px solid var(--border-glass);
    background: rgba(255, 255, 255, 0.03);
    z-index: 100;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem 2rem 1rem;
    font-size: 1.25rem;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-item i {
    width: 20px;
    text-align: center;
}

.nav-item:hover,
.nav-item.active {
    background: rgba(14, 165, 233, 0.12);
    color: white;
}

.nav-item.active {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.22), rgba(249, 115, 22, 0.12));
    border: 1px solid rgba(14, 165, 233, 0.35);
    color: #38bdf8;
}

.main-content {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.animate-fade {
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- MODALS --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 12, 30, 0.88);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.modal-card {
    width: 90%;
    max-width: 480px;
    padding: 3.5rem 2.5rem;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* --- MOBILE RESPONSIVENESS --- */
@media screen and (max-width: 1024px) {
    .sidebar {
        width: 240px;
    }
}

@media screen and (max-width: 768px) {
    body {
        overflow-x: hidden;
        overflow-y: auto;
        height: auto;
        min-height: 100vh;
    }

    .dashboard-container {
        flex-direction: column;
    }

    .sidebar {
        position: fixed;
        left: -280px;
        top: 0;
        width: 280px;
        height: 100vh;
        background: rgba(4, 20, 45, 0.98);
        backdrop-filter: blur(20px);
        box-shadow: 20px 0 50px rgba(14, 165, 233, 0.15);
        transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        overflow-y: auto;
    }

    .sidebar.mobile-active {
        left: 0;
    }

    .main-content {
        padding: 1rem;
        padding-top: 90px;
        width: 100%;
        box-sizing: border-box;
    }

    .mobile-header {
        display: flex !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 70px;
        background: rgba(4, 20, 45, 0.92);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(14, 165, 233, 0.2);
        z-index: 900;
        align-items: center;
        padding: 0 1.5rem;
        justify-content: space-between;
        box-sizing: border-box;
    }

    #menuToggle {
        background: var(--primary-indigo);
        border: none;
        color: white;
        width: 45px;
        height: 45px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 1.25rem;
        box-shadow: 0 4px 12px rgba(14, 165, 233, 0.35);
    }

    [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .glass {
        padding: 1.5rem !important;
    }

    .admin-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .glass[style*="overflow-y: auto"] {
        overflow-x: auto !important;
    }

    table {
        min-width: 600px;
    }

    .modal-card {
        padding: 1.5rem !important;
        width: 95% !important;
        max-width: none !important;
    }

    .auth-card {
        padding: 2rem 1.25rem;
        width: 95%;
        max-width: none;
    }

    h1 {
        font-size: 1.5rem;
    }

    /* Exam Header Mobile Optimizations */
    .exam-header {
        padding: 0.75rem 1rem;
        gap: 0.5rem;
        justify-content: center;
    }

    .exam-header>div:first-child {
        text-align: center;
        width: 100%;
    }

    .timer-box {
        font-size: 1.4rem;
        padding: 0.2rem 0.75rem;
    }

    .header-controls {
        width: 100%;
        justify-content: center;
        gap: 0.75rem;
        background: rgba(0, 0, 0, 0.2);
        padding: 0.5rem;
        border-radius: 1rem;
        display: flex;
        align-items: center;
    }

    #violationStatus {
        display: flex !important;
        font-size: 1.1rem !important;
        background: rgba(255, 255, 255, 0.1);
        padding: 0.35rem 0.75rem;
        border-radius: 2rem;
    }

    #violationStatus .status-text {
        display: none;
    }

    #finishExamBtn {
        padding: 0.6rem !important;
        border-radius: 50% !important;
        width: 45px !important;
        height: 45px !important;
        background: var(--danger) !important;
        color: white !important;
        border: none !important;
        box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    }

    #finishExamBtn .btn-text {
        display: none;
    }

    #finishExamBtn i {
        font-size: 1.1rem;
        margin: 0;
    }

    #activeExamTitle {
        font-size: 0.95rem;
        line-height: 1.2;
        margin-top: 0.2rem;
    }
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: none;
    z-index: 950;
}

.sidebar-overlay.active {
    display: block;
}

.mobile-header {
    display: none;
}

/* Toggle Switch */
.toggle-switch {
    width: 60px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.toggle-switch.active {
    background: var(--success);
    border-color: var(--success);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.toggle-knob {
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toggle-switch.active .toggle-knob {
    left: 32px;
}

#alert-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
    max-width: 420px;
}

.alert-toast {
    pointer-events: auto;
    padding: 1.125rem 1.5rem;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: rgba(15, 23, 42, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.25rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    animation: alertSlideIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.alert-content {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.alert-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 0 8px currentColor);
}

.alert-message {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--text-main);
}

.alert-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
}

.alert-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, transparent, currentColor);
    animation: progress linear forwards;
}

/* Status Styles */
.alert-toast.success {
    border-bottom: 3px solid var(--success);
    color: var(--success);
}

.alert-toast.error {
    border-bottom: 3px solid var(--danger);
    color: var(--danger);
}

.alert-toast.info {
    border-bottom: 3px solid #0ea5e9;
    color: #38bdf8;
}

.alert-toast.warning {
    border-bottom: 3px solid #f97316;
    color: #fb923c;
}

@keyframes alertSlideIn {
    from {
        transform: translateX(110%) scale(0.8);
        opacity: 0;
    }

    to {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

@keyframes progress {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

.animate-scale-in {
    animation: scaleIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.animate-fade-out {
    animation: fadeOut 0.3s forwards;
}

@keyframes scaleIn {
    from {
        transform: scale(0.85) translateY(20px);
        opacity: 0;
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}
