/* =========================================================
   COMPACT LOGIN PAGE
========================================================= */

.login-page {
    min-height: calc(100vh - 75px);
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef4f8;
    box-sizing: border-box;
}

.login-container {
    width: min(920px, 100%);
    min-height: 500px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    overflow: hidden;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(8, 61, 99, 0.16);
}

/* LEFT SIDE */

.login-image-panel {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    background:
        url("../images/hero/world-travel.jpg")
        center / cover no-repeat;
}

.login-image-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(5, 34, 55, 0.15),
            rgba(5, 34, 55, 0.92)
        );
}

.login-image-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    color: #ffffff;
}

.login-image-content span {
    display: inline-block;
    margin-bottom: 8px;
    color: #efc86a;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.login-image-content h1 {
    margin: 0;
    font-size: 31px;
    line-height: 1.15;
}

.login-image-content p {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 14px;
    line-height: 1.55;
}

/* FORM SIDE */

.login-form-panel {
    padding: 28px 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-brand {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 10px;
}

.login-logo {
    width: auto;
    height: 52px;
    object-fit: contain;
}

.login-heading {
    margin-bottom: 20px;
}

.login-heading > span {
    display: inline-block;
    margin-bottom: 6px;
    color: #d8a83e;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.login-heading h2 {
    margin: 0;
    color: #083d63;
    font-size: 28px;
    line-height: 1.15;
}

.login-heading p {
    margin: 7px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.45;
}

/* FORM */

.login-form-group {
    margin-bottom: 15px;
}

.login-form-group label {
    display: block;
    margin-bottom: 6px;
    color: #17324d;
    font-size: 13px;
    font-weight: 700;
}

.login-form-group input {
    width: 100%;
    height: 45px;
    padding: 0 13px;
    box-sizing: border-box;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    background: #ffffff;
    color: #172033;
    font-size: 14px;
    outline: none;
}

.login-form-group input:focus {
    border-color: #1478bd;
    box-shadow: 0 0 0 3px rgba(20, 120, 189, 0.12);
}

.password-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.password-label-row a {
    margin-bottom: 6px;
    color: #1478bd;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.password-input-wrapper {
    position: relative;
}

.password-input-wrapper input {
    padding-right: 65px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 11px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #1478bd;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.login-submit-button {
    width: 100%;
    height: 46px;
    border: 0;
    border-radius: 9px;
    background: #083d63;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.login-submit-button:hover {
    background: #0c5b8f;
}

/* BOTTOM LINKS */

.login-divider {
    margin: 18px 0 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #94a3b8;
    font-size: 11px;
    text-align: center;
}

.login-divider::before,
.login-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: #dbe3ea;
}

.create-account-button {
    width: 100%;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: 1px solid #083d63;
    border-radius: 9px;
    color: #083d63;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.create-account-button:hover {
    background: #083d63;
    color: #ffffff;
}

.login-support {
    margin: 14px 0 0;
    color: #64748b;
    font-size: 11px;
    text-align: center;
}

.login-support a {
    color: #1478bd;
    font-weight: 700;
    text-decoration: none;
}

.back-home {
    margin-top: 10px;
    color: #64748b;
    font-size: 11px;
    text-align: center;
    text-decoration: none;
}

.back-home:hover {
    color: #1478bd;
}

/* TABLET */

@media (max-width: 800px) {
    .login-container {
        width: min(560px, 100%);
        grid-template-columns: 1fr;
    }

    .login-image-panel {
        display: none;
    }

    .login-form-panel {
        padding: 30px 35px;
    }
}

/* MOBILE */

@media (max-width: 500px) {
    .login-page {
        min-height: auto;
        padding: 12px;
        align-items: flex-start;
    }

    .login-container {
        min-height: auto;
        border-radius: 13px;
    }

    .login-form-panel {
        padding: 24px 20px;
    }

    .login-logo {
        height: 45px;
    }

    .login-heading h2 {
        font-size: 25px;
    }

    .login-heading p {
        font-size: 13px;
    }
}

/* SHORT COMPUTER SCREENS */

@media (max-height: 700px) and (min-width: 801px) {
    .login-page {
        padding: 10px 18px;
    }

    .login-container {
        min-height: 460px;
    }

    .login-image-panel {
        min-height: 460px;
    }

    .login-form-panel {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .login-image-content h1 {
        font-size: 27px;
    }

    .login-heading {
        margin-bottom: 14px;
    }

    .login-heading p {
        display: none;
    }

    .login-form-group {
        margin-bottom: 12px;
    }

    .login-support {
        display: none;
    }
}