/* components.css - Component Styles
   Contents:
   1. Header / Navbar
   2. Sidebar / Mobile Menu
   3. User Dashboard
   4. Library Grid
   5. Modals (Auth, Payment, Feedback)
   6. Toasts & Alerts
   7. Email Templates & Progress
   8. Utilities (Scroll Top, etc.)
*/

/* -------------------------------------------------------------------------- */
/*                               1. HEADER / NAVBAR                           */
/* -------------------------------------------------------------------------- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    background: var(--header-bg);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(4px);
    border-bottom: 1px solid var(--glass-border);
    min-height: 80px;
    display: flex;
    align-items: center;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
}

.header-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}

.header-brand:hover {
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.header-brand-logo {
    height: 40px;
    width: auto;
}

.header-brand-logo--light {
    display: none;
}

html.theme-light .header-brand-logo--light {
    display: block;
}

html.theme-light .header-brand-logo--dark {
    display: none;
}

/* Nav (Desktop) */
.header-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 50px;
    transition: all 0.2s ease;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-main);
    background: var(--hover-bg);
}

.nav-link.active {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}

.nav-link.active .nav-link-icon {
    color: var(--text-main);
    opacity: 1;
}

.nav-link-inner {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link-icon {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Dropdowns */
.nav-item-has-dropdown {
    position: relative;
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 10px;
    min-width: 200px;
    padding: 8px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.7);
    display: none;
    z-index: 2100;
}

.nav-item-has-dropdown:hover .nav-dropdown,
.nav-dropdown-open {
    background: var(--home-bg-secondary);
    display: block;
}

.nav-dropdown-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-dropdown-link:hover {
    background: rgba(148, 163, 184, 0.1);
    color: var(--text-main);
}

.nav-dropdown-icon,
.nav-icon-fixed {
    width: 20px;
    text-align: center;
}

/* Actions Area */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Button Icon (Circular) */
.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-icon:hover {
    background: var(--hover-bg);
    color: var(--text-main);
    box-shadow: 0 0 10px rgba(149, 149, 149, 0.3);
}

/* Theme Icons */
.icon-sun,
.icon-moon {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.icon-sun {
    color: #fbbf24;
}

.icon-moon {
    color: #94a3b8;
}

html.theme-light .icon-moon {
    color: #475569;
    display: block !important;
}

html.theme-light .icon-sun {
    display: none;
}

.btn-icon:hover .icon-sun {
    transform: rotate(45deg);
    color: #f59e0b;
}

.btn-icon:hover .icon-moon {
    transform: rotate(-15deg);
    color: #1e293b;
}

/* User Avatar Dropdown (Premium UI) */
.user-avatar-container {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--glass-border);
    transition: all 0.2s ease;
}

.user-avatar-initials {
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1;
    border: 2px solid var(--glass-border);
    border-radius: 50%;
    width: 40px;
    padding: 0;
    margin: 0;
}

.user-avatar-container:hover .user-avatar,
.user-avatar-container.active .user-avatar {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.user-avatar-container .dropdown-menu {
    position: absolute;
    top: 120%;
    right: 0;
    width: 280px;
    background: var(--home-bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.6);
    border-radius: 16px;
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
}

.user-avatar-container.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Premium Dropdown Internals */
.dropdown-header-premium {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 8px 12px 8px;
    margin-bottom: 0;
}

.dropdown-user-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
}

.dropdown-user-plan {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
}

.dropdown-status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

/* Credits Card */
.dropdown-credits-card {
    background: var(--home-bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 16px;
    margin: 4px 0 12px 0;
}

.dropdown-credits-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.d-credits-label {
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.d-credits-val {
    color: #fcd34d;
    font-weight: 700;
    font-family: 'Inter', monospace;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.dropdown-btn-upgrade-premium {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%);
    color: #000;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dropdown-btn-upgrade-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(245, 158, 11, 0.3);
    color: #000;
}

/* Nav Items */
.dropdown-nav-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dropdown-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.15s;
    font-weight: 500;
}

.dropdown-nav-item:hover {
    background: var(--glass-border);
    color: var(--text-main);
}

.dropdown-nav-item i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
    opacity: 0.8;
}

.dropdown-divider {
    height: 1px;
    border: 1px solid var(--glass-border);
    margin: 6px 0;
}

.item-logout:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Premium Sub Info (Restored Feature) */
.dropdown-sub-info-premium {
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    margin-top: 8px;
}

.d-sub-days {
    color: #818cf8;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.d-sub-days i {
    font-size: 0.9rem;
}

.d-sub-date {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* Credits Badge (Navbar) - Reduced usage if dropdown is prominent */
.credits-badge {
    padding: 8px 16px !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    height: auto !important;
    border-radius: 8px !important;
    display: none;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(99, 102, 241, 0.5);
    color: var(--text-main) !important;
    transition: all 0.2s;
    text-decoration: none;
    line-height: 1;
}

@media(min-width: 768px) {
    .credits-badge {
        display: inline-flex;
    }
}

.credits-badge:hover {
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

.credits-badge i,
.credits-badge svg {
    color: var(--text-main);
    font-size: 0.9rem;
    width: 16px;
    height: 16px;
}

/* Upgrade Button (Navbar) */
.btn-upgrade {
    display: none;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.4);
    text-decoration: none;
    transition: all 0.2s;
}

@media(min-width: 900px) {
    .btn-upgrade {
        display: inline-flex;
    }
}

.btn-upgrade:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.5);
    color: #fff;
}

