/* ===========================
   RESET
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial,sans-serif;
}

body{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    overflow:hidden;
    background:#0f1117;
    position:relative;
}

/* ===========================
   BACKGROUND
=========================== */

.background{
    position:fixed;
    inset:0;
    background:
    radial-gradient(circle at top,#3b2d18 0%,#1a1a1a 35%,#0f1117 100%);
    z-index:-2;
}

/* ===========================
   LAMP AREA
=========================== */

.lamp-area{
    position:absolute;
    left:8%;
    top:50%;
    transform:translateY(-50%);
}

.lamp{
    position:relative;
    width:120px;
    height:260px;
}

/* Lamp Head */

.lamp-top{
    width:120px;
    height:60px;
    background:#fff;
    border-radius:60px 60px 15px 15px;
    box-shadow:0 0 40px rgba(255,255,255,.8);
}

/* Stand */

.lamp-stand{
    width:12px;
    height:140px;
    background:#ddd;
    margin:auto;
}

/* Base */

.lamp-base{
    width:70px;
    height:10px;
    background:#ddd;
    border-radius:10px;
    margin:auto;
}

/* Light */

.light{
    position:absolute;
    top:25px;
    left:40px;
    width:280px;
    height:280px;
    border-radius:50%;
    background:radial-gradient(
        rgba(255,220,120,.45),
        rgba(255,220,120,.15),
        transparent 75%
    );
    animation:glow 2s ease-in-out infinite alternate;
}

@keyframes glow{

from{
    opacity:.6;
    transform:scale(.95);
}

to{
    opacity:1;
    transform:scale(1.08);
}

}

/* ===========================
   LOGIN CARD
=========================== */

.login-card{

    width:400px;
    max-width:100%;

    padding:40px;

    border-radius:40px;

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.15);

    box-shadow:0 15px 40px rgba(0,0,0,.35);

}

.login-card h1{

    color:#fff;

    text-align:center;

    margin-bottom:8px;

    font-size:32px;

}

.subtitle{

    color:#ddd;

    text-align:center;

    margin-bottom:30px;

}

/* ===========================
   INPUT
=========================== */

.input-group{

    margin-bottom:18px;

}

.input-group label{

    display:block;

    color:#fff;

    margin-bottom:8px;

    font-size:15px;

}

.input-group input{

    width:100%;

    padding:14px 18px;

    border:none;

    outline:none;

    border-radius:14px;

    background:rgba(255,255,255,.10);

    color:#fff;

    font-size:16px;

}

.input-group input::placeholder{

    color:#fff;

}

.input-group input:focus{

    box-shadow:0 0 12px rgba(255,215,0,.45);

}

/* ===========================
   LOGIN BUTTON
=========================== */

.login-btn{

    width:100%;

    padding:15px;

    border:none;

    border-radius:50px;

    cursor:pointer;

    font-size:17px;

    font-weight:bold;

    margin-top:12px;

    background:linear-gradient(
        135deg,
        #ffd54f,
        #ffb300
    );

    color:#000;

}

.login-btn:hover{

    transform:translateY(-3px);

    box-shadow:0 10px 25px rgba(255,193,7,.45);

}

/* ===========================
   BACK BUTTON
=========================== */

.back-btn{

    display:block;

    margin-top:20px;

    text-align:center;

    color:#fff;

    text-decoration:none;

    font-weight:bold;

}

/* ===========================
   MOBILE
=========================== */

@media(max-width:768px){

.lamp-area{

    display:none;

}

.login-card{

    width:92%;

    padding:28px;

}

}

.back-btn:hover{
    background:#2196F3;
    color:#ffffff;
    transform:translateY(-2px);
    box-shadow:0 8px 20px rgba(33,150,243,0.3);
}
.blue-btn{
    width:100%;
    padding:15px;
    margin-top:15px;
    background:#1976d2;
    color:white;
    border:none;
    border-radius:10px;
    font-size:17px;
    font-weight:bold;
    cursor:pointer;
    transition:0.3s;
}

.blue-btn:hover{
    background:#125ca1;
}

.green-btn{
    width:100%;
    padding:15px;
    margin-top:15px;
    background:#28a745;
    color:white;
    border:none;
    border-radius:10px;
    font-size:17px;
    font-weight:bold;
    cursor:pointer;
    transition:0.3s;
}

.green-btn:hover{
    background:#218838;
}

.modern-back-btn{
    display:block;
    width:100%;
    margin-top:20px;
    padding:14px;
    text-align:center;
    text-decoration:none;
    color:#1976d2;
    background:white;
    border:2px solid #1976d2;
    border-radius:50px;
    font-weight:bold;
    transition:0.3s;
}

.modern-back-btn:hover{
    background:#1976d2;
    color:white;
}

/* ===========================
   PASSWORD CONTAINER
=========================== */

.password-container{
    position:relative;
}

.password-container input{
    width:100%;
    padding-right:55px;
}

.toggle-password{
    position:absolute;
    right:18px;
    top:50%;
    transform:translateY(-50%);
    cursor:pointer;
    font-size:22px;
    color:#ddd;
    user-select:none;
}

.toggle-password:hover{
    color:#ffd54f;
}

/* ===========================
   FORGOT PASSWORD
=========================== */

.forgot-btn{

    width:100%;

    margin-top:15px;

    padding:14px;

    border:none;

    border-radius:50px;

    cursor:pointer;

    font-size:16px;

    font-weight:bold;

    background:rgba(255,255,255,.08);

    color:#fff;

    border:1px solid rgba(255,255,255,.15);

    backdrop-filter:blur(10px);

}

