*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:"Segoe UI",Tahoma,Geneva,Verdana,sans-serif;
}

body{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:30px;
    background:linear-gradient(135deg,#eef4ff,#dbeafe,#f8fbff);
}

.login-wrapper{
    width:100%;
    max-width:520px;
}

.login-card{
    background:#ffffff;
    border-radius:22px;
    padding:42px;
    box-shadow:
            0 15px 45px rgba(0,0,0,.08),
            0 2px 8px rgba(0,0,0,.04);
    border:1px solid #edf2f7;
}

/* =========================================
   BRAND
========================================= */

.brand-section{
    text-align:center;
    margin-bottom:35px;
}

.brand-logo{
    width:74px;
    height:74px;
    margin:auto;
    border-radius:50%;
    background:linear-gradient(135deg,#2563eb,#1d4ed8);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    font-weight:700;
    letter-spacing:1px;
    margin-bottom:20px;
    box-shadow:0 10px 25px rgba(37,99,235,.25);
}

.brand-section h1{
    font-size:34px;
    color:#1e293b;
    margin-bottom:8px;
}

.subtitle{
    color:#2563eb;
    font-size:17px;
    font-weight:600;
    margin-bottom:10px;
}

.description{
    color:#64748b;
    font-size:15px;
    line-height:24px;
}

/* =========================================
   FORM
========================================= */

.form-group{
    margin-bottom:22px;
}

.form-group label{
    display:block;
    margin-bottom:8px;
    color:#334155;
    font-size:14px;
    font-weight:600;
}

.form-group input,
.form-group select{
    width:100%;
    height:50px;
    border:1px solid #d6dce5;
    border-radius:12px;
    padding:0 16px;
    font-size:15px;
    transition:.25s;
    background:#fff;
}

.form-group input:focus,
.form-group select:focus{
    outline:none;
    border-color:#2563eb;
    box-shadow:0 0 0 4px rgba(37,99,235,.12);
}

/* =========================================
   BUTTONS
========================================= */

.login-btn,
.otp-btn{
    width:100%;
    height:50px;
    border:none;
    border-radius:12px;
    font-size:15px;
    font-weight:600;
    cursor:pointer;
    transition:.25s;
}

.login-btn{
    margin-top:15px;
    color:#fff;
    background:#2563eb;
}

.login-btn:hover{
    background:#1d4ed8;
    transform:translateY(-1px);
}

.otp-btn{
    background:#eff6ff;
    color:#2563eb;
    border:1px solid #bfdbfe;
    margin-bottom:18px;
}

.otp-btn:hover{
    background:#dbeafe;
}

/* =========================================
   OTP CARD
========================================= */

.otp-card{
    margin-top:8px;
    padding:18px;
    border-radius:14px;
    background:#f8fbff;
    border:1px solid #dbeafe;
    animation:fadeIn .35s ease;
}

.otp-header{
    margin-bottom:15px;
}

.otp-header h4{
    color:#1e293b;
    margin-bottom:6px;
    font-size:16px;
}

.otp-header p{
    color:#64748b;
    font-size:14px;
    line-height:22px;
}

/* =========================================
   RESPONSE
========================================= */

.response-box{
    margin-bottom:24px;
    border-radius:14px;
    padding:18px;
    border-left:5px solid transparent;
}

.response-content{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:18px;
}

.response-box h3{
    margin-bottom:6px;
    font-size:16px;
}

.response-box p{
    font-size:14px;
    line-height:22px;
}

.response-action-btn{
    border:none;
    padding:10px 18px;
    border-radius:10px;
    cursor:pointer;
    font-weight:600;
}

.response-success{
    background:#ecfdf3;
    border-left-color:#16a34a;
}

.response-success h3{
    color:#15803d;
}

.response-success p{
    color:#166534;
}

.response-success .response-action-btn{
    background:#16a34a;
    color:#fff;
}

.response-error{
    background:#fef2f2;
    border-left-color:#dc2626;
}

.response-error h3{
    color:#b91c1c;
}

.response-error p{
    color:#7f1d1d;
}

.response-error .response-action-btn{
    background:#dc2626;
    color:#fff;
}

/* =========================================
   UTILITIES
========================================= */

.hidden{
    display:none !important;
}

@keyframes fadeIn{

    from{
        opacity:0;
        transform:translateY(-10px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

/* =========================================
   MOBILE
========================================= */

@media(max-width:600px){

    body{
        padding:15px;
    }

    .login-card{
        padding:28px 22px;
        border-radius:18px;
    }

    .brand-logo{
        width:64px;
        height:64px;
        font-size:24px;
    }

    .brand-section h1{
        font-size:30px;
    }

    .subtitle{
        font-size:16px;
    }

    .response-content{
        flex-direction:column;
        align-items:flex-start;
    }

    .response-action-btn{
        width:100%;
    }

}

.password-field{

    position:relative;

}

.password-field input{

    padding-right:50px;

}

.password-toggle{

    position:absolute;

    right:12px;

    top:50%;

    transform:translateY(-50%);

    background:none;

    border:none;

    cursor:pointer;

    color:#64748b;

    font-size:18px;

}

.password-toggle:hover{

    color:#2563eb;

}

.login-footer{

    margin-top:30px;

    padding-top:20px;

    border-top:1px solid #e5e7eb;

    text-align:center;

    color:#64748b;

    font-size:13px;

}

.login-footer span{

    margin:0 8px;

}