/* Lang Switcher */
.lang-switch {
    display: none;
    position: relative;
}

@media(min-width: 900px) {
    .lang-switch {
        display: block;
    }
}

.btn-lang {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 8px;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    transition: color 0.2s;
}

.btn-lang:hover {
    color: var(--text-main);
}

.lang-arrow {
    font-size: 0.75rem;
    opacity: 0.7;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--home-bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 8px;
    display: none;
    min-width: 120px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.lang-dropdown::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}

.lang-switch:hover .lang-dropdown {
    display: block;
}

.lang-dropdown-link {
    display: block;
    padding: 6px 12px;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-radius: 4px;
}

.lang-dropdown-link:hover {
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}


/* -------------------------------------------------------------------------- */
/*                          2. SIDEBAR / MOBILE MENU                          */
/* -------------------------------------------------------------------------- */

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
}

/* Sidebar Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    z-index: 1990;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

/* Mobile Auth Button Container - Default Hidden on Desktop */
.mobile-menu-auth-container {
    display: none;
}

/* Only show on desktop if explicitly not suppressed (Safety rule default hidden) */
@media (min-width: 992px) {
    .mobile-menu-auth-container {
        display: none !important;
    }
}

/* Responsive Rules (Max Width 991px) */
@media (max-width: 991px) {
    .mobile-menu-toggle {
        display: inline-flex;
    }

    .header-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--home-bg);
        z-index: 2500;
        padding: 80px 20px 40px 20px;
        overflow-y: auto;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        border-left: 1px solid var(--glass-border);
        flex-direction: column;
        align-items: flex-start;
    }

    .header-nav.is-open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
        gap: 12px;
    }

    .nav-link {
        width: 100%;
        justify-content: flex-start;
        padding: 12px 16px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.03);
    }

    .nav-dropdown {
        position: static;
        width: 100%;
        margin-top: 5px;
        background: transparent;
        border: none;
        box-shadow: none;
        padding-left: 10px;
        display: none;
    }

    .nav-dropdown-open {
        display: block;
    }

    /* Mobile Auth Button Logic */
    .mobile-menu-auth-container {
        display: flex !important;
        width: 100%;
        margin-top: 24px;
        padding: 0 16px;
        position: relative;
        z-index: 100;
        justify-content: center;
    }

    .mobile-auth-btn {
        width: 100%;
        justify-content: center;
    }

    .desktop-auth-btns {
        display: none;
    }
}


/* -------------------------------------------------------------------------- */
/*                            3. USER DASHBOARD                               */
/* -------------------------------------------------------------------------- */

.user-page-container {
    padding-top: 120px;
    padding-bottom: 80px;
    max-width: 1000px;
    margin: 0 auto;
}

.user-page-header {
    margin-bottom: 40px;
    text-align: center;
}

