* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    font-family: "Segoe UI", Arial, sans-serif;
}

body {
    background: #03182D;
    color: #172333;
}

/* =========================================================
   MAIN PAGE
========================================================= */

.student-login-page {
    width: 100%;
    min-height: 100vh;

    display: grid;
    grid-template-columns: 46% 54%;

    background: #f7f9fc;
}


/* =========================================================
   LEFT BRAND PANEL
========================================================= */

.student-brand-panel {
    position: relative;

    min-height: 100vh;

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at 15% 15%,
            rgba(216, 154, 33, 0.18),
            transparent 32%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(243, 189, 69, 0.10),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #03182D 0%,
            #08243D 50%,
            #0D304D 100%
        );
}


/* Decorative circle */

.student-brand-panel::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    border: 1px solid rgba(243, 189, 69, 0.18);

    border-radius: 50%;

    top: -170px;
    left: -170px;
}


/* Decorative circle */

.student-brand-panel::after {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    border: 1px solid rgba(243, 189, 69, 0.10);

    border-radius: 50%;

    bottom: -260px;
    right: -220px;
}


/* =========================================================
   BRAND CONTENT
========================================================= */

.brand-content {
    position: relative;
    z-index: 2;

    width: min(520px, 80%);

    color: white;
}


/* =========================================================
   LOGO
========================================================= */

.student-logo {
    width: 92px;
    height: 92px;

    object-fit: cover;

    border-radius: 18px;

    background: white;

    padding: 5px;

    margin-bottom: 30px;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.30);
}


/* =========================================================
   BRAND SMALL TITLE
========================================================= */

.brand-small {
    display: block;

    color: #F3BD45;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 3px;

    margin-bottom: 16px;
}


/* =========================================================
   MAIN TITLE
========================================================= */

.brand-content h1 {
    font-size: clamp(48px, 5vw, 76px);

    line-height: 0.98;

    font-weight: 800;

    letter-spacing: -3px;

    margin-bottom: 28px;
}

.brand-content h1 span {
    color: #F3BD45;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.brand-content > p {
    max-width: 470px;

    color: rgba(255, 255, 255, 0.75);

    font-size: 17px;

    line-height: 1.8;

    margin-bottom: 35px;
}


/* =========================================================
   GOLD LINE
========================================================= */

.brand-line {
    width: 70px;
    height: 4px;

    background: #D89A21;

    border-radius: 10px;

    margin-bottom: 32px;
}


/* =========================================================
   BRAND INFORMATION
========================================================= */

.brand-info {
    display: flex;

    flex-direction: column;

    gap: 20px;
}

.brand-info div {
    display: flex;

    flex-direction: column;

    gap: 5px;
}

.brand-info strong {
    color: white;

    font-size: 15px;
}

.brand-info span {
    color: rgba(255, 255, 255, 0.55);

    font-size: 13px;
}


/* =========================================================
   RIGHT LOGIN PANEL
========================================================= */

.student-login-panel {
    min-height: 100vh;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 50px;

    background: #f7f9fc;
}


/* =========================================================
   LOGIN CARD
========================================================= */

.login-card {
    width: 100%;
    max-width: 510px;

    background: #ffffff;

    border-radius: 24px;

    padding: 48px 45px;

    border: 1px solid rgba(3, 24, 45, 0.06);

    box-shadow:
        0 20px 70px rgba(3, 24, 45, 0.12);
}


/* =========================================================
   MOBILE LOGO
========================================================= */

.mobile-logo {
    display: none;
}


/* =========================================================
   LOGIN HEADING
========================================================= */

.login-heading {
    margin-bottom: 30px;
}

.login-label {
    display: inline-block;

    color: #B57A09;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 12px;
}

.login-heading h2 {
    color: #03182D;

    font-size: 38px;

    line-height: 1.15;

    font-weight: 800;

    margin-bottom: 10px;
}

.login-heading p {
    color: #718096;

    font-size: 15px;

    line-height: 1.6;
}


/* =========================================================
   FORM
========================================================= */

#studentLoginForm {
    width: 100%;
}

.form-group {
    width: 100%;

    margin-bottom: 22px;
}

.form-group label {
    display: block;

    color: #172333;

    font-size: 14px;

    font-weight: 700;

    margin-bottom: 9px;
}


