/*
 * Kingdom of Lesotho identity for the unauthenticated screens
 * (login, forgot password, reset password).
 *
 * Flag colours: blue #00209F, white #FFFFFF, green #009543, black #000000.
 */

/*
 * Layout correction for the unauthenticated screens.
 *
 * The stock theme positions the card with `.login-body .login-card { margin-top: -20% }`.
 * A percentage margin resolves against the containing block's WIDTH, not its height, so on
 * a 1920px window that is -384px - it dragged the card off the top of the viewport, and the
 * taller Lesotho card made the clipping obvious. Anchor the card below the fixed 240px
 * banner instead and let it grow downward.
 */
.login-body {
    margin: 0;
    min-height: 100vh;
    box-sizing: border-box;
    padding: 150px 1rem 3rem;
    -ms-flex-align: start;
    align-items: flex-start;
}

.login-body .login-card {
    margin-top: 0;
    max-width: 100%;
    box-sizing: border-box;
    border-top-color: #00209F;
    border-radius: 4px;
    box-shadow: 0 12px 32px rgba(0, 32, 159, 0.18);
}

@media (max-width: 640px) {
    .login-body {
        padding-top: 110px;
    }
}

.ls-brand {
    text-align: center;
    margin-bottom: 1.75rem;
}

.ls-brand img {
    display: inline-block;
}

.ls-brand-country {
    margin-top: 0.6rem;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.25;
    color: #00209F;
}

.ls-brand-app {
    margin-top: 0.15rem;
    font-size: 0.95rem;
    color: #4b5563;
}

/* Horizontal rendering of the national flag, used as a divider. */
hr.ls-flag-rule {
    height: 10px;
    width: 55%;
    margin: 1.15rem auto 0;
    border: none;
    border-radius: 2px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
    background: linear-gradient(to bottom,
        #00209F 0%, #00209F 33.34%,
        #FFFFFF 33.34%, #FFFFFF 66.67%,
        #009543 66.67%, #009543 100%);
}

.ls-page-title {
    margin: 0 0 0.25rem;
    font-size: 1.35rem;
    font-weight: 600;
    color: #1f2937;
    text-align: center;
}

.ls-page-subtitle {
    margin: 0 0 1.25rem;
    font-size: 0.85rem;
    color: #6b7280;
    text-align: center;
}

/* Primary action buttons follow the flag blue rather than the stock theme cyan. */
.ls-btn-primary.ui-button {
    background: #00209F;
    border-color: #00209F;
}

.ls-btn-primary.ui-button:enabled:hover,
.ls-btn-primary.ui-button:enabled:focus {
    background: #001a80;
    border-color: #001a80;
}

.ls-btn-secondary.ui-button {
    background: #009543;
    border-color: #009543;
}

.ls-btn-secondary.ui-button:enabled:hover,
.ls-btn-secondary.ui-button:enabled:focus {
    background: #007a37;
    border-color: #007a37;
}
