:root {
    /* BankPE Brand Colors */
    --brand-teal: #0D5F8F;
    --brand-teal-light: #1A7DB8;
    --brand-teal-dark: #094A6F;
    --brand-cyan: #00B4D8;
    --brand-orange: #FF8C42;
    --brand-green: #06D6A0;
    --primary-gradient: linear-gradient(135deg, #094A6F 0%, #0D5F8F 40%, #1A7DB8 70%, #00B4D8 100%);
    --secondary-gradient: linear-gradient(135deg, #00B4D8 0%, #0D5F8F 50%, #094A6F 100%);
    --accent-gradient: linear-gradient(135deg, #06D6A0 0%, #00B4D8 50%, #0D5F8F 100%);
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.25);
    --text-primary: #1a1a2e;
    --text-secondary: #5a6c7d;
    --shadow-light: 0 20px 50px rgba(13, 95, 143, 0.2);
    --shadow-hover: 0 30px 70px rgba(13, 95, 143, 0.35);
    --glow-teal: 0 0 30px rgba(13, 95, 143, 0.4);
}

    * {
        box-sizing: border-box;
    }

    body.login-page {
    font-family: 'Poppins', 'Inter', sans-serif;
    background: var(--primary-gradient);
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    }

    .login-wrap {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    position: relative;
    z-index: 1;
    overflow-y: auto;
    overflow-x: hidden;
    }

    .login-wrap::-webkit-scrollbar {
    display: none;
    }

    .login-wrap {
    -ms-overflow-style: none;
    scrollbar-width: none;
    }

    .container {
    max-width: 1200px;
    width: 100%;
    }

    .login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem 0.5rem;
    min-height: min-content;
    }

    /* Left Side - Welcome Section */
    .welcome-section {
    text-align: center;
    padding: 0.8rem;
    margin: 2rem 0;
    }
    .input-group-append.custom {
    position: absolute;
    top: 28px;
    right: 15px;
    }
    .login-box .form-group i.main-icon {
    position: absolute;
    left: 15px;
    top: 29px;
    z-index: 99;
    width: 19px;
    height: 19px;
    }
    .modal-dialog.forget_pass .form-group i.main-icon {
    top: 53px !important;
    }
    .welcome-logo {
    color: white;
    background: white;
    border-radius: 18px;
    transition: all 0.6s ease;
    }

    .welcome-logo-img {
    max-width: 230px;
    height: 105px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.95;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    backdrop-filter: blur(8px);
    }


    .welcome-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(147, 51, 234, 0.3);
    }


    .welcome-section h1 {
    font-size: 3.2rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #e0f7ff 20%, #b3ecff 40%, #80e1ff 60%, #4dd5ff 80%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    filter: drop-shadow(0 4px 12px rgba(13, 95, 143, 0.5));
        }

    
    .welcome-section h1::before {
    content: 'Welcome Back!';
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(13, 95, 143, 0.5), rgba(0, 180, 216, 0.5));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(12px);
    z-index: -1;
    }





    .welcome-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    }

    .feature-list {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 300px;
    margin: 0 auto;
    }

    .feature-list li {
    padding: 0.7rem 0;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    color: rgba(255, 255, 255, 0.9);
    transform-origin: left center;
    }

    .feature-list li:hover {
    opacity: 1;
    transform: translateX(8px) scale(1.05);
    text-shadow: 0 2px 12px rgba(0, 180, 216, 0.7), 0 0 20px rgba(13, 95, 143, 0.5);
    color: rgba(255, 255, 255, 1);
    }

    .feature-list li::before {
    margin-right: 1rem;
    font-size: 1.4rem;
    filter: drop-shadow(0 2px 6px rgba(0, 180, 216, 0.5));
    }

    .feature-list li:nth-child(1)::before { content: '📱'; }
    .feature-list li:nth-child(2)::before { content: '💳'; }
    .feature-list li:nth-child(3)::before { content: '🏦'; }
    .feature-list li:nth-child(4)::before { content: '⚡'; }


    /* Right Side - Login Form */
    .login-box {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.95) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 32px;
    padding: 2.5rem 2rem;
    max-width: 450px;
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }



    .login-box::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #0D5F8F, #00B4D8, #06D6A0, #FF8C42);
    border-radius: 28px;
    z-index: -1;
    }


    .login-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background-size: 300% 100%;
    border-radius: 28px 28px 0 0;
    }


    .logo-container {
    margin-top: -15px;
    text-align: center;
    margin-bottom: 0.8rem;
    position: relative;

    }

    .logo-text {
    font-size: 4.5rem;
    font-weight: 900;
    background: linear-gradient(45deg, #0D5F8F 0%, #00B4D8 33%, #06D6A0 66%, #FF8C42 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 8px 20px rgba(13, 95, 143, 0.5));
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    letter-spacing: -0.06em;
    cursor: default;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    }

    .logo-text::before {
    content: 'Bankpe';
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(45deg, rgba(13, 95, 143, 0.4), rgba(0, 180, 216, 0.4));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(10px);
    z-index: -1;
    }






    .logo-text:hover {
    transform: scale(1.08) rotate(2deg);
    filter: drop-shadow(0 10px 25px rgba(0, 180, 216, 0.6));
    }


    .login-title {
    text-align: center;
    margin-bottom: 1.8rem;
    }

    .welcome-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    }


    .login-subtitle {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.8;
    }

    /* Modern Form Styling */
    .form-group {
    position: relative;
    margin-bottom: 1.6rem;
    transform-origin: center bottom;
    }





    .form-group label {
    position: absolute;
    top: 50%;
    left: 3.2rem;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 2;
    }

    .form-group input {
    width: 100%;
    padding: 1.1rem 1rem 1.1rem 3.2rem;
    border: 2px solid transparent;
    border-radius: 22px;
    background: linear-gradient(rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95)) padding-box,
                linear-gradient(135deg, #0D5F8F, #00B4D8, #06D6A0) border-box;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    box-shadow: 
        0 4px 12px rgba(13, 95, 143, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }

    .form-group input:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 
        0 12px 30px rgba(13, 95, 143, 0.2),
        0 0 25px rgba(0, 180, 216, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    backdrop-filter: blur(20px);
    }

    .form-group input::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
    font-weight: 400;
    }

    .form-group input:focus,
    .form-group input:not(:placeholder-shown) {
    background: linear-gradient(rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95)) padding-box,
                linear-gradient(135deg, #0D5F8F, #00B4D8, #06D6A0) border-box;
    box-shadow: 
        0 0 0 4px rgba(13, 95, 143, 0.15),
        0 8px 20px rgba(13, 95, 143, 0.2),
        0 0 30px rgba(0, 180, 216, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    outline: none;
    transform: translateY(-2px) scale(1.01);
    }


    .form-group input:focus + label,
    .form-group input:not(:placeholder-shown) + label {
    top: -0.5rem;
    left: 1rem;
    font-size: 0.875rem;
    color: var(--brand-teal);
    background: rgba(255, 255, 255, 0.95);
    padding: 0 0.5rem;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(13, 95, 143, 0.15);
    }

    .form-group .main-icon {
    position: absolute;
    left: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 20px;
    height: 20px;
    opacity: 0.7;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    }


    .form-group input:focus ~ .main-icon {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    filter: brightness(0.4) sepia(1) hue-rotate(260deg) saturate(2);
    }

    .form-group .main-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0.7);
    }

    .form-group input:focus ~ .main-icon img {
    filter: brightness(0.4) sepia(1) hue-rotate(260deg) saturate(2);
    }

    /* Password Toggle Styling */
    .input-group-append {
    position: absolute;
    right: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    }

    .input-group-text {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    }

    .input-group-text:hover {
    transform: scale(1.1);
    }

    .input-group-text img {
    width: 20px;
    height: 20px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    }

    .input-group-text:hover img {
    opacity: 1;
    }

    /* Forgot Password Link */
    .forgot-password-link-container {
    margin-top: 1rem;
    margin-bottom: 2rem;
    }

    .forgot-password {
    color: var(--brand-teal);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    }

    .forgot-password::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-teal), var(--brand-cyan));
    transition: width 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 180, 216, 0.4);
    }

    .forgot-password:hover {
    color: var(--brand-cyan);
    text-decoration: none;
    transform: translateX(2px);
    text-shadow: 0 2px 8px rgba(0, 180, 216, 0.3);
    }

