/* Member login page; builds on page-shell.css. A photo banner, then a white card centred over its bottom edge. */

.lg-hero {
    background-image: url('../images/banner11.jpg');
}

.lg-hero .ss-hero__inner {
    max-width: none;
    /* Room for the card that overlaps the bottom of the banner. */
    padding-bottom: 150px;
    text-align: center;
}

.lg-hero .ss-crumbs {
    justify-content: center;
}

.ss-page .lg-hero .ss-hero__title,
.ss-page .lg-hero .ss-hero__lead {
    text-align: center;
}

.ss-page .lg-hero .ss-hero__lead {
    margin-bottom: 0;
}

.ss-page .lg-body {
    padding-bottom: 80px;
    background: linear-gradient(180deg, var(--ss-cream) 0%, #fff 100%);
}

.lg-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    margin: -100px auto 0;
    padding: 38px 38px 32px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(34, 32, 31, .16);
}

/* ---------- Points under the card ---------- */

.lg-points {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 34px;
    margin: 36px 0 0;
    padding: 0;
    list-style: none;
    color: var(--ss-ink);
    font-size: 14px;
    font-weight: 500;
}

.lg-points li {
    display: flex;
    gap: 10px;
    align-items: center;
}

.lg-points .fa {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fdecec;
    color: var(--ss-brand);
    font-size: 14px;
}
/* ---------- Login form ---------- */

.lg-card__icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #fdecec;
    color: var(--ss-brand);
    font-size: 22px;
}

.ss-page .lg-card__title {
    margin: 0 0 6px;
    text-align: center;
    color: var(--ss-ink);
    font-size: 26px;
    font-weight: 600;
}

.ss-page .lg-card__lead {
    text-align: center;
    margin-bottom: 22px;
    font-size: 14px;
}

/* Step dots: e-mail, (code), password. */
.lg-steps {
    display: flex;
    gap: 8px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.lg-steps li {
    flex: 1;
    height: 4px;
    border-radius: 999px;
    background: var(--ss-line);
    transition: background-color .25s ease;
}

.lg-steps li.is-done {
    background: var(--ss-brand);
}

.lg-step[hidden] {
    display: none;
}

.lg-field {
    margin-bottom: 16px;
}

.lg-field label {
    display: block;
    margin-bottom: 6px;
    color: var(--ss-ink);
    font-size: 13px;
    font-weight: 600;
}

.lg-input {
    display: block;
    width: 100%;
    height: 48px;
    padding: 0 15px;
    border: 1px solid #ddd6d0;
    border-radius: 10px;
    background: #fdfbf9;
    color: var(--ss-ink);
    font: inherit;
    font-size: 15px;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.lg-input:focus {
    border-color: var(--ss-brand);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(208, 35, 35, .12);
    outline: 0;
}

.lg-input[readonly] {
    background: #f4efea;
    color: var(--ss-muted);
}

.lg-input--code {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: .5em;
    text-align: center;
}

.lg-field__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.lg-link {
    padding: 0;
    border: 0;
    background: none;
    color: var(--ss-brand);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.lg-link:hover,
.lg-link:focus {
    color: var(--ss-brand-dark);
    text-decoration: underline;
    outline: 0;
}

.lg-card .ss-btn {
    justify-content: center;
    width: 100%;
}

.lg-card .ss-btn[disabled] {
    opacity: .6;
    cursor: progress;
    transform: none;
}

.lg-status {
    margin-bottom: 16px;
    padding: 11px 15px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.lg-status[hidden] {
    display: none;
}

.lg-status--error {
    background: #fdecec;
    color: #a81818;
}

.lg-status--success {
    background: #e7f7ee;
    color: #17673b;
}

.lg-card__foot {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--ss-line);
    text-align: center;
}

.ss-page .lg-card__foot p {
    text-align: center;
    font-size: 14px;
}

.ss-page .lg-card__foot p + p {
    margin-top: 6px;
}

.lg-card__foot a {
    color: var(--ss-brand);
    font-weight: 600;
}

/* ---------- Small screens ---------- */

@media (max-width: 860px) {
    .lg-hero .ss-hero__inner {
        padding-bottom: 130px;
    }
}

@media (max-width: 460px) {
    .lg-card {
        padding: 28px 22px 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lg-steps li,
    .lg-input {
        transition: none;
    }
}
