* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #f2c38b 0%, #e8b9a0 25%, #c9a8c8 50%, #8fa9d9 75%, #6f93c9 100%); overflow-x: hidden; }
body::before { content: ""; position: absolute; background: rgba(255, 255, 255, 0.05); filter: blur(120px); top: -100px; left: -100px; }
body::after { content: ""; position: absolute; background: rgba(255, 255, 255, 0.04); filter: blur(120px); bottom: -100px; right: -100px; }
.title { font-size: 34px; font-weight: 700; color: #222; margin-bottom: 10px; }
.subtitle { color: #666; font-size: 14px; margin-bottom: 30px; line-height: 1.6; }
.input-group { margin-bottom: 18px; }
.input-group label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 600; color: #222; }
.input-group input { width: 100%; padding: 13px 15px; border-radius: 10px; border: 1px solid rgba(145, 145, 145, 0.6); outline: none; transition: 0.3s; font-size: 14px; }
.input-group input:focus { border-color: #6a11cb; box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.15); }
.input-group { margin-bottom: 22px; }
.input-group label { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 600; color: #111; }
.input-group input { width: 100%; height: 52px; border-radius: 10px; border: 1px solid #9aa5b4; background: #dbe4ef; padding: 0 15px; font-size: 15px; outline: none; transition: 0.3s; }
.input-group input:focus { border-color: #5a35ff; box-shadow: 0 0 0 3px rgba(90, 53, 255, 0.15); }
.verify-wrapper { display: flex; gap: 10px; }
.verify-wrapper input { flex: 1; }
.verify-btn { min-width: 95px; border: none; border-radius: 10px; background: linear-gradient(90deg,  #6817d9,  #3268f2); color: #fff; font-size: 14px; cursor: pointer; transition: 0.3s; }
.verify-btn:hover { opacity: 0.92; }
.bottom-link { margin-top: 25px; text-align: center; font-size: 14px; color: #666; }
.bottom-link a { color: #3268f2; text-decoration: none; font-weight: 600; }
.bottom-link a:hover { text-decoration: underline; }
.submit-btn { width: 100%; height: 50px; border: none; border-radius: 12px; background: linear-gradient(90deg,  #6817d9,  #3268f2); color: #fff; font-size: 18px; font-weight: 600; cursor: pointer; transition: 0.3s; }
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(90, 53, 255, 0.25); }
.button-group { display: flex; gap: 12px; margin-top: 25px; }
.back-btn, .continue-btn { flex: 1; padding: 13px; border: none; border-radius: 10px; color: #fff; cursor: pointer; font-size: 14px; transition: 0.3s; }
.back-btn { background: #6c757d; }
.continue-btn { background: linear-gradient(135deg, #6a11cb, #2575fc); }
.back-btn:hover, .continue-btn:hover, .verify-btn:hover { box-shadow: 0 10px 25px rgba(106, 17, 203, 0.25); }
.login-link { margin-top: 28px; font-size: 14px; color: #666; }
.login-link a { color: #2575fc; text-decoration: none; font-weight: 600; }
.login-link a:hover { text-decoration: underline; }
@media(max-width: 768px) {
.title { font-size: 28px; }
}
.login-wrapper { width: 100%; max-width: 420px; padding: 20px; }
.login-box { /* ✨ Frosted white glass */ background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(20px); border-radius: 18px; padding: 40px; /* subtle glossy edge */ border: 1px solid rgba(255, 255, 255, 0.6); /* premium shadow */ box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.6); text-align: center; color: #222; }
.logo img { height: 40px; }
.subtitle { color: rgba(255, 255, 255, 0.7); font-size: 14px; margin-bottom: 25px; }
.input-group { text-align: left; margin-bottom: 18px; }
.input-group label { font-size: 14px; margin-bottom: 6px; display: block; color: #000; }
.input-group input { width: 100%; padding: 12px 14px; border-radius: 8px; border: 1px solid rgba(145, 145, 145, 0.7); background: #fff; color: #000; outline: none; transition: 0.3s; }
.input-group input:focus { border-color: #6a11cb; box-shadow: 0 0 0 2px rgba(106, 17, 203, 0.3); }
/* button */
.login-btn { width: 100%; padding: 13px; border: none; border-radius: 10px; background: linear-gradient(135deg, #6a11cb, #2575fc); color: #fff; font-size: 15px; cursor: pointer; transition: 0.3s; }
.login-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(106, 17, 203, 0.4); }
/* error */
.error { background: rgba(255, 0, 0, 0.7); color: #fff; padding: 10px; margin-bottom: 15px; border-radius: 8px; font-size: 13px; }
/* footer */
.footer { margin-top: 20px; font-size: 12px; color: rgba(255, 255, 255, 0.5); }
.message { padding: 14px; border-radius: 10px; margin-bottom: 20px; font-size: 14px; animation: fadeIn 0.3s ease; }
.success { background: #d1fae5; color: #065f46; border: 1px solid #10b981; }
.error { background: #fee2e2; color: #991b1b; border: 1px solid #ef4444; }
 @keyframes fadeIn {  from {
 opacity: 0;
 transform: translateY(-5px);
}
to { opacity: 1; transform: translateY(0); }
}
.loader { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.3); border-top: 2px solid #fff; border-radius: 50%; animation: spin 0.7s linear infinite; display: none; }
 @keyframes spin {  100% {
 transform: rotate(360deg);
}
}
.verify-btn.loading { pointer-events: none; opacity: 0.8; }
.verify-btn.loading .btn-text { display: none; }
.verify-btn.loading .loader { display: inline-block; }

/* FULLSCREEN LOADER */

.page-loader {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(255,255,255,0.75);

    backdrop-filter: blur(4px);

    z-index: 9999;

    display: none;

    align-items: center;
    justify-content: center;

    flex-direction: column;
}

.page-loader.active {
    display: flex;
}

.loader-spinner {

    width: 55px;
    height: 55px;

    border: 5px solid #ddd;

    border-top: 5px solid #5a35ff;

    border-radius: 50%;

    animation: spin 0.8s linear infinite;
}

.loader-text {

    margin-top: 15px;

    font-size: 15px;

    color: #333;

    font-weight: 600;
}

@keyframes spin {

    100% {
        transform: rotate(360deg);
    }
}
.password-wrapper { position: relative; }
.password-wrapper input { padding-right: 44px !important; }
.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
    line-height: 0;
    color: #6b7280;
}
.toggle-password:hover { color: #374151; }
.toggle-password svg { width: 20px; height: 20px; display: block; }