/* =========================================================
   INPUT BOX
========================================================= */

.input-box {
    position: relative;

    width: 100%;
}

.input-icon {
    position: absolute;

    left: 16px;
    top: 50%;

    transform: translateY(-50%);

    font-size: 17px;

    z-index: 2;

    pointer-events: none;
}

.input-box input {
    width: 100%;
    height: 56px;

    border: 1px solid #dce3ea;

    border-radius: 12px;

    background: #fbfcfe;

    color: #03182D;

    font-size: 15px;

    padding: 0 50px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.input-box input::placeholder {
    color: #9aa6b2;
}

.input-box input:focus {
    border-color: #D89A21;

    background: #ffffff;

    box-shadow:
        0 0 0 4px rgba(216, 154, 33, 0.12);
}


/* =========================================================
   PIN SHOW/HIDE BUTTON
========================================================= */

.pin-toggle {
    position: absolute;

    right: 10px;
    top: 50%;

    transform: translateY(-50%);

    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: none;

    background: transparent;

    cursor: pointer;

    border-radius: 8px;

    font-size: 17px;
}

.pin-toggle:hover {
    background: #FFF7E5;
}


/* =========================================================
   LOGIN BUTTON
========================================================= */

.student-login-button {
    width: 100%;
    height: 57px;

    margin-top: 8px;

    border: none;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #D89A21,
            #F3BD45
        );

    color: #03182D;

    font-size: 13px;

    font-weight: 900;

    letter-spacing: 1.2px;

    cursor: pointer;

    box-shadow:
        0 10px 25px rgba(216, 154, 33, 0.25);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}

.student-login-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 14px 30px rgba(216, 154, 33, 0.32);
}

.student-login-button:active {
    transform: translateY(0);
}

.student-login-button:disabled {
    opacity: 0.65;

    cursor: not-allowed;

    transform: none;
}


/* =========================================================
   ERROR / SUCCESS
========================================================= */

.login-message {
    width: 100%;

    padding: 13px 15px;

    border-radius: 10px;

    margin-bottom: 20px;

    font-size: 14px;

    line-height: 1.5;

    font-weight: 600;
}

.error-message {
    color: #a52222;

    background: #fff1f1;

    border: 1px solid #f0c0c0;
}

.success-message {
    color: #176b3a;

    background: #edfff4;

    border: 1px solid #b7e2c8;
}


/* =========================================================
   FOOTER
========================================================= */

.login-footer {
    text-align: center;

    margin-top: 28px;
}

.login-footer a {
    color: #B57A09;

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;
}

.login-footer a:hover {
    color: #D89A21;

    text-decoration: underline;
}

.login-footer p {
    margin-top: 12px;

    color: #9aa6b2;

    font-size: 12px;
}


/* =========================================================
   LOADER
========================================================= */

#loginLoader {
    display: inline-block;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

    .student-login-page {
        grid-template-columns: 40% 60%;
    }

    .student-login-panel {
        padding: 30px;
    }

    .login-card {
        padding: 38px 32px;
    }

    .brand-content {
        width: 82%;
    }

    .brand-content h1 {
        font-size: 48px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 720px) {

    .student-login-page {
        display: block;

        min-height: 100vh;
    }

    .student-brand-panel {
        display: none;
    }

    .student-login-panel {
        width: 100%;

        min-height: 100vh;

        padding: 25px 16px;

        display: flex;

        align-items: center;
        justify-content: center;
    }

    .login-card {
        width: 100%;

        max-width: 500px;

        padding: 32px 24px;

        border-radius: 20px;
    }

    .mobile-logo {
        display: flex;

        justify-content: center;

        margin-bottom: 24px;
    }

    .mobile-logo img {
        width: 76px;
        height: 76px;

        object-fit: cover;

        border-radius: 16px;

        padding: 4px;

        background: white;

        box-shadow:
            0 8px 25px rgba(3, 24, 45, 0.15);
    }

    .login-heading {
        text-align: center;
    }

    .login-heading h2 {
        font-size: 31px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .student-login-panel {
        padding: 15px;
    }

    .login-card {
        padding: 28px 20px;
    }

    .login-heading h2 {
        font-size: 28px;
    }

    .input-box input {
        height: 53px;
    }

    .student-login-button {
        height: 54px;
    }

}