.user-page-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.user-page-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.user-card {
    background: var(--home-bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
}

/* Empty State */
.empty-state {
    padding: 60px 20px;
    text-align: center;
    color: var(--text-muted);
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state-title {
    color: var(--text-main);
    margin-bottom: 8px;
}

.empty-state-action {
    margin-top: 20px;
}

/* Data Tables */
.table-responsive {
    overflow-x: auto;
}

.user-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.user-table th {
    padding: 16px 24px;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.02);
}

.user-table td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--glass-border);
    transition: background 0.2s;
}

.user-table-date {
    color: var(--text-main);
}

.user-table-time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.user-table-plan {
    font-weight: 600;
    color: var(--text-main);
}

.user-table-amount {
    font-family: monospace;
    font-size: 1.1rem;
    color: var(--text-main);
}

.user-table-ref {
    color: var(--text-muted);
    font-family: monospace;
    font-size: 0.85rem;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-paid {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.status-pending {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.status-icon {
    margin-right: 6px;
    font-size: 0.7rem;
}


/* -------------------------------------------------------------------------- */
/*                             4. LIBRARY GRID                                */
/* -------------------------------------------------------------------------- */

.library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    animation: fadeIn 0.5s ease-out;
}

.library-card {
    background: var(--home-bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    group: visible;
}

.library-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
    border-color: rgba(99, 102, 241, 0.3);
}

.library-img-wrapper {
    position: relative;
    padding-bottom: 100%;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.1);
}

.library-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.library-card:hover .library-img-wrapper img {
    transform: scale(1.05);
}

.library-overlay {
    position: absolute;
    inset: 0;
    background: var(--home-bg-secondary);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    opacity: 0;
    transition: all 0.3s ease;
}

.library-card:hover .library-overlay {
    opacity: 1;
}

.library-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.2s;
    text-decoration: none;
}

.library-btn:hover {
    background: white;
    color: var(--bg-body);
    transform: scale(1.1);
}

.btn-delete:hover {
    background: var(--error);
    border-color: var(--error);
    color: white;
}

.library-info {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--glass-border);
}

.library-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Tool Badges */
.tool-badge {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary {
    background: rgba(99, 102, 241, 0.1);
    color: #818cf8;
}

.badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
}

.badge-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #fbbf24;
}

@media (max-width: 768px) {
    .library-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 16px;
    }
}


/* -------------------------------------------------------------------------- */
/*                                5. MODALS                                   */
/* -------------------------------------------------------------------------- */

/* --- AUTH MODAL --- */
.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.auth-modal-overlay.active,
.auth-modal-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
    overflow-y: auto;
}

.auth-modal {
    background: var(--home-bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    width: 100%;
    max-width: 420px;
    padding: 32px;
    position: relative;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.auth-modal-overlay.active .auth-modal,
.auth-modal-overlay.is-visible .auth-modal {
    transform: scale(1) translateY(0);
}

.auth-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.2s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.auth-modal.view-verify-active .auth-modal-close {
    display: none !important;
}

.auth-modal-close:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

/* Auth Content */
.auth-header {
    text-align: center;
    margin-bottom: 24px;
}

.auth-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
}

.auth-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.auth-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px;
    border-radius: 10px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
}

.auth-tab-btn.active {
    background: var(--bg-card);
    color: var(--text-main);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.auth-view {
    display: none;
    animation: fadeIn 0.3s ease;
}

.auth-view.active {
    display: block;
}

/* Social Login */
.auth-google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    background: white;
    color: #444;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-weight: 600;
    margin-bottom: 12px;
    transition: all 0.2s;
    cursor: pointer;
    font-size: 0.95rem;
}

.auth-google-btn:hover {
    background: #f8fafc;
    border-color: #ccc;
    transform: translateY(-1px);
}

.auth-google-btn i {
    margin-right: 10px;
    font-size: 1.1rem;
    color: #444;
}

.auth-google-btn img {
    margin-right: 10px;
}

/* Auth Wrapper (Full Page) */
.auth-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--header-height));
    padding: 40px 20px;
}

.auth-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    width: 100%;
    max-width: 420px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.auth-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-align: center;
}

.auth-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.auth-footer,
.auth-switch-text {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 24px;
}

.auth-footer a,
.auth-switch-text a {
    color: var(--primary);
    font-weight: 600;
}

.auth-switch-text a:hover {
    text-decoration: underline;
}

