* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    overflow: hidden;
}


/* =========================================
   FULL SCREEN LOGIN
========================================= */

.login-container {
    width: 100vw;
    height: 100vh;
    min-height: 100vh;

    display: flex;

    background: #ffffff;

    border-radius: 0;
    overflow: hidden;

    box-shadow: none;
}


/* =========================================
   LEFT BRANDING PANEL
========================================= */

.branding-panel {
    width: 46%;
    height: 100vh;

    background: #1a4a15;

    position: relative;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    color: white;

    padding: 40px;
}


/* =========================================
   RIGHT FORM PANEL
========================================= */

.form-panel {
    width: 54%;
    height: 100vh;

    background: #ffffff;

    display: flex;

    justify-content: center;
    align-items: center;

    padding: 40px 80px;
}

.form-content {
    width: 100%;
    max-width: 400px;
}


/* =========================================
   LOGO
========================================= */

.logo-wrapper {
    width: 125px;
    height: 125px;

    border-radius: 50%;

    background: #ffffff;

    border: 4px solid #92751b;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;

    margin-bottom: 22px;

    z-index: 2;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* =========================================
   BRANDING TEXT
========================================= */

.portal-label {
    color: #e5a900;

    font-size: 14px;

    font-weight: bold;

    letter-spacing: 2.5px;

    margin-bottom: 12px;

    z-index: 2;
}

.branding-panel h1 {
    font-size: 36px;

    line-height: 1.2;

    margin: 0;

    font-weight: 700;

    z-index: 2;
}

.gold-line {
    width: 60px;
    height: 4px;

    background: #e6ad18;

    border-radius: 10px;

    margin: 22px 0;

    z-index: 2;
}

.department {
    font-size: 15px;

    line-height: 1.6;

    color: #d6d9d5;

    margin: 0 0 20px;

    z-index: 2;
}

.description {
    font-size: 14px;

    line-height: 1.6;

    color: #aeb9b0;

    margin: 0;

    z-index: 2;
}


/* =========================================
   RIGHT SIDE HEADING
========================================= */

.form-content h2 {
    margin: 0 0 12px;

    color: #a66f00;

    font-size: 30px;

    font-weight: 700;
}

.subtitle {
    margin: 0 0 35px;

    color: #687078;

    font-size: 14px;

    line-height: 1.5;
}


/* =========================================
   INPUTS
========================================= */

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;

    margin-bottom: 8px;

    color: #1e2722;

    font-size: 14px;

    font-weight: 600;
}

.input-wrapper {
    position: relative;

    width: 100%;
}

.input-wrapper input {
    width: 100%;

    height: 52px;

    padding: 0 48px 0 45px;

    border: 1px solid #e4dac0;

    border-radius: 10px;

    background: #faf5e6;

    color: #333;

    font-size: 14px;

    outline: none;

    transition: all 0.2s ease;
}

.input-wrapper input:focus {
    border-color: #c89a22;

    background: #fffdf6;

    box-shadow: 0 0 0 3px rgba(200, 154, 34, 0.10);
}

.input-icon {
    position: absolute;

    left: 14px;
    top: 50%;

    transform: translateY(-50%);

    width: 18px;
    height: 18px;

    z-index: 2;

    pointer-events: none;
}

.input-icon svg {
    width: 100%;
    height: 100%;

    fill: none;

    stroke: #56765b;

    stroke-width: 1.5;

    stroke-linecap: round;
}


/* =========================================
   PASSWORD EYE
========================================= */

.password-toggle {
    position: absolute;

    right: 12px;
    top: 50%;

    transform: translateY(-50%);

    border: none;

    background: transparent;

    width: 30px;
    height: 30px;

    padding: 5px;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle svg {
    width: 18px;
    height: 18px;

    fill: none;

    stroke: #65717a;

    stroke-width: 1.5;

    stroke-linecap: round;
}


/* =========================================
   FORGOT PASSWORD
========================================= */

.forgot-row {
    display: flex;

    justify-content: flex-end;

    margin-top: -3px;

    margin-bottom: 25px;
}

.forgot-row a {
    color: #36704f;

    font-size: 13px;

    text-decoration: none;

    font-weight: 500;
}

.forgot-row a:hover {
    text-decoration: underline;
}


/* =========================================
   LOGIN BUTTON
========================================= */

.login-btn {
    width: 100%;

    height: 52px;

    border: none;

    border-radius: 10px;

    background: #e7a817;

    color: #1e1a0f;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

    box-shadow: 0 8px 18px rgba(190, 139, 21, 0.22);

    transition: all 0.2s ease;
}

.login-btn:hover {
    background: #d99708;

    transform: translateY(-1px);

    box-shadow: 0 10px 20px rgba(190, 139, 21, 0.28);
}


/* =========================================
   MESSAGES
========================================= */

.success-msg,
.error-msg {
    padding: 12px;

    margin-bottom: 20px;

    border-radius: 8px;

    font-size: 13px;

    text-align: center;
}

.success-msg {
    background: #e5f4e8;
    color: #28613a;
    border: 1px solid #c7e4cd;
}

.error-msg {
    background: #fbe8e8;
    color: #9b3030;
    border: 1px solid #efcaca;
}


/* =========================================
   FOOTER
========================================= */

.footer {
    text-align: center;

    margin-top: 30px;

    color: #7a7f80;

    font-size: 12px;
}


/* =========================================
   DECORATIVE CIRCUITS
========================================= */

.circuit {
    position: absolute;

    border: 1px solid rgba(210, 167, 20, 0.20);

    opacity: 0.8;
}

.circuit-1 {
    width: 300px;
    height: 200px;

    top: 60px;
    left: -80px;

    border-right: none;
    border-top: none;
}

.circuit-2 {
    width: 250px;
    height: 150px;

    top: 40px;
    right: -100px;

    border-left: none;
    border-bottom: none;
}


/* =========================================
   DECORATIVE ORBITS
========================================= */

.orb {
    position: absolute;

    border: 1px solid rgba(202, 161, 25, 0.28);

    border-radius: 50%;

    pointer-events: none;
}

.orb-1 {
    width: 420px;
    height: 180px;

    right: -170px;
    bottom: 50px;

    transform: rotate(55deg);
}

.orb-2 {
    width: 380px;
    height: 170px;

    right: -130px;
    bottom: 10px;

    transform: rotate(-55deg);
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 750px) {

    body {
        overflow: auto;
    }

    .login-container {
        width: 100%;
        height: auto;
        min-height: 100vh;

        flex-direction: column;
    }

    .branding-panel {
        width: 100%;
        height: auto;
        min-height: 360px;

        padding: 45px 25px;
    }

    .form-panel {
        width: 100%;
        height: auto;
        min-height: 500px;

        padding: 50px 30px;
    }

    .branding-panel h1 {
        font-size: 28px;
    }

    .form-content h2 {
        font-size: 25px;
    }
}