*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Poppins;
}

html,
body{
    width:100%;
    min-height:100%;
}

body{
    min-height:100vh;
    background:url("logos/school.jpg") no-repeat center center/cover;
}

/* =========================
   OVERLAY
   ========================= */

.overlay{
    position:fixed;
    inset:0;
    width:100%;
    height:100%;
    background:rgba(50,120,200,0.6);
    z-index:1;
}

/* =========================
   CONTAINER
   ========================= */

.container{
    position:relative;
    z-index:2;
    width:100%;
    min-height:100vh;

    display:flex;
    flex-direction:column;
    align-items:center;

    text-align:center;
    color:white;

    padding:
        clamp(20px, 5vh, 40px)
        15px
        20px;
}

/* =========================
   LOGO
   ========================= */

.logo{
    width:clamp(55px, 8vw, 80px);
    height:auto;
    margin-bottom:clamp(8px, 1.5vw, 10px);
}

/* =========================
   LOGIN BOX
   ========================= */

.login-box{
    width:min(350px, 100%);
    padding:clamp(20px, 4vw, 30px);

    background:
        linear-gradient(
            135deg,
            #dbcd05 0%,
            #fff9d6 35%,
            #ffffff 75%
        );

    color:black;

    border-radius:15px;

    box-shadow:
        0 8px 25px rgba(0,0,0,0.3);

    border:1px solid rgba(255,193,7,0.35);
}

/* =========================
   LOCK
   ========================= */

.lock-circle{
    width:clamp(50px, 8vw, 60px);
    height:clamp(50px, 8vw, 60px);

    background:#3b82f6;

    border-radius:50%;

    display:flex;
    justify-content:center;
    align-items:center;

    margin:0 auto clamp(12px, 2vw, 15px);
}

.lock-icon{
    width:clamp(28px, 5vw, 35px);
    height:auto;
}

/* =========================
   INPUT
   ========================= */

.input-box{
    position:relative;
    width:100%;
    margin-bottom:15px;
}

.input-box input{
    width:100%;

    padding:
        11px
        10px
        11px
        40px;

    min-height:44px;

    border:1px solid #ccc;
    border-radius:5px;

    background:rgba(255,255,255,0.9);

    outline:none;

    font-size:clamp(14px, 1.5vw, 16px);
}

.input-box input:focus{
    border-color:#3b82f6;

    box-shadow:
        0 0 5px rgba(59,130,246,0.25);
}

/* =========================
   INPUT ICON
   ========================= */

.input-icon{
    position:absolute;

    top:50%;
    left:10px;

    transform:translateY(-50%);

    width:20px;
    height:auto;
}

/* =========================
   LOGIN BUTTON
   ========================= */

.login-btn{
    width:100%;

    min-height:44px;

    padding:11px 12px;

    background:#3b82f6;
    color:white;

    border:none;
    border-radius:5px;

    font-size:clamp(14px, 1.5vw, 16px);

    cursor:pointer;

    transition:0.3s;
}

.login-btn:hover{
    background:yellow;
    color:black;
}

/* =========================
   FOOTER
   ========================= */

footer{
    margin-top:clamp(25px, 5vh, 40px);

    font-size:clamp(10px, 1.5vw, 12px);

    width:100%;
}

/* =================================================
   📱 SMALL MOBILE
   ================================================= */

@media screen and (max-width:480px){

    .container{
        padding:
            20px
            12px
            15px;
    }

    .login-box{
        width:100%;
        max-width:340px;
        padding:20px 18px;
        border-radius:12px;
    }

    .logo{
        width:58px;
    }

    .lock-circle{
        width:52px;
        height:52px;
    }

    .lock-icon{
        width:30px;
    }

    .input-box input{
        min-height:44px;
        padding-left:38px;
    }

    .login-btn{
        min-height:44px;
    }

    footer{
        margin-top:25px;
    }
}

/* =================================================
  VERY SMALL MOBILE
   ================================================= */

@media screen and (max-width:360px){

    .container{
        padding-top:15px;
    }

    .login-box{
        padding:18px 15px;
    }

    .logo{
        width:52px;
    }

    .input-box{
        margin-bottom:12px;
    }

    .input-box input{
        min-height:42px;
        font-size:14px;
    }

    .login-btn{
        min-height:42px;
        font-size:14px;
    }
}

/* =================================================
   LAPTOP / DESKTOP
   ================================================= */

@media screen and (min-width:769px){

    .container{
        padding-top:40px;
    }

    .login-box{
        max-width:350px;
    }
}