.auth-divider {
    display: flex;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 16px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--glass-border);
}

.auth-divider::before {
    margin-right: 12px;
}

.auth-divider::after {
    margin-left: 12px;
}

.auth-terms {
    margin-top: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.4;
}

.auth-terms a {
    color: var(--text-main);
    text-decoration: underline;
}

/* --- PAYMENT MODAL --- */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.payment-method-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
}

.payment-method-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

.payment-method-btn span {
    flex: 1;
    margin-left: 16px;
}

.payment-icon {
    width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.payment-method-btn:hover .payment-icon {
    color: var(--text-main);
}

.payment-method-btn .arrow {
    opacity: 0.5;
    transition: transform 0.2s;
    font-size: 0.9rem;
}

.payment-method-btn:hover .arrow {
    opacity: 1;
    transform: translateX(4px);
    color: var(--primary);
}

.auth-footer-text {
    text-align: center;
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.modal-content-sm {
    max-width: 400px;
    text-align: center;
}

.modal-icon-error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
    margin: 0 auto 20px;
}

/* --- FEEDBACK MODAL --- */
.feedback-modal {
    max-width: 400px;
    text-align: center;
}

.feedback-header {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.feedback-text {
    margin-bottom: 20px;
}

.feedback-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 20px;
}

.feedback-btn-good {
    border-color: #10b981;
    color: #10b981;
}

.feedback-btn-good:hover {
    background: rgba(16, 185, 129, 0.1);
}

.feedback-btn-bad {
    border-color: #ef4444;
    color: #ef4444;
}

.feedback-btn-bad:hover {
    background: rgba(239, 68, 68, 0.1);
}

.feedback-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    opacity: 0.8;
}

.feedback-bad-container {
    margin-top: 15px;
}

.feedback-textarea {
    width: 100%;
    margin-bottom: 10px;
    font-size: 0.9rem;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid var(--glass-border);
    background: var(--bg-main);
    color: var(--text-main);
}

.feedback-textarea:focus {
    border-color: var(--primary);
    outline: none;
}

.feedback-submit-btn {
    width: 100%;
}


/* -------------------------------------------------------------------------- */
/*                            6. TOASTS & ALERTS                              */
/* -------------------------------------------------------------------------- */

#toast-container,
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

/* Fallback/Legacy Toast Support */
.toast-container {
    bottom: 24px;
    top: auto;
}

.toast {
    pointer-events: auto;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 16px 24px;
    border-radius: 12px;
    min-width: 300px;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.toast-text {
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 500;
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    margin: -4px -4px -4px 8px;
    border-radius: 6px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
}

/* Variants */
.toast-success {
    border-left: 4px solid var(--success);
}

.toast-success .toast-icon {
    color: var(--success);
}

.toast-error {
    border-left: 4px solid var(--error);
}

.toast-error .toast-icon {
    color: var(--error);
}

.toast-info {
    border-left: 4px solid var(--primary);
}

.toast-info .toast-icon {
    color: var(--primary);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Static Flash Messages */
.flash-message {
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.95rem;
    animation: fadeIn 0.3s ease;
    display: none !important;
}

.flash-success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.flash-error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.flash-info {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.flash-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    opacity: 0.7;
    margin-left: 10px;
}

.flash-close:hover {
    opacity: 1;
}


/* -------------------------------------------------------------------------- */
/*                  7. PAYMENT REDIRECT PROGRESS & EMAIL TEMPLATES / INVOICE */
/* -------------------------------------------------------------------------- */

.redirect-progress-wrapper {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 99px;
    margin-top: 20px;
    overflow: hidden;
    position: relative;
}

.redirect-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary) 0%, #a855f7 100%);
    border-radius: 99px;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
    transition: width 1s linear;
}


:root {
    --invoice-bg: #ffffff;
    --invoice-text: #1f2937;
    --invoice-border: #e5e7eb;
    --invoice-primary: #4F46E5;
}

body.email-body {
    background-color: #f3f4f6;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    margin: 0;
    padding: 40px 0;
    color: var(--invoice-text);
}

.email-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--invoice-bg);
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    position: relative;
}

.email-header {
    padding: 30px;
    text-align: center;
    background: #111827;
    border-bottom: 4px solid var(--invoice-primary);
}

