/* Login screen (/user/login): a showcase of the app on top, the sign-in sheet pinned to the bottom of the first screen. */
.login-screen {
    --ls-ink: #fff;
    --ls-muted: #a9b7cb;
    --ls-accent: #e1ad4a;
    --ls-sheet: #0e1d33;
    --ls-field: #14243b;
    --ls-field-line: #24334a;
    --ls-gold: #e1ad4a;
    display: flex;
    flex-direction: column;
    padding: 12px 0 24px;
}

[data-bs-theme="light"] .login-screen {
    --ls-ink: #14233b;
    --ls-muted: #52627c;
    --ls-accent: #b86a00;
    --ls-sheet: #ffffff;
    --ls-field: #eef3fa;
    --ls-field-line: #cbd5e1;
    --ls-gold: #9a6a10;
}

.login-showcase {
    min-width: 0;
    padding: 16px 0 14px;
    overflow: hidden;
    border: 1px solid var(--ls-field-line);
    border-radius: 16px;
    background: var(--ls-sheet);
}

.login-slides {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}

.login-slides::-webkit-scrollbar {
    display: none;
}

.login-slide {
    flex: 0 0 100%;
    scroll-snap-align: center;
    padding: 0 20px;
    text-align: center;
}

.login-slide-shot {
    display: block;
    height: clamp(170px, 26svh, 250px);
    width: auto;
    max-width: 100%;
    margin: 0 auto 16px;
    object-fit: contain;
}

.login-slide h1 {
    margin: 0;
    color: var(--ls-ink);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.login-slide p {
    margin: 6px 0 0;
    color: var(--ls-accent);
    font-size: 14px;
    line-height: 1.7;
}

.login-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 14px 0 0;
}

.login-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ls-muted);
    opacity: 0.4;
}

.login-dots span[data-on] {
    width: 22px;
    border-radius: 4px;
    background: var(--ls-accent);
    opacity: 1;
}

.login-sheet {
    margin-top: 12px;
    padding: 18px 16px 16px;
    border: 1px solid var(--ls-field-line);
    border-radius: 16px;
    background: var(--ls-sheet);
}

.login-sheet-title {
    margin: 0;
    font-size: 18px;
    color: var(--ls-ink);
    font-size: 20px;
    font-weight: 700;
}

.login-sheet-hint {
    margin: 4px 0 0;
    color: var(--ls-muted);
    font-size: 14px;
}

.login-sheet .form-control {
    height: 48px;
    border: 1px solid var(--ls-field-line);
    border-radius: 12px;
    background: var(--ls-field);
    color: var(--ls-ink);
    font-size: 18px;
    letter-spacing: 1px;
    text-align: center;
    direction: ltr;
}

.login-sheet .form-control:focus {
    border-color: #c89638;
    box-shadow: 0 0 0 3px rgba(225, 173, 74, 0.22);
}

.login-sheet #registerbtn {
    height: 48px;
    margin-top: 12px !important;
    border: 1px solid #c89638;
    border-radius: 12px;
    background: #8b5a12;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

.login-back {
    display: block;
    margin-top: 6px;
    padding: 12px;
    color: var(--ls-muted);
    font-size: 14px;
    text-align: center;
}

.login-terms {
    margin: 4px 0 0;
    color: var(--ls-muted);
    font-size: 12px;
    line-height: 1.8;
    text-align: center;
}

.login-support {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid var(--ls-field-line);
    border-radius: 12px;
    color: var(--ls-muted);
    font-size: 13px;
}

.login-support a {
    color: var(--ls-gold);
    font-size: 15px;
    font-weight: 700;
    direction: ltr;
}

.login-screen .container {
    width: calc(100% - 32px);
    max-width: 680px;
    padding-inline: 0;
}
