/* ================= GLOBAL ================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    min-height:100vh;
    background:#1f5fbf;
}


/* ================= PAGE LAYOUT ================= */

.page-container{

    max-width:1300px;
    margin:auto;

    min-height:100vh;

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:60px;

    padding:60px 40px;
}


/* ================= LEFT SECTION ================= */

.left-section{

    max-width:420px;

    color:#fff;

    text-align:center;
}

.school-logo{
    width:260px;
    margin-bottom:25px;
}

.left-section h1{
    font-size:30px;
    margin-bottom:35px;
}

.portal{

    display:block;

    text-decoration:none;

    color:#fff;

    font-weight:bold;

    font-size:18px;

    margin:10px 0;
}

.portal.active{
    text-decoration:underline;
}


/* ================= LOGIN CARD ================= */

.login-card{

    width:520px;

    background:#fff;

    border-radius:14px;

    padding:45px 40px;

    box-shadow:0 15px 35px rgba(0,0,0,0.15);
}

.login-card h2{
    font-size:26px;
    margin-bottom:30px;
}


/* ================= INPUTS ================= */

.login-card label{

    font-size:14px;

    display:block;

    margin-bottom:6px;
}

.login-card input{

    width:100%;

    padding:13px 14px;

    border-radius:6px;

    border:1px solid #ccc;

    font-size:14px;

    margin-bottom:20px;
}


/* ================= REMEMBER ROW ================= */

.remember-row{

    display:flex;

    justify-content:space-between;

    align-items:center;

    font-size:13px;

    margin-bottom:25px;
}

.remember{

    display:flex;

    align-items:center;

    gap:8px;
}

.remember input{

    width:auto;

    margin:0;
}

.forgot{

    font-weight:bold;

    color:#f39c12;

    font-size:12px;
}


/* ================= BUTTONS ================= */

.btn-signin{

    width:100%;

    background:#d9251c;

    color:#fff;

    border:none;

    padding:14px;

    border-radius:6px;

    font-weight:bold;

    cursor:pointer;

    margin-bottom:22px;
}

.btn-back{

    display:block;

    text-align:center;

    padding:13px;

    border:1px solid #ccc;

    border-radius:6px;

    text-decoration:none;

    color:#000;
}


/* ================= DIVIDER ================= */

.divider{

    position:relative;

    text-align:center;

    margin:18px 0;

    font-size:14px;
}

.divider span{

    background:#fff;

    padding:0 12px;
}

.divider::before{

    content:"";

    position:absolute;

    left:0;

    top:50%;

    width:100%;

    height:1px;

    background:#ddd;

    z-index:-1;
}


/* ================= TABLET ================= */

@media (max-width:1024px){

.page-container{

    flex-direction:column;

    text-align:center;
}

.login-card{

    width:100%;

    max-width:480px;
}

}


/* ================= MOBILE ================= */

@media (max-width:768px){

.page-container{
    padding:40px 20px;
}

.school-logo{
    width:200px;
}

.left-section h1{
    font-size:24px;
}

.portal{
    font-size:16px;
}

.login-card{
    padding:35px 25px;
}

.login-card h2{
    font-size:22px;
}

.btn-signin,
.btn-back{
    padding:12px;
}

}


/* ================= SMALL PHONES ================= */

@media (max-width:400px){

.school-logo{
    width:170px;
}

.left-section h1{
    font-size:20px;
}

.login-card{
    padding:25px 18px;
}

.login-card input{
    padding:11px;
}

.btn-signin,
.btn-back{
    padding:11px;
    font-size:13px;
}

}