.email-header h1 {
    color: #ffffff;
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.email-logo {
    height: 55px;
    width: auto;
    object-fit: contain;
}

.email-content {
    padding: 40px;
}

.email-title,
.email-content h2 {
    margin-top: 0;
    color: #111827;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

.email-text,
.email-content p {
    color: #6b7280;
    text-align: center;
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.6;
}

.email-code-box {
    background: #f9fafb;
    border: 2px dashed #e5e7eb;
    border-radius: 8px;
    padding: 24px;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 6px;
    color: #4f46e5;
    margin: 30px 0;
    display: inline-block;
    font-family: monospace;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.email-message-box {
    margin: 24px 0;
    padding: 20px;
    background-color: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #4F46E5;
}

.center-text {
    text-align: center;
}

/* Redundant but kept for backward compat */
.email-btn,
.email-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background-color: var(--invoice-primary);
    color: white !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.2s;
    margin-top: 20px;
    border: none;
    cursor: pointer;
}

.email-btn:hover,
.email-btn-primary:hover {
    background-color: #4338ca;
}

.print-btn {
    background-color: #fff;
    color: #374151 !important;
    border: 1px solid #d1d5db;
    margin-right: 10px;
}

.print-btn:hover {
    background-color: #f3f4f6;
}

.email-action-section {
    text-align: center;
    margin-top: 30px;
}

.email-footer {
    text-align: center;
    padding: 20px;
    background-color: #f9fafb;
    border-top: 1px solid #e5e7eb;
    font-size: 12px;
    color: #9ca3af;
}

.email-note {
    display: block;
    color: #9ca3af;
    font-size: 13px;
    margin-top: 10px;
}

/* Email Invoice Tables */
.email-invoice-details {
    margin-bottom: 24px;
    background: #f9fafb;
    border: 1px solid var(--invoice-border);
    border-radius: 8px;
    padding: 20px;
}

.email-invoice-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
    color: #4b5563;
}

.email-invoice-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.email-invoice-label {
    color: #6b7280;
    font-weight: 500;
}

.email-invoice-value {
    color: #111827;
    font-weight: 600;
    text-align: right;
    max-width: 60%;
    word-break: break-all;
}

.email-invoice-credit {
    color: #10B981;
}

.email-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 20px 0;
    border: none;
}

.email-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 800;
    color: #111827;
    margin-top: 0;
}

.email-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    background: #e0e7ff;
    color: #4338ca;
}

/* Legacy Table Support */
.email-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.email-table td {
    padding: 10px;
    border-bottom: 1px solid #e5e7eb;
}

.email-table .label {
    font-weight: bold;
    width: 30%;
    color: #4b5563;
}

.email-table .value {
    color: #111827;
}

@media only screen and (max-width: 600px) {
    .email-body {
        padding: 20px 10px;
    }

    .email-container {
        padding: 0;
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
        padding: 0;
        color: black;
    }

    .email-container {
        box-shadow: none;
        max-width: 100%;
        border-radius: 0;
        margin: 0;
    }

    .no-print,
    .email-action-section {
        display: none !important;
    }

    .email-header {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .btn,
    .email-btn {
        display: none;
    }
}


/* -------------------------------------------------------------------------- */
/*                             8. UTILITIES                                   */
/* -------------------------------------------------------------------------- */

/* Scroll To Top */
.scroll-top-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 42px;
    height: 42px;
    background: transparent;
    color: var(--text-muted);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 1px solid var(--glass-border);
    z-index: 1900;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(20px);
    text-decoration: none;
    cursor: pointer;
}

.scroll-top-btn:hover {
    background: var(--hover-bg);
    transform: translateY(-3px);
    box-shadow: 0 1px 10px rgba(99, 102, 241, 0.3);
    color: var(--text-main);
}

.scroll-top-btn.show {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .scroll-top-btn {
        bottom: 30px;
        right: 30px;
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
}

/* FAQ Accordion */

.section-faq {
    max-width: 900px;
    margin: auto;
}

.faq-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.faq-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--home-text-main);
}

