/* ============================================================
   LESOTHO PREMIER LEAGUE
   LOGIN PAGE
   ============================================================ */


/* ============================================================
   PAGE
   ============================================================ */

.lpl-login-page {
    width: 100%;
    min-height: calc(100vh - 68px);

    display: grid;
    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(420px, .92fr);

    background: var(--page-bg, #F4F6F8);

    overflow: hidden;
}


/* ============================================================
   LEFT / HERO
   ============================================================ */

.lpl-login-hero {
    position: relative;

    min-height: calc(100vh - 68px);

    display: flex;
    align-items: center;

    padding:
        70px
        max(
            42px,
            calc((100vw - 1240px) / 2)
        );

    overflow: hidden;

    color: #FFFFFF;

    background:
        linear-gradient(
            135deg,
            #10195A 0%,
            #111A58 46%,
            #0D203C 100%
        );
}


/* LARGE DECORATIVE CIRCLE */

.lpl-login-hero::before {
    content: "";

    position: absolute;

    width: 540px;
    height: 540px;

    right: -220px;
    top: -190px;

    border-radius: 50%;

    border: 95px solid rgba(255, 255, 255, .035);

    pointer-events: none;
}


/* LARGE LPL WATERMARK */

.lpl-login-hero::after {
    content: "LPL";

    position: absolute;

    right: -25px;
    bottom: -80px;

    font-size: clamp(190px, 25vw, 420px);

    line-height: 1;

    font-weight: 950;

    letter-spacing: -.08em;

    color: rgba(255, 255, 255, .035);

    pointer-events: none;
}


/* ============================================================
   HERO CONTENT
   ============================================================ */

.lpl-login-hero-inner {
    position: relative;

    z-index: 2;

    width: 100%;
    max-width: 680px;
}


/* EYEBROW */

.lpl-login-eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 22px;

    color: var(--secondary, #32854D);

    font-size: 11px;

    line-height: 1;

    font-weight: 950;

    text-transform: uppercase;

    letter-spacing: .14em;
}


.lpl-login-eyebrow::after {
    content: "";

    display: block;

    width: 55px;
    height: 2px;

    background: var(--secondary, #32854D);
}


/* HERO HEADING */

.lpl-login-hero h1 {
    max-width: 620px;

    margin: 0;

    color: #FFFFFF;

    font-size: clamp(52px, 6vw, 88px);

    line-height: .91;

    font-weight: 950;

    letter-spacing: -.06em;
}


/* HERO COPY */

.lpl-login-hero-copy {
    max-width: 570px;

    margin: 25px 0 0;

    color: rgba(255, 255, 255, .78);

    font-size: 16px;

    line-height: 1.75;
}


/* ============================================================
   ACCESS LIST
   ============================================================ */

.lpl-access-list {
    display: grid;

    margin-top: 42px;

    max-width: 520px;

    border-top: 1px solid rgba(255, 255, 255, .14);
}


.lpl-access-item {
    display: grid;

    grid-template-columns: 55px 1fr;

    align-items: center;

    min-height: 66px;

    border-bottom: 1px solid rgba(255, 255, 255, .14);
}


.lpl-access-number {
    color: var(--secondary, #32854D);

    font-size: 12px;

    font-weight: 950;
}


.lpl-access-text {
    color: #FFFFFF;

    font-size: 14px;

    font-weight: 850;
}


/* ============================================================
   RIGHT / LOGIN PANEL
   ============================================================ */

.lpl-login-panel {
    min-height: calc(100vh - 68px);

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 55px 45px;

    background: var(--page-bg, #F4F6F8);
}


.lpl-login-box {
    width: min(470px, 100%);
}


/* ============================================================
   FORM HEADER
   ============================================================ */

.lpl-login-label {
    display: flex;

    align-items: center;

    gap: 11px;

    margin-bottom: 19px;

    color: var(--section-label-text, #10195A);

    font-size: 10px;

    line-height: 1;

    font-weight: 950;

    text-transform: uppercase;

    letter-spacing: .12em;
}


.lpl-login-label::after {
    content: "";

    width: 48px;
    height: 2px;

    background: var(--section-label-line, #32854D);
}


.lpl-login-box h2 {
    margin: 0 0 9px;

    color: var(--primary, #10195A);

    font-size: 42px;

    line-height: 1;

    font-weight: 950;

    letter-spacing: -.045em;
}


.lpl-login-description {
    margin: 0 0 30px;

    color: #68717C;

    font-size: 14px;

    line-height: 1.6;
}


/* ============================================================
   SESSION MESSAGE
   ============================================================ */

.lpl-login-status {
    margin-bottom: 20px;

    padding: 13px 14px;

    border: 1px solid rgba(50, 133, 77, .25);

    border-radius: 8px;

    background: rgba(50, 133, 77, .08);

    color: var(--secondary, #32854D);

    font-size: 12px;

    font-weight: 800;
}


/* ============================================================
   FORM
   ============================================================ */

.lpl-form-group {
    margin-bottom: 19px;
}


.lpl-form-label {
    display: block;

    margin-bottom: 8px;

    color: var(--text-global, #151821);

    font-size: 12px;

    line-height: 1.2;

    font-weight: 850;
}


.lpl-form-control {
    display: block;

    width: 100%;

    height: 52px;

    margin: 0;

    padding: 0 15px;

    border: 1px solid var(--border, #DCE2E8);

    border-radius: 8px;

    outline: none;

    background: var(--card-bg, #FFFFFF);

    color: var(--card-text, #151821);

    font-family: inherit;

    font-size: 14px;

    line-height: normal;

    appearance: none;

    -webkit-appearance: none;

    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        background-color .18s ease;
}


.lpl-form-control::placeholder {
    color: #9AA3AE;
}


.lpl-form-control:hover {
    border-color: #BBC5CE;
}


.lpl-form-control:focus {
    border-color: var(--primary, #10195A);

    box-shadow:
        0 0 0 4px
        rgba(16, 25, 90, .08);

    background: #FFFFFF;
}


.lpl-form-control.is-invalid {
    border-color: #D92D20;
}


.lpl-field-error {
    margin-top: 7px;

    color: #B42318;

    font-size: 11px;

    font-weight: 700;
}


/* ============================================================
   PASSWORD
   ============================================================ */

.lpl-password-wrap {
    position: relative;
}


.lpl-password-wrap .lpl-form-control {
    padding-right: 58px;
}


.lpl-password-toggle {
    position: absolute;

    top: 50%;
    right: 7px;

    transform: translateY(-50%);

    width: 44px;
    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 0;

    border: 0;

    border-radius: 6px;

    background: transparent;

    color: #68717C;

    font-family: inherit;

    font-size: 11px;

    font-weight: 850;

    cursor: pointer;
}


.lpl-password-toggle:hover {
    background: rgba(16, 25, 90, .06);

    color: var(--primary, #10195A);
}


/* ============================================================
   REMEMBER / FORGOT
   ============================================================ */

.lpl-login-options {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 16px;

    margin: 3px 0 24px;
}


.lpl-remember {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: #555F69;

    font-size: 12px;

    line-height: 1.2;

    cursor: pointer;
}


.lpl-remember input {
    width: 16px;
    height: 16px;

    margin: 0;

    padding: 0;

    accent-color: var(--secondary, #32854D);

    cursor: pointer;
}


.lpl-forgot {
    color: var(--primary, #10195A);

    font-size: 12px;

    font-weight: 850;

    text-decoration: none;
}


.lpl-forgot:hover {
    color: var(--secondary, #32854D);
}


/* ============================================================
   SIGN IN BUTTON
   ============================================================ */

.lpl-submit {
    width: 100%;

    min-height: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 0 20px;

    border: 1px solid var(--secondary, #32854D);

    border-radius: 7px;

    background: var(--secondary, #32854D);

    color: #FFFFFF;

    font-family: inherit;

    font-size: 13px;

    line-height: 1;

    font-weight: 950;

    cursor: pointer;

    transition:
        background-color .18s ease,
        border-color .18s ease,
        transform .18s ease,
        box-shadow .18s ease;
}


.lpl-submit:hover {
    background: #286F40;

    border-color: #286F40;

    transform: translateY(-1px);

    box-shadow:
        0 12px 26px
        rgba(50, 133, 77, .22);
}


.lpl-submit:active {
    transform: translateY(0);
}


/* ============================================================
   REGISTER
   ============================================================ */

.lpl-register-block {
    margin-top: 25px;

    padding-top: 22px;

    border-top: 1px solid var(--border, #DCE2E8);

    text-align: center;

    color: #68717C;

    font-size: 12px;
}


.lpl-register-block a {
    margin-left: 4px;

    color: var(--primary, #10195A);

    font-weight: 900;

    text-decoration: none;
}


.lpl-register-block a:hover {
    color: var(--secondary, #32854D);
}


/* ============================================================
   SECURITY NOTE
   ============================================================ */

.lpl-security-note {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    margin-top: 25px;

    color: #98A0AA;

    font-size: 10px;

    line-height: 1;

    text-transform: uppercase;

    letter-spacing: .06em;

    font-weight: 800;
}


.lpl-security-dot {
    display: block;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--secondary, #32854D);
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1050px) {

    .lpl-login-page {
        grid-template-columns:
            minmax(0, .9fr)
            minmax(400px, 1.1fr);
    }


    .lpl-login-hero {
        padding: 55px 34px;
    }


    .lpl-login-hero h1 {
        font-size: clamp(44px, 6vw, 68px);
    }


    .lpl-login-panel {
        padding: 45px 30px;
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 760px) {

    .lpl-login-page {
        display: block;

        min-height: auto;
    }


    .lpl-login-hero {
        min-height: auto;

        padding: 48px 20px 52px;
    }


    .lpl-login-hero::before {
        width: 320px;
        height: 320px;

        right: -170px;
        top: -130px;

        border-width: 60px;
    }


    .lpl-login-hero::after {
        right: -25px;
        bottom: -42px;

        font-size: 190px;
    }


    .lpl-login-eyebrow {
        margin-bottom: 16px;

        font-size: 9px;
    }


    .lpl-login-hero h1 {
        max-width: 420px;

        font-size: 48px;
    }


    .lpl-login-hero-copy {
        max-width: 500px;

        margin-top: 18px;

        font-size: 14px;

        line-height: 1.65;
    }


    .lpl-access-list {
        margin-top: 30px;
    }


    .lpl-access-item {
        min-height: 55px;
    }


    .lpl-login-panel {
        min-height: auto;

        padding: 42px 20px 55px;
    }


    .lpl-login-box {
        width: 100%;
        max-width: none;
    }

}


/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 430px) {

    .lpl-login-hero {
        padding: 38px 16px 44px;
    }


    .lpl-login-hero h1 {
        font-size: 40px;
    }


    .lpl-login-hero-copy {
        font-size: 13px;
    }


    .lpl-access-item {
        grid-template-columns: 44px 1fr;
    }


    .lpl-access-text {
        font-size: 13px;
    }


    .lpl-login-panel {
        padding: 35px 16px 45px;
    }


    .lpl-login-box h2 {
        font-size: 34px;
    }


    .lpl-login-options {
        align-items: flex-start;

        flex-direction: column;

        gap: 12px;
    }


    .lpl-submit {
        min-height: 50px;
    }

}