/* =========================================================
   BIMOCOHT LOGIN PORTAL
========================================================= */

:root {
    --bimo-blue: #074297;
    --bimo-blue-dark: #052d68;
    --bimo-gold: #d4af37;
    --bimo-light: #f5f8fd;
    --bimo-text: #26364a;
}

/* PAGE */

.login-page {
    min-height: 100vh;
    background:
        linear-gradient(
            135deg,
            rgba(7, 66, 151, 0.96),
            rgba(5, 45, 104, 0.94)
        ),
        url("../images/college-building.jpg");

    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 120px 20px 70px;
}

/* MAIN CONTAINER */

.login-wrapper {
    width: 100%;
    max-width: 1050px;
}

/* LOGIN CARD */

.login-card {
    background: rgba(255,255,255,0.98);
    border-radius: 22px;
    overflow: hidden;

    box-shadow:
        0 25px 70px rgba(0,0,0,0.25);

    display: flex;

    min-height: 560px;
}

/* LEFT PANEL */

.login-brand-panel {
    width: 43%;

    background:
        linear-gradient(
            160deg,
            #074297,
            #052d68
        );

    color: #fff;

    padding: 50px 40px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    position: relative;
    overflow: hidden;
}

/* Decorative circles */

.login-brand-panel::before {
    content: "";
    position: absolute;

    width: 260px;
    height: 260px;

    border: 1px solid rgba(212,175,55,0.35);

    border-radius: 50%;

    right: -100px;
    top: -80px;
}

.login-brand-panel::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    border: 1px solid rgba(255,255,255,0.15);

    border-radius: 50%;

    left: -80px;
    bottom: -70px;
}

/* LOGO */

.login-logo {
    width: 90px;
    height: 90px;

    object-fit: contain;

    background: #fff;

    border-radius: 50%;

    padding: 8px;

    margin-bottom: 25px;

    position: relative;
    z-index: 2;
}

/* COLLEGE NAME */

.login-brand-panel h1 {
    font-size: 25px;
    font-weight: 800;

    line-height: 1.25;

    margin-bottom: 12px;

    position: relative;
    z-index: 2;
}

.login-brand-panel h1 span {
    color: var(--bimo-gold);
}

.login-brand-panel p {
    font-size: 14px;
    line-height: 1.8;

    opacity: 0.88;

    max-width: 380px;

    position: relative;
    z-index: 2;
}

/* GOLD LINE */

.login-gold-line {
    width: 70px;
    height: 4px;

    background: var(--bimo-gold);

    border-radius: 20px;

    margin: 12px 0 20px;

    position: relative;
    z-index: 2;
}

/* ROLE BADGE */

.login-role-badge {
    display: inline-flex;

    align-items: center;
    gap: 9px;

    margin-top: 25px;

    padding: 9px 15px;

    border: 1px solid rgba(255,255,255,0.25);

    background: rgba(255,255,255,0.08);

    border-radius: 50px;

    font-size: 12px;

    width: fit-content;

    position: relative;
    z-index: 2;
}

/* RIGHT */

.login-form-panel {
    width: 57%;

    padding: 50px 55px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* FORM HEADER */

.login-header {
    margin-bottom: 30px;
}

.login-header-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(7,66,151,0.09);

    color: var(--bimo-blue);

    border-radius: 16px;

    font-size: 24px;

    margin-bottom: 18px;
}

.login-header h2 {
    color: var(--bimo-blue-dark);

    font-size: 29px;

    font-weight: 800;

    margin: 0 0 7px;
}

.login-header p {
    color: #718096;

    font-size: 14px;

    margin: 0;
}

/* INPUT GROUP */

.login-input-group {
    position: relative;

    margin-bottom: 20px;
}

.login-input-group > i {
    position: absolute;

    left: 16px;
    top: 50%;

    transform: translateY(-50%);

    color: #7b8794;

    z-index: 2;
}