.forgot-btn:hover{

    background:rgba(255,255,255,.15);

    transform:translateY(-2px);

    box-shadow:0 8px 20px rgba(255,255,255,.15);

}

/* ===========================
   CARD ANIMATION
=========================== */

.login-card{

    animation:cardFade .8s ease;

}

@keyframes cardFade{

    from{

        opacity:0;

        transform:translateY(30px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* ==========================================
   FORGOT PASSWORD - PART 1
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{

    width:100%;

    overflow-x:hidden;

}

body{

    width:100%;

    min-height:100vh;

    overflow-x:hidden;      /* Prevent left-right movement */
    overflow-y:auto;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:20px;

    font-family:Arial,sans-serif;

    background:#070B14;

    position:relative;

}

/* Background Glow */

body::before{

    content:"";

    position:fixed;

    width:320px;

    height:320px;

    top:-120px;

    right:-120px;

    border-radius:50%;

    background:rgba(255,200,120,.25);

    filter:blur(90px);

}

body::after{

    content:"";

    position:fixed;

    width:260px;

    height:260px;

    bottom:-100px;

    left:-100px;

    border-radius:50%;

    background:rgba(66,165,245,.18);

    filter:blur(90px);

}

/* Glass Card */

.login-box{

    width:100%;

    max-width:390px;

    padding:35px 25px;

    border-radius:30px;

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.12);

    box-shadow:

        0 15px 40px rgba(0,0,0,.45),

        0 0 30px rgba(255,255,255,.05);

    position:relative;

    z-index:10;

}

/* Back Button */

.back-circle{

    width:42px;

    height:42px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    text-decoration:none;

    color:#fff;

    background:rgba(255,255,255,.08);

    border:1px solid rgba(255,255,255,.15);

    margin-bottom:25px;

    transition:.3s;

}

.back-circle:hover{

    background:rgba(255,255,255,.15);

}

/* ==========================================
   PREMIUM HEADER
========================================== */

.logo{

    width:90px;

    height:90px;

    margin:10px auto 20px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:42px;

    color:#fff;

    background:linear-gradient(
        135deg,
        rgba(255,255,255,.18),
        rgba(255,255,255,.05)
    );

    border:1px solid rgba(255,255,255,.15);

    box-shadow:
        0 0 30px rgba(255,215,150,.25);

}

.login-box h1{

    color:#fff;

    text-align:center;

    font-size:30px;

    font-weight:700;

    margin-bottom:8px;

}

.subtitle{

    text-align:center;

    color:#D1D5DB;

    font-size:15px;

    line-height:1.6;

    margin-bottom:28px;

}

/* ==========================================
   INPUTS
========================================== */

.login-box input{

    width:100%;

    height:56px;

    margin-bottom:18px;

    padding:0 18px;

    border-radius:18px;

    outline:none;

    border:1px solid rgba(255,255,255,.10);

    background:rgba(255,255,255,.06);

    color:#fff;

    font-size:16px;

    backdrop-filter:blur(10px);

    transition:.3s;

}

.login-box input::placeholder{

    color:#BFC7D5;

}

.login-box input:focus{

    border-color:rgba(255,215,160,.60);

    box-shadow:

        0 0 18px rgba(255,215,160,.20);

}

/* ==========================================
   PASSWORD ICON
========================================== */

.password-container{

    position:relative;

}

.password-container input{

    padding-right:55px;

    margin-bottom:18px;

}

.toggle-password{

    position:absolute;

    right:18px;

    top:50%;

    transform:translateY(-50%);

    font-size:22px;

    color:#D1D5DB;

    cursor:pointer;

}

.toggle-password:hover{

    color:#FFD58A;

}

/* ==========================================
   PREMIUM RESET BUTTON
========================================== */

.login-box button{

    width:100%;

    height:58px;

    margin-top:8px;

    border:none;

    border-radius:18px;

    cursor:pointer;

    font-size:17px;

    font-weight:700;

    color:#fff;

    background:linear-gradient(
        90deg,
        #2B3445,
        #6D5A7A,
        #EFD8C5
    );

    background-size:250%;

    transition:.45s;

    box-shadow:
        0 10px 25px rgba(0,0,0,.35);

}

.login-box button:hover{

    background-position:right;

    transform:translateY(-2px);

    box-shadow:
        0 15px 35px rgba(239,216,197,.25);

}

.login-box button:active{

    transform:scale(.98);

}

/* ==========================================
   BACK LINK
========================================== */

.back-btn{

    display:block;

    text-align:center;

    margin-top:22px;

    color:#D7DCE4;

    text-decoration:none;

    font-size:15px;

    transition:.3s;

}

.back-btn:hover{

    color:#FFD58A;

}

/* ==========================================
   CARD ANIMATION
========================================== */

.login-box{

    animation:popup .6s ease;

}

@keyframes popup{

    from{

        opacity:0;

        transform:translateY(35px) scale(.95);

    }

    to{

        opacity:1;

        transform:translateY(0) scale(1);

    }

}

/* ==========================================
   MOBILE RESPONSIVE
========================================== */

@media(max-width:420px){

.login-box{

    width:100%;

    max-width:360px;

    padding:28px 20px;

}

.logo{

    width:80px;

    height:80px;

    font-size:36px;

}

.login-box h1{

    font-size:26px;

}

.subtitle{

    font-size:14px;

}

.login-box input{

    height:54px;

}

.login-box button{

    height:56px;

}

}

/* ==========================================
   REMOVE BLUE TAP HIGHLIGHT
========================================== */

*{

    -webkit-tap-highlight-color:transparent;

}

/* ==========================================
   HIDE HORIZONTAL SCROLL
========================================== */

html,
body{

    overflow-x:hidden;

}