.forgot-password:hover::after {
width: 100%;
background: linear-gradient(90deg, var(--brand-cyan), var(--brand-green));
}

/* Modern Button Styling */
.btn-primary {
width: 100%;
padding: 1.3rem 2rem;
border: none;
border-radius: 24px;
background: linear-gradient(135deg, #0D5F8F 0%, #00B4D8 50%, #06D6A0 100%);
background-size: 200% 100%;
color: white;
font-size: 1.2rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
box-shadow: 
0 12px 35px rgba(13, 95, 143, 0.4),
0 5px 20px rgba(0, 180, 216, 0.3),
inset 0 2px 0 rgba(255, 255, 255, 0.3);
margin-top: 1.8rem;
margin-bottom: 1rem;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
cursor: pointer;
}


    .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    }

    .btn-primary:hover::before {
    left: 100%;
    }

    .btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    background-position: 100% 0;
    box-shadow: 
        0 15px 40px rgba(13, 95, 143, 0.5),
        0 8px 30px rgba(0, 180, 216, 0.4),
        0 0 40px rgba(6, 214, 160, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }

    .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 20px rgba(13, 95, 143, 0.5);
    }

    .btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    }

    .btn-primary:active::after {
    width: 300px;
    height: 300px;
    }

    /* Toast Messages */
    .toaster-container {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 9999;
    max-width: 400px;
    width: 100%;
    }

    .toast-message {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(25px);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    margin-bottom: 1rem;
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.15),
        0 10px 30px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-left: 6px solid var(--brand-teal);
    color: #1a202c;
    font-weight: 700;
    font-size: 0.95rem;
    position: relative;
    transform: translateX(100%);
    animation: toastSlideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
    }

    @keyframes toastSlideIn {
    0% { 
        transform: translateX(100%);
        opacity: 0;
    }
    100% { 
        transform: translateX(0);
        opacity: 1;
    }
    }

    @keyframes toastSlideOut {
    0% { 
        transform: translateX(0);
        opacity: 1;
    }
    100% { 
        transform: translateX(100%);
        opacity: 0;
    }
    }

    .toast-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
    }

    .toast-message:hover::before {
    left: 100%;
    }


    .toast-message.errores_message {
    border-left-color: #ef4444;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.95) 0%, rgba(220, 38, 38, 0.9) 100%);
    box-shadow: 
        0 25px 60px rgba(239, 68, 68, 0.3),
        0 10px 30px rgba(239, 68, 68, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(239, 68, 68, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    }

    .toast-message.errores_message::before {
    background: linear-gradient(90deg, transparent, rgba(239, 68, 68, 0.1), transparent);
    }

    .toast-message:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 16px 50px rgba(13, 95, 143, 0.25),
        0 6px 20px rgba(0, 180, 216, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }

    .toast-message.success {
    border-left-color: #10b981;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.95) 0%, rgba(5, 150, 105, 0.9) 100%);
    box-shadow: 
        0 25px 60px rgba(16, 185, 129, 0.3),
        0 10px 30px rgba(16, 185, 129, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(16, 185, 129, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    }

    .toast-message.success::before {
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.1), transparent);
    }

    .toast-message.warning {
    border-left-color: #f59e0b;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.95) 0%, rgba(217, 119, 6, 0.9) 100%);
    box-shadow: 
        0 25px 60px rgba(245, 158, 11, 0.3),
        0 10px 30px rgba(245, 158, 11, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(245, 158, 11, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    }

    .toast-message.warning::before {
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.1), transparent);
    }

    .toast-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
    }

    .toast-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    }

    .toast-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    }

    .toast-icon svg {
    transition: all 0.3s ease;
    }

    .toast-message:hover .toast-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
    }

    .toast-text {
    flex: 1;
    line-height: 1.4;
    font-weight: 600;
    }

    .toast-close {
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.7;
    width: 32px;
    height: 32px;
    }

    .toast-close:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
    }

    .toast-close svg {
    transition: all 0.3s ease;
    }

    /* Toast Progress Bar */
    .toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, var(--brand-teal), var(--brand-cyan), var(--brand-green));
    border-radius: 0 0 20px 20px;
    transition: width 7s linear;
    z-index: 3;
    box-shadow: 0 0 10px rgba(0, 180, 216, 0.5);
    }

    .toast-message.errores_message .toast-progress {
    background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.8));
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }

    .toast-message.success .toast-progress {
    background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.8));
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }

    .toast-message.warning .toast-progress {
    background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.8));
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    }

    @keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
    }

    /* Responsive Design */
    @media (max-width: 768px) {
    .login-wrap {
        padding: 0.25rem;
    }

    .login-container {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 0.5rem;
        height: 100vh;
    }

    .welcome-section {
        order: 2;
        padding: 0.5rem;
        max-height: none;
    }

    .welcome-logo-img {
        max-width: 140px;
    }

    .welcome-section h1 {
        font-size: 2rem;
    }

    .welcome-section p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .feature-list {
        max-width: 250px;
    }

    .login-box {
        padding: 1.5rem 1rem;
        margin: 0;
        max-height: none;
        max-width: 100%;
        border-radius: 20px;
    }

    .form-group input {
        padding: 0.875rem 0.75rem 0.875rem 2.5rem;
    }

    .form-group .main-icon {
        left: 0.6rem;
        width: 18px;
        height: 18px;
    }

    .input-group-append {
        right: 0.6rem;
    }

    .input-group-text img {
        width: 18px;
        height: 18px;
    }

    .form-group label {
        left: 2.7rem;
    }

    .toaster-container {
        top: 1rem;
        right: 1rem;
        left: 1rem;
    }
    }

    @media (max-width: 480px) {
    .login-wrap {
        padding: 0.5rem;
    }

    .welcome-section h1 {
        font-size: 1.8rem;
    }

    .login-box {
        padding: 1rem 0.6rem;
        border-radius: 20px;
        max-height: 75vh;
        overflow-y: auto;
    }

    .form-group input {
        padding: 0.75rem 0.6rem 0.75rem 2.2rem;
        font-size: 0.9rem;
    }

    .form-group .main-icon {
        left: 0.5rem;
        width: 16px;
        height: 16px;
    }

    .input-group-append {
        right: 0.5rem;
    }

    .input-group-text img {
        width: 16px;
        height: 16px;
    }

    .form-group label {
        left: 2.4rem;
    }
    }

    /* Loading Animation */
    .btn-primary.loading {
    pointer-events: none;
    position: relative;
    }

    .btn-primary.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: spin 1s linear infinite;
    }

    @keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
    }

    /* Modal Improvements */
    .modal-content {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    }

    .modal-body {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0 0 20px 20px;
    }

    /* Fix forgot password form fields */
    .modal-body .form-group {
    position: relative;
    margin-bottom: 1.5rem;
    }

    .modal-body .form-group label {
    position: absolute;
    top: -0.5rem;
    left: 1rem;
    font-size: 0.875rem;
    color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.9);
    padding: 0 0.5rem;
    border-radius: 8px;
    z-index: 2;
    }

    .modal-body .form-group input {
    width: 100%;
    padding: 1.1rem 1rem 1.1rem 3.2rem;
    border: 2px solid transparent;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }

    .form-group input:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(147, 51, 234, 0.1),
        0 0 20px rgba(147, 51, 234, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(147, 51, 234, 0.3);
    }

    .modal-body .form-group input::placeholder {
    color: transparent;
    }

    .modal-body .form-group .main-icon {
    position: absolute;
    left: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 20px;
    height: 20px;
    opacity: 0.7;
    }

    .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px 20px 0 0;
    }

    .btn_submit, .btn_cancle {
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    }

    .btn_submit {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(13, 95, 143, 0.4);
    }

    .btn_submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(13, 95, 143, 0.5), 0 4px 20px rgba(0, 180, 216, 0.3);
    }

    .btn_cancle {
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.3);
    }

    .btn_cancle:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
    }

    /* Error States */
    .form-group.has-error input {
    border-color: #f59e0b !important;
    background: rgba(245, 158, 11, 0.05) !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1) !important;
    }

    .form-group.has-error label {
    color: #f59e0b !important;
    }

    .error-message {
    position: absolute !important;
    top: -0.5rem !important;
    left: 1rem !important;
    color: #f59e0b !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    padding: 0 0.5rem !important;
    border-radius: 8px !important;
    z-index: 10 !important;
    margin: 0 !important;
    animation: slideInUp 0.3s ease-out !important;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2) !important;
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
    }

    /* Hide original label when error message is present */
    .form-group.has-error label {
    opacity: 0 !important;
    visibility: hidden !important;
    }

    /* Ensure form-group has relative positioning for absolute error positioning */
    .form-group {
    position: relative;
    }


    /* Focus and filled states */
    .form-group.focused input,
    .form-group input[data-filled="true"],
    .form-group input:-webkit-autofill {
    border-color: var(--brand-teal);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 0 0 3px rgba(13, 95, 143, 0.12);
    }

    .form-group.focused label,
    .form-group input[data-filled="true"] + label,
    .form-group input:-webkit-autofill + label {
    top: -0.5rem;
    left: 1rem;
    font-size: 0.875rem;
    color: var(--brand-teal);
    background: rgba(255, 255, 255, 0.95);
    padding: 0 0.5rem;
    border-radius: 8px;
    font-weight: 600;
    }

    /* Handle autofill background */
    .form-group input:-webkit-autofill,
    .form-group input:-webkit-autofill:hover,
    .form-group input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.98) inset !important;
    -webkit-text-fill-color: var(--text-primary) !important;
    transition: background-color 5000s ease-in-out 0s;
    animation-name: onAutoFillStart;
    animation-duration: 0.001s;
    }

    /* Autofill detection animation */
    @keyframes onAutoFillStart {
    from { opacity: 1; }
    to { opacity: 1; }
    }

    .login-box::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: unset;
        pointer-events: none;
    }









    /* Responsive Design */
    @media (max-width: 1024px) {
    .login-container {
        max-width: 900px;
        gap: 0.8rem;
        padding: 1.5rem 0.5rem;
    }
    
    .welcome-section h1 {
        font-size: 2.8rem;
    }
    
    .logo-text {
        font-size: 3.8rem;
    }
    
    .login-box {
        max-width: 400px;
        padding: 1.8rem 1.5rem;
    }
    }

    @media (max-width: 768px) {
    .login-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem 0.5rem;
        text-align: center;
    }
    
    .welcome-section {
        order: 2;
        margin: 1rem 0;
        padding: 0.5rem;
    }
    
    .welcome-section h1 {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }
    
    .welcome-section p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .feature-list {
        max-width: 280px;
    }
    
    .feature-list li {
        font-size: 1rem;
        padding: 0.5rem 0;
    }
    
    .login-box {
        order: 1;
        max-width: calc(100% - 1rem);
        margin: 0 auto;
        padding: 1.5rem 1.2rem;
        border-radius: 24px;
    }
    
    .login-box::after {
        border-radius: 24px;
    }
    
    .login-box::before {
        border-radius: 24px 24px 0 0;
    }
    
    .logo-text {
        font-size: 3rem;
    }
    
    .login-title h2 {
        font-size: 1.5rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group input {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
        width: 100%;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
    }
    }

    @media (max-width: 480px) {
    .login-wrap {
        padding: 0.5rem;
    }
    
    .login-container {
        padding: 0.5rem;
    }
    
    .welcome-section h1 {
        font-size: 1.8rem;
    }
    
    .welcome-section p {
        font-size: 0.9rem;
    }
    
    .feature-list {
        max-width: 250px;
    }
    
    .feature-list li {
        font-size: 0.9rem;
    }
    
    .login-box {
        max-width: calc(100% - 1rem);
        padding: 1.2rem 1rem;
        border-radius: 20px;
        margin: 0 auto;
    }
    
    .login-box::after {
        border-radius: 20px;
    }
    
    .login-box::before {
        border-radius: 20px 20px 0 0;
    }
    
    .logo-text {
        font-size: 2.5rem;
    }
    
    .login-title h2 {
        font-size: 1.3rem;
    }
    
    .form-group input {
        padding: 0.7rem 0.8rem;
        font-size: 0.9rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .forgot-password {
        font-size: 0.85rem;
    }
    }

    @media (max-width: 360px) {
    .login-wrap {
        padding: 0.25rem;
    }
    
    .login-container {
        padding: 0.25rem;
    }
    
    .welcome-section h1 {
        font-size: 1.6rem;
    }
    
    .logo-text {
        font-size: 2.2rem;
    }
    
    .login-box {
        max-width: calc(100% - 0.5rem);
        padding: 1rem 0.8rem;
        border-radius: 16px;
        margin: 0 auto;
    }
    
    .login-box::after {
        border-radius: 16px;
    }
    
    .login-box::before {
        border-radius: 16px 16px 0 0;
    }
    
    .form-group input {
        padding: 0.6rem 0.7rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .btn {
        padding: 0.6rem 1rem;
        width: 100%;
        box-sizing: border-box;
    }
    }

/* Floating Particles Animation */
.particles {
    display: none;
}

.particles span {
    display: none;
}

/* Floating Bubbles */
.bubble-container {
    display: none;
}

.bubble {
    display: none;
}