.login-input-group input {
    width: 100%;

    height: 52px;

    padding: 10px 45px;

    border: 1px solid #dce3ec;

    border-radius: 12px;

    outline: none;

    font-size: 14px;

    transition: 0.25s;
}

.login-input-group input:focus {
    border-color: var(--bimo-blue);

    box-shadow:
        0 0 0 4px rgba(7,66,151,0.08);
}

/* PASSWORD BUTTON */

.password-toggle {
    position: absolute;

    right: 14px;
    top: 50%;

    transform: translateY(-50%);

    border: none;

    background: transparent;

    color: #7b8794;

    cursor: pointer;

    z-index: 3;
}

/* LABEL */

.login-label {
    display: block;

    font-size: 13px;

    font-weight: 700;

    color: #344054;

    margin-bottom: 7px;
}

/* OPTIONS */

.login-options {
    display: flex;

    justify-content: space-between;

    align-items: center;

    margin: -5px 0 22px;

    font-size: 12px;
}

.login-options a {
    color: var(--bimo-blue);

    text-decoration: none;

    font-weight: 600;
}

.login-options a:hover {
    text-decoration: underline;
}

/* LOGIN BUTTON */

.login-submit {
    width: 100%;

    height: 53px;

    border: none;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #074297,
            #0a5dcc
        );

    color: #fff;

    font-size: 15px;

    font-weight: 700;

    box-shadow:
        0 10px 22px rgba(7,66,151,0.22);

    transition: 0.25s;

    cursor: pointer;
}

.login-submit:hover {
    transform: translateY(-2px);

    box-shadow:
        0 14px 28px rgba(7,66,151,0.28);
}

/* CONTACT */

.login-contact {
    text-align: center;

    margin-top: 25px;

    color: #7b8794;

    font-size: 12px;
}

.login-contact a {
    color: var(--bimo-blue);

    font-weight: 700;

    text-decoration: none;
}

/* LOGIN SWITCHER */

.login-switcher {
    display: flex;

    justify-content: center;

    gap: 8px;

    flex-wrap: wrap;

    margin-top: 18px;
}

.login-switcher a {
    padding: 6px 11px;

    border-radius: 20px;

    background: #f0f4f9;

    color: #52606d;

    text-decoration: none;

    font-size: 11px;

    font-weight: 600;

    transition: 0.2s;
}

.login-switcher a:hover {
    background: var(--bimo-blue);

    color: #fff;
}

/* ERROR */

.login-error,
.form-error {
    padding: 10px 13px;

    background: #fff1f1;

    border: 1px solid #ffd5d5;

    border-radius: 9px;

    color: #c62828;

    font-size: 12px;

    margin-bottom: 18px;

    text-align: center;
}

/* SUCCESS */

.login-success,
.form-success,
.signupsuccess {
    padding: 10px 13px;

    background: #effbf3;

    border: 1px solid #c9efd5;

    border-radius: 9px;

    color: #16803a;

    font-size: 12px;

    margin-bottom: 18px;

    text-align: center;
}

/* MOBILE */

@media (max-width: 767px) {

    .login-page {
        padding: 100px 15px 50px;

        align-items: flex-start;
    }

    .login-card {
        flex-direction: column;

        border-radius: 18px;
    }

    .login-brand-panel {
        width: 100%;

        padding: 30px 25px;

        text-align: center;

        min-height: 270px;

        align-items: center;
    }

    .login-logo {
        width: 70px;
        height: 70px;

        margin-bottom: 15px;
    }

    .login-brand-panel h1 {
        font-size: 20px;
    }

    .login-brand-panel p {
        font-size: 12px;
    }

    .login-gold-line {
        margin: 10px auto 15px;
    }

    .login-role-badge {
        margin-top: 10px;
    }

    .login-form-panel {
        width: 100%;

        padding: 35px 25px;
    }

    .login-header h2 {
        font-size: 24px;
    }

}