/* ================================================================
   PetCix Academy — Login Page Stylesheet
   ================================================================
   Design System: Glassmorphism + Pastel Gradient
   Typography:    Poppins (300–800)
   Color Palette: Lavender / Pink / Purple / Blue
   ================================================================ */


/* ── RESET & GLOBALS ──────────────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    color: #311B17;
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    align-items: center;
    justify-content: center;

    /* Soft animated mesh gradient background */
    background: linear-gradient(
        135deg,
        #FAE9F9 0%,
        #F8D8EC 25%,
        #E8C5F0 50%,
        #D4B0E6 75%,
        #FAE9F9 100%
    );
    background-size: 400% 400%;
    animation: meshGradient 18s ease infinite;
}

@keyframes meshGradient {
    0%   { background-position: 0% 50%; }
    25%  { background-position: 100% 0%; }
    50%  { background-position: 100% 100%; }
    75%  { background-position: 0% 100%; }
    100% { background-position: 0% 50%; }
}


/* ── ANIMATED BACKGROUND ORBS ─────────────────────────────────── */
.bg-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.55;
    will-change: transform;
}

.orb-1 {
    width: 420px;
    height: 420px;
    background: #CE4EDE;
    top: -10%;
    left: -8%;
    animation: floatOrb1 20s ease-in-out infinite;
}

.orb-2 {
    width: 360px;
    height: 360px;
    background: #4B6CFF;
    top: 60%;
    right: -5%;
    animation: floatOrb2 24s ease-in-out infinite;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: #2DC5F4;
    bottom: -8%;
    left: 30%;
    animation: floatOrb3 22s ease-in-out infinite;
}

.orb-4 {
    width: 280px;
    height: 280px;
    background: #6D3DD2;
    top: 20%;
    right: 25%;
    animation: floatOrb4 26s ease-in-out infinite;
}

@keyframes floatOrb1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25%      { transform: translate(80px, 60px) scale(1.08); }
    50%      { transform: translate(40px, 120px) scale(0.95); }
    75%      { transform: translate(-40px, 50px) scale(1.04); }
}

@keyframes floatOrb2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25%      { transform: translate(-60px, -50px) scale(1.06); }
    50%      { transform: translate(-100px, 30px) scale(0.92); }
    75%      { transform: translate(30px, -70px) scale(1.1); }
}

@keyframes floatOrb3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(70px, -80px) scale(1.1); }
    66%      { transform: translate(-50px, -40px) scale(0.94); }
}

@keyframes floatOrb4 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25%      { transform: translate(-80px, 40px) scale(0.96); }
    50%      { transform: translate(50px, 80px) scale(1.08); }
    75%      { transform: translate(20px, -60px) scale(1.02); }
}


/* ── BACK TO HOME LINK ────────────────────────────────────────── */
.back-home {
    position: fixed;
    top: 1.8rem;
    left: 2rem;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.2rem;
    border-radius: 60px;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #311B17;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(109, 61, 210, 0.08);
}

.back-home:hover {
    background: rgba(255, 255, 255, 0.55);
    transform: translateX(-3px);
    box-shadow: 0 6px 28px rgba(109, 61, 210, 0.14);
}

.back-home i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.back-home:hover i {
    transform: translateX(-3px);
}


/* ── LOGIN WRAPPER ────────────────────────────────────────────── */
.login-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 480px;
    padding: 2rem 1.2rem;
    margin: 0 auto;
}


