/* ===================================================
   SCPM College of Allied & Healthcare
   Student Login Portal

   File Name : student-login.css
   Version   : 1.0
   Author    : SCPM Group

=================================================== */

/* Reset */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* Baaki wahi CSS jo Part 2 me diya gaya tha... */
/* ==========================================
   SCPM Student Login Portal
   login.css
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{

    --primary:#E1600F;
    --primary-dark:#B94708;
    --primary-light:#FF8A3D;

    --white:#ffffff;
    --text:#1F2937;
    --muted:#6B7280;

    --border:#E5E7EB;

}

body{

    font-family:'Poppins',sans-serif;

    min-height:100vh;

    display:flex;
    justify-content:center;
    align-items:center;

    background:
    linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.55)),
    url("../../images/login-bg.jpg");

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    padding:20px;

}

.login-wrapper{

    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;

}

.login-overlay{

    position:fixed;
    inset:0;
    backdrop-filter:blur(2px);
    z-index:-1;

}

.login-card{

    width:100%;
    max-width:430px;

    background:#fff;

    border-radius:22px;

    padding:35px;

    box-shadow:0 20px 50px rgba(0,0,0,.20);

    animation:fadeUp .7s ease;

}

.logo-section{

    text-align:center;

    margin-bottom:25px;

}

.logo-section img{

    width:390px;
    height:100px;

    object-fit:contain;

    margin-bottom:12px;

}

.logo-section h2{

    font-size:23px;

    color:#222;

    font-weight:700;

    line-height:1.4;

}

.logo-section p{

    margin-top:6px;

    color:#666;

    font-size:14px;

}

.portal-badge{

    display:inline-flex;

    align-items:center;

    gap:8px;

    margin-top:16px;

    background:#FFF4EC;

    color:var(--primary);

    padding:10px 18px;

    border-radius:30px;

    font-size:14px;

    font-weight:600;

}

.input-group{

    margin-bottom:20px;

}

.input-group label{

    display:block;

    margin-bottom:8px;

    font-size:14px;

    color:#333;

    font-weight:600;

}

.input-box{

    position:relative;

}

.input-box i:first-child{

    position:absolute;

    left:16px;

    top:50%;

    transform:translateY(-50%);

    color:#888;

}

.input-box input{

    width:100%;

    height:54px;

    border:1px solid var(--border);

    border-radius:12px;

    padding-left:48px;

    padding-right:48px;

    font-size:15px;

    transition:.3s;

    outline:none;

}

.input-box input:focus{

    border-color:var(--primary);

    box-shadow:0 0 0 4px rgba(225,96,15,.12);

}

#togglePassword{

    position:absolute;

    right:18px;

    top:50%;

    transform:translateY(-50%);

    cursor:pointer;

    color:#777;

}

.login-options{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:22px;

    font-size:14px;

}

.remember{

    display:flex;

    align-items:center;

    gap:7px;

    color:#555;

}

.login-options a{

    text-decoration:none;

    color:var(--primary);

    font-weight:600;

}

.login-options a:hover{

    text-decoration:underline;

}

.login-btn{

    width:100%;

    height:55px;

    border:none;

    border-radius:12px;

    background:var(--primary);

    color:#fff;

    font-size:16px;

    font-weight:600;

    cursor:pointer;

    transition:.3s;

}

.login-btn:hover{

    background:var(--primary-dark);

    transform:translateY(-2px);

}

.login-btn i{

    margin-right:8px;

}

.register-link{

    text-align:center;

    margin-top:22px;

    font-size:15px;

}

.register-link a{

    text-decoration:none;

    color:var(--primary);

    font-weight:600;

    margin-left:6px;

}

.register-link a:hover{

    text-decoration:underline;

}

.security-box{

    margin-top:20px;

    background:#FFF7F2;

    border-left:4px solid var(--primary);

    padding:14px;

    border-radius:10px;

    color:#555;

    font-size:13px;

    line-height:1.7;

}

.security-box i{

    color:var(--primary);

    margin-right:6px;

}

.home-link{

    margin-top:20px;

    text-align:center;

}

.home-link a{

    color:#444;

    text-decoration:none;

    font-weight:600;

}

.home-link a:hover{

    color:var(--primary);

}

.login-footer{

    margin-top:28px;

    text-align:center;

    color:#777;

    font-size:12px;

    line-height:1.8;

    border-top:1px solid #eee;

    padding-top:18px;

}

/* Animation */

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(35px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* Responsive */

@media(max-width:480px){

.login-card{

    padding:25px;

}

.logo-section img{

    width:75px;
    height:75px;

}

.logo-section h2{

    font-size:20px;

}

.login-options{

    flex-direction:column;

    gap:12px;

}

}