:root {
            --accent: #00338d;
            --accent-hover: #082a5e;
            --bg-gradient: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
            --glass-bg: rgba(255, 255, 255, 0.8);
            --text-main: #1e293b;
            --text-muted: #64748b;
        }

        body {
            font-family: 'Plus Jakarta Sans', sans-serif;
            background: var(--bg-gradient);
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0;
            color: var(--text-main);
        }

        /* Animated Background Shapes */
        .shape {
            position: absolute;
            z-index: -1;
            filter: blur(80px);
            border-radius: 50%;
            opacity: 0.5;
        }
        .shape-1 { width: 300px; height: 300px; background: #818cf8; top: 10%; left: 15%; }
        .shape-2 { width: 250px; height: 250px; background: #c084fc; bottom: 10%; right: 15%; }

        .login-card {
            background: var(--glass-bg);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 24px;
            padding: 3rem;
            width: 100%;
            max-width: 460px;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
            animation: slideUp 0.6s ease-out;
            margin-left: 40%;
        }

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

        .header-area h2 { font-weight: 700; letter-spacing: -0.5px; }
        
        /* Modern Input Styling */
        .input-wrapper {
            position: relative;
            margin-bottom: 1.5rem;
        }

        .input-wrapper i {
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-muted);
            transition: 0.3s;
        }

        .form-control-modern {
            width: 100%;
            padding: 14px 16px 14px 45px;
            background: rgba(255, 255, 255, 0.7);
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            font-size: 0.95rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .form-control-modern:focus {
            outline: none;
            border-color: var(--accent);
            background: #fff;
            box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
        }

        .form-control-modern:focus + i {
            color: var(--accent);
        }

        /* Button & UX Elements */
        .btn-submit {
            background: var(--accent);
            color: white;
            border: none;
            width: 100%;
            padding: 14px;
            border-radius: 12px;
            font-weight: 600;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: 0.3s;
            cursor: pointer;
        }

        .btn-submit:hover {
            background: var(--accent-hover);
            transform: translateY(-1px);
            box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.3);
            color: #fff;
        }

        .btn-submit:active { transform: translateY(0); }

        .social-grid {
            display: grid;
            grid-template-columns: 1fr;
            margin-bottom: 1.5rem;
        }

        .btn-social {
            padding: 10px;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            background: white;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            color: var(--text-main);
            font-size: 0.9rem;
            font-weight: 500;
            transition: 0.2s;
            text-decoration: none;
        }

        .btn-social:hover {
            background: #f8fafc;
            border-color: #cbd5e1;
            text-decoration: none;
        }

        .divider {
            display: flex;
            align-items: center;
            text-align: center;
            margin: 1.5rem 0;
            color: var(--text-muted);
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        .divider::before, .divider::after {
            content: '';
            flex: 1;
            border-bottom: 1px solid #e2e8f0;
        }
        .divider:not(:empty)::before { margin-right: .75em; }
        .divider:not(:empty)::after { margin-left: .75em; }

        .loader {
            display: none;
            width: 18px;
            height: 18px;
            border: 2px solid #ffffff;
            border-bottom-color: transparent;
            border-radius: 50%;
            animation: rotation 1s linear infinite;
        }

        @keyframes rotation { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }



        /* Success Message Animation */
        .success-state {
            text-align: center;
            animation: fadeIn 0.4s ease-out forwards;
        }

        @keyframes fadeIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }

        .back-link { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: 0.2s; }
        .back-link:hover { color: var(--accent); text-decoration: none; }

        .loader {
            display: none; width: 18px; height: 18px;
            border: 2px solid #ffffff; border-bottom-color: transparent;
            border-radius: 50%; animation: rotation 1s linear infinite;
        }
        @keyframes rotation { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }


        /* OTP Input Styling */
        .otp-container {
            display: flex;
            gap: 12px;
            justify-content: center;
            margin: 2rem 0;
        }

        .otp-input {
            width: 55px;
            height: 65px;
            text-align: center;
            font-size: 1.5rem;
            font-weight: 700;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.7);
            transition: all 0.3s;
        }

        .otp-input:focus {
            outline: none;
            border-color: var(--accent);
            background: #fff;
            box-shadow: 0 0 0 4px rgba(0, 51, 141, 0.1);
            transform: translateY(-2px);
        }

       

        .resend-text { font-size: 0.9rem; color: var(--text-muted); margin-top: 1.5rem; }
        .resend-link { color: var(--accent); font-weight: 700; text-decoration: none; cursor: pointer; }
        
        .loader {
            display: none; width: 18px; height: 18px;
            border: 2px solid #ffffff; border-bottom-color: transparent;
            border-radius: 50%; animation: rotation 1s linear infinite;
        }
        @keyframes rotation { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }


        /* Success State Specific Styling */
.success-icon-wrapper {
    width: 80px;
    height: 80px;
    background: #f0fdf4;
    color: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 3rem;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    animation: pulse-success 2s infinite;
}

.redirect-box {
    background: rgba(0, 0, 0, 0.03);
    padding: 12px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Animations */
@keyframes pulse-success {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.animate-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

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

.success-animation {
    padding: 1rem 0;
}





/* Badge for Email Visibility */
.badge-email {
    background: #f1f5f9;
    color: var(--text-main);
    padding: 4px 12px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-block;
    margin-top: 8px;
    border: 1px solid #e2e8f0;
}

/* Contextual Info Card */
.info-card {
    background: rgba(0, 51, 141, 0.03);
    border-left: 4px solid var(--accent);
    padding: 16px;
    border-radius: 12px;
    text-align: left;
    color: var(--text-muted);
}

/* Ghost Button for Secondary Actions */
.btn-ghost {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
    cursor: pointer;
    width: 100%;
}

.btn-ghost:hover {
    color: var(--text-muted);
}

/* Smooth Entrance */
.animate-in {
    animation: fadeInUp 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

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

.login-bg{
    background: url(./../login-register-bg.jpg);
    background-position: center ;
    background-size: cover;
}