/* ── GLASSMORPHISM CARD ───────────────────────────────────────── */
.login-card {
    background: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(32px) saturate(1.6);
    -webkit-backdrop-filter: blur(32px) saturate(1.6);
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 3.5rem 3.5rem 2.8rem 2.8rem;
    padding: 2.8rem 2.4rem 2.2rem;
    box-shadow:
        0 8px 40px rgba(109, 61, 210, 0.18),
        0 2px 12px rgba(206, 78, 222, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    animation: cardSlideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

.login-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 16px 56px rgba(109, 61, 210, 0.24),
        0 4px 18px rgba(206, 78, 222, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

@keyframes cardSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ── BRAND HEADER ─────────────────────────────────────────────── */
.brand-header {
    text-align: center;
    margin-bottom: 1.8rem;
}

.brand-badge {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    border-radius: 22px;
    background: linear-gradient(145deg, #CE4EDE, #6D3DD2);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 6px 24px rgba(109, 61, 210, 0.3),
        0 2px 8px rgba(206, 78, 222, 0.15);
    animation: badgePulse 3s ease-in-out infinite;
}

.brand-badge i {
    font-size: 1.9rem;
    color: #fff;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 6px 24px rgba(109, 61, 210, 0.3), 0 2px 8px rgba(206, 78, 222, 0.15); }
    50%      { transform: scale(1.06); box-shadow: 0 10px 36px rgba(109, 61, 210, 0.4), 0 4px 14px rgba(206, 78, 222, 0.25); }
}

.brand-title {
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    background: linear-gradient(135deg, #311B17 0%, #6D3DD2 50%, #CE4EDE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-tagline {
    font-size: 0.82rem;
    font-weight: 400;
    color: #6b5a74;
    margin-top: 0.25rem;
    letter-spacing: 0.02em;
}


/* ── ROLE SWITCHER (TABS) ─────────────────────────────────────── */
.role-switcher {
    position: relative;
    display: flex;
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 60px;
    padding: 4px;
    margin-bottom: 1.4rem;
    overflow: hidden;
}

.switcher-pill {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: linear-gradient(135deg, #CE4EDE, #6D3DD2);
    border-radius: 60px;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(109, 61, 210, 0.3);
    z-index: 1;
}

.switcher-pill.admin {
    transform: translateX(100%);
}

.switcher-tab {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.7rem 0;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #6b5a74;
    transition: color 0.35s ease;
    border-radius: 60px;
}

.switcher-tab.active {
    color: #fff;
}

.switcher-tab i {
    font-size: 0.9rem;
}


/* ── SECTION BADGE ────────────────────────────────────────────── */
.section-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.4rem 1rem;
    margin: 0 auto 1.6rem;
    width: fit-content;
    background: rgba(109, 61, 210, 0.1);
    border: 1px solid rgba(109, 61, 210, 0.15);
    border-radius: 60px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #6D3DD2;
    transition: all 0.4s ease;
}

.section-badge i {
    font-size: 0.72rem;
}

.section-badge.admin-badge {
    background: rgba(206, 78, 222, 0.1);
    border-color: rgba(206, 78, 222, 0.18);
    color: #CE4EDE;
}


/* ── LOGIN FORMS ──────────────────────────────────────────────── */
.login-form {
    display: none;
    flex-direction: column;
    gap: 1rem;
    animation: formFadeIn 0.4s ease forwards;
}

.login-form.active {
    display: flex;
}

@keyframes formFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* ── INPUT GROUPS ─────────────────────────────────────────────── */
.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9a85a8;
    font-size: 0.9rem;
    pointer-events: none;
    z-index: 2;
    transition: color 0.3s ease;
}

.input-group input {
    width: 100%;
    padding: 0.95rem 3rem 0.95rem 3.2rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 60px;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    font-weight: 400;
    color: #311B17;
    outline: none;
    transition: all 0.35s ease;
}

.input-group input::placeholder {
    color: #a697b0;
    font-weight: 400;
}

.input-group input:focus {
    border-color: rgba(109, 61, 210, 0.45);
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 4px rgba(109, 61, 210, 0.08), 0 4px 16px rgba(109, 61, 210, 0.06);
}

.input-group input:focus ~ .input-icon,
.input-group:focus-within .input-icon {
    color: #6D3DD2;
}

/* Password toggle */
.toggle-pwd {
    position: absolute;
    right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #a697b0;
    font-size: 0.9rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 2;
}

.toggle-pwd:hover {
    color: #6D3DD2;
    background: rgba(109, 61, 210, 0.08);
}


/* ── FORM OPTIONS ROW ─────────────────────────────────────────── */
.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.1rem;
}

/* Custom checkbox */
.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
}

.remember-me input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 2px solid rgba(109, 61, 210, 0.3);
    background: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    flex-shrink: 0;
}

.checkbox-custom::after {
    content: '';
    width: 6px;
    height: 10px;
    border: 2px solid #fff;
    border-top: 0;
    border-left: 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.2s ease;
    position: absolute;
    top: 1px;
    left: 4px;
}

.remember-me input:checked + .checkbox-custom {
    background: linear-gradient(135deg, #CE4EDE, #6D3DD2);
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(109, 61, 210, 0.25);
}

.remember-me input:checked + .checkbox-custom::after {
    transform: rotate(45deg) scale(1);
}

.remember-text {
    font-size: 0.8rem;
    font-weight: 400;
    color: #5a4a62;
}

.forgot-link {
    font-size: 0.8rem;
    font-weight: 500;
    color: #6D3DD2;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.forgot-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, #CE4EDE, #6D3DD2);
    transition: width 0.3s ease;
}

.forgot-link:hover::after {
    width: 100%;
}

.forgot-link:hover {
    color: #CE4EDE;
}


/* ── SUBMIT BUTTON ────────────────────────────────────────────── */
.btn-submit {
    position: relative;
    width: 100%;
    padding: 0.95rem 1.5rem;
    border: none;
    border-radius: 60px;
    background: linear-gradient(135deg, #CE4EDE, #6D3DD2);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 24px rgba(109, 61, 210, 0.3);
    overflow: hidden;
    margin-top: 0.4rem;
}

.btn-submit .btn-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 36px rgba(109, 61, 210, 0.4);
}

.btn-submit:active {
    transform: scale(0.97);
    box-shadow: 0 4px 16px rgba(109, 61, 210, 0.25);
}

/* Loading spinner */
.btn-spinner {
    display: none;
    width: 22px;
    height: 22px;
    border: 2.5px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -11px 0 0 -11px;
}

.btn-submit.loading .btn-label {
    opacity: 0;
    transform: scale(0.8);
}

.btn-submit.loading .btn-spinner {
    display: block;
}

.btn-submit.loading {
    pointer-events: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


/* ── DIVIDER ──────────────────────────────────────────────────── */
.divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0.2rem 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(109, 61, 210, 0.15), transparent);
}

.divider span {
    font-size: 0.75rem;
    font-weight: 400;
    color: #9a85a8;
    white-space: nowrap;
}


/* ── GOOGLE SIGN-IN BUTTON ────────────────────────────────────── */
.btn-google {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 0.85rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 60px;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #311B17;
    cursor: pointer;
    transition: all 0.35s ease;
}

.btn-google:hover {
    background: rgba(255, 255, 255, 0.55);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(109, 61, 210, 0.1);
}

.btn-google:active {
    transform: scale(0.98);
}

.google-icon {
    flex-shrink: 0;
}


/* ── FORM FOOTER ──────────────────────────────────────────────── */
.form-footer {
    text-align: center;
    font-size: 0.8rem;
    font-weight: 400;
    color: #6b5a74;
    margin-top: 0.2rem;
}

.footer-action {
    font-weight: 600;
    color: #6D3DD2;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-action::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, #CE4EDE, #6D3DD2);
    transition: width 0.3s ease;
}

.footer-action:hover::after {
    width: 100%;
}

.footer-action:hover {
    color: #CE4EDE;
}


/* ================================================================
   RESPONSIVE BREAKPOINTS
   ================================================================ */

/* ── Mobile & Small Tablets (up to 600px) ── */
@media (max-width: 600px) {
    body {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 4.5rem 1rem 2.5rem 1rem;
    }

    .login-wrapper {
        margin: auto;
        padding: 0;
        width: 100%;
        max-width: 480px;
    }

    .back-home {
        position: absolute;
        top: 1.2rem;
        left: 1.2rem;
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .login-card {
        padding: 2.2rem 1.5rem 1.8rem;
        border-radius: 2.2rem 2.2rem 1.8rem 1.8rem;
    }

    .brand-badge {
        width: 64px;
        height: 64px;
        border-radius: 18px;
        margin-bottom: 0.8rem;
    }

    .brand-badge i {
        font-size: 1.6rem;
    }

    .brand-title {
        font-size: 1.45rem;
    }

    .brand-tagline {
        font-size: 0.78rem;
    }

    .role-switcher {
        margin-bottom: 1.2rem;
    }

    .switcher-tab {
        font-size: 0.8rem;
        padding: 0.6rem 0;
    }

    .section-badge {
        margin-bottom: 1.4rem;
        padding: 0.35rem 0.9rem;
    }

    .input-group input {
        padding: 0.85rem 2.8rem 0.85rem 3rem;
        font-size: 0.85rem;
    }

    .input-icon {
        left: 1.1rem;
        font-size: 0.85rem;
    }

    .toggle-pwd {
        right: 0.8rem;
        font-size: 0.85rem;
    }

    .form-options {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 0.8rem;
        margin-top: 0.2rem;
        margin-bottom: 0.2rem;
    }

    .btn-submit {
        padding: 0.85rem 1.2rem;
        font-size: 0.88rem;
        margin-top: 0.2rem;
    }

    .btn-google {
        padding: 0.8rem 1.2rem;
        font-size: 0.82rem;
    }

    .bg-orb {
        opacity: 0.45;
    }

    .orb-1 { width: 260px; height: 260px; }
    .orb-2 { width: 220px; height: 220px; }
    .orb-3 { width: 200px; height: 200px; }
    .orb-4 { width: 180px; height: 180px; }
}

/* ── Very Small Mobile (up to 390px) ── */
@media (max-width: 390px) {
    body {
        padding: 4rem 0.8rem 2rem 0.8rem;
    }

    .login-card {
        padding: 2rem 1.2rem 1.5rem;
        border-radius: 1.8rem 1.8rem 1.5rem 1.5rem;
    }

    .brand-badge {
        width: 56px;
        height: 56px;
        border-radius: 16px;
    }

    .brand-badge i {
        font-size: 1.4rem;
    }

    .brand-title {
        font-size: 1.3rem;
    }

    .brand-tagline {
        font-size: 0.75rem;
    }

    .switcher-tab {
        font-size: 0.78rem;
        gap: 0.35rem;
    }

    .input-group input {
        padding: 0.8rem 2.5rem 0.8rem 2.6rem;
        font-size: 0.82rem;
    }

    .input-icon {
        left: 0.9rem;
    }

    .toggle-pwd {
        right: 0.6rem;
    }

    .remember-text, .forgot-link {
        font-size: 0.75rem;
    }

    .checkbox-custom {
        width: 16px;
        height: 16px;
    }

    .btn-submit {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }

    .btn-google {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }

    .form-footer {
        font-size: 0.76rem;
    }

    .back-home {
        top: 1rem;
        left: 1rem;
        padding: 0.45rem 0.8rem;
        font-size: 0.75rem;
    }

    .orb-1 { width: 180px; height: 180px; }
    .orb-2 { width: 160px; height: 160px; }
    .orb-3 { width: 140px; height: 140px; }
    .orb-4 { width: 120px; height: 120px; }
}

/* ── Extremely Narrow Mobile (up to 350px) ── */
@media (max-width: 350px) {
    .brand-title {
        font-size: 1.15rem;
    }

    .brand-tagline {
        font-size: 0.7rem;
    }

    .form-options {
        flex-direction: column;
        align-items: center;
        gap: 0.6rem;
    }

    .forgot-link {
        align-self: center;
    }

    .btn-submit {
        font-size: 0.8rem;
    }

    .btn-google {
        font-size: 0.75rem;
    }
}


/* ── Accessibility: Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ================================================================
   MODAL (SUCCESS / ERROR POPUPS)
   ================================================================ */

.login-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background-color: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 1.5rem;
}

.login-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.login-modal-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    text-align: center;
    transform: scale(0.9);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    display: none;
}

.login-modal-card.active {
    display: block;
    transform: scale(1);
    opacity: 1;
    visibility: visible;
}

.modal-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.success-icon {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #16a34a;
    box-shadow: 0 10px 25px rgba(22, 163, 74, 0.2);
}

.error-icon {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #dc2626;
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.2);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.modal-desc {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.modal-btn-ok {
    width: 100%;
    padding: 0.85rem;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #7c3aed, #6366f1);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.25);
    transition: all 0.3s ease;
}

.modal-btn-ok:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(124, 58, 237, 0.35);
}

.modal-btn-ok:active {
    transform: translateY(1px);
}