.faq-hero-title {
    background: var(--home-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: inherit;
}

.faq-item {
    padding: 24px;
    margin-bottom: 16px;
    min-height: auto;
    cursor: pointer;
    background: var(--home-card-bg);
    border: 1px solid var(--home-border);
    border-radius: 16px;
    transition: background-color 160ms ease 40ms;
}

.faq-item:hover {
    background: var(--home-bg-secondary);
}

.faq-header i {
    transition: transform 0.3s ease;
    color: var(--home-text-muted);
}

.faq-header {
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    color: var(--home-text-main);
    font-size: 1.05rem;
}

.faq-body {
    margin-top: 16px;
    color: var(--home-text-muted);
    display: none;
    line-height: 1.6;
}

.faq-item.active .faq-header i {
    color: var(--home-text-main);
}

/* Password Toggle Styles */
.input-wrapper {
    position: relative;
    width: 100%;
}

.btn-password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
    transition: color 0.2s;
    z-index: 5;
}

.btn-password-toggle:hover {
    color: var(--primary);
    background: transparent;
}

/* Password Strength Meter */
.password-strength-area {
    margin-top: 10px;
    margin-bottom: 20px;
}

.strength-meter {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-bottom: 8px;
    overflow: hidden;
    position: relative;
}

.strength-bar {
    height: 100%;
    width: 0;
    transition: width 0.3s ease, background-color 0.3s ease;
    border-radius: 2px;
}

.strength-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-align: right;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.password-requirements {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.req-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    transition: color 0.2s;
}

.req-item i {
    font-size: 0.4rem;
    transition: color 0.2s, transform 0.2s;
}

.req-item.valid {
    color: var(--success);
}

.req-item.valid i {
    color: var(--success);
    transform: scale(1.2);
}

.strength-weak {
    background-color: var(--error);
}

.strength-medium {
    background-color: #fbbf24;
}

.strength-strong {
    background-color: var(--success);
}

/* Footer */
.site-footer {
    background-color: var(--home-bg-secondary);
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 30px;
    margin-top: 10%;
    color: var(--text-muted);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    text-align: left;
}

.footer-logo img,
.footer-logo-img {
    height: 32px;
    width: auto;
}

.footer-logo-text {
    font-size: 1.5rem;
    color: var(--text-main);
    font-weight: 700;
}

.footer-logo .logo-light {
    display: none;
}

.footer-logo .logo-dark {
    display: block;
}

html.theme-light .footer-logo .logo-light {
    display: block;
}

html.theme-light .footer-logo .logo-dark {
    display: none;
}

.footer-desc {
    font-size: 0.95rem;
    display: flex;
    line-height: 1.6;
    max-width: 300px;
    margin-bottom: 10px;
    margin-top: 16px;
    color: var(--text-muted);
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--home-bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.footer-socials a:hover {
    color: var(--text-main);
    border: 1px solid rgb(0, 0, 0, 0.2);
    box-shadow: 0 1px 10px rgb(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.footer-heading {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 10px;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav-list a {
    color: inherit;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-nav-list a:hover {
    color: var(--text-main);
    transform: translateY(-1px);
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    gap: 15px;
    text-align: center;
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-col {
        align-items: center;
    }

    .footer-desc {
        margin: 0 auto 15px auto;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Pagination (Global / for Helper) */
.global-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination-btn,
.pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s;
    font-weight: 600;
    font-size: 0.9rem;
}

.pagination-link:hover,
.pagination-btn:hover {
    background: var(--hover-bg);
    color: var(--text-main);
    border-color: var(--primary);
}

.pagination-link.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.pagination-btn.disabled,
.pagination-link.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.pagination-dots {
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 2px;
}

/* -------------------------------------------------------------------------- */
/*                        10. NAVIGATION HINT (GLOBAL)                        */
/* -------------------------------------------------------------------------- */

.nav-scroll-hint {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: var(--home-bg-secondary);
    color: var(--text-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    z-index: 20;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(90, 53, 222, 0.4);
}

.nav-scroll-hint.visible {
    opacity: 1;
    visibility: visible;
    animation: nav-hint-pulse 2s infinite;
}

@keyframes nav-hint-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(90, 53, 222, 0.7);
        transform: translateY(-50%) scale(1);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(90, 53, 222, 0);
        transform: translateY(-50%) scale(1.05);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(90, 53, 222, 0);
        transform: translateY(-50%) scale(1);
    }
}