/* The login page (resources/views/auth/login.blade.php). Phone first; 600 / 900 up. */
.lp {
    min-height: 100vh;
    min-height: 100svh;
    padding: 96px 16px 48px;
    background: #F5EDDE url('/images/backgrounds/6a0acbec-9e6a-463e-a7e9-0ae96154faa9.webp') center/cover no-repeat;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    box-sizing: border-box;
}
.lp *, .lp *::before, .lp *::after { box-sizing: border-box; }

.lp-card {
    width: 100%;
    max-width: 440px;
    background: #fff;
    border: 1px solid rgba(17, 18, 20, .08);
    border-radius: 4px;
    padding: 28px 20px 24px;
    font-family: 'Roboto', sans-serif;
    color: #111214;
}

.lp-eyebrow {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #B84A00;
    margin-bottom: 10px;
}
.lp-h1 {
    font-size: clamp(26px, 7vw, 34px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.02em;
    margin: 0 0 24px;
    color: #111214;
}

.lp-note {
    font-size: 15px;
    line-height: 1.5;
    padding: 12px 14px;
    border-radius: 4px;
    margin: 0 0 18px;
}
.lp-note--ok { background: #eef5f0; color: #1f5d3a; }
.lp-note--error { background: #fdf0ec; color: #a3300f; }

.lp-field { margin-bottom: 18px; }
.lp-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #111214;
}
.lp-input {
    display: block;
    width: 100%;
    height: 52px;
    padding: 0 14px;
    font-size: 16px; /* below 16px iOS zooms into the field */
    font-family: inherit;
    color: #111214;
    background: #fff;
    border: 1px solid #cfc7b8;
    border-radius: 4px;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color .15s ease;
}
.lp-input:focus {
    outline: none;
    border-color: #111214;
    box-shadow: 0 0 0 3px rgba(255, 106, 0, .22);
}
.lp-input.is-invalid { border-color: #c0391b; }
.lp-error {
    font-size: 14px;
    line-height: 1.4;
    color: #a3300f;
    margin: 6px 0 0;
}

.lp-pw { position: relative; }
.lp-pw .lp-input { padding-right: 56px; }
.lp-pw__btn {
    position: absolute;
    top: 0;
    right: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    font-size: 22px;
    color: rgba(17, 18, 20, .5);
    border-radius: 0 4px 4px 0;
}
.lp-pw__btn:hover,
.lp-pw__btn:focus-visible { color: #111214; outline: none; }

.lp-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    margin: 4px 0 22px;
}
.lp-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 400;
    margin: 0;
    min-height: 44px;
    cursor: pointer;
    color: #33353a;
}
.lp-check input {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: #FF6A00;
}
.lp-link {
    font-size: 15px;
    color: #111214;
    text-decoration: underline;
    text-underline-offset: 3px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}
.lp-link:hover { color: #B84A00; }

.lp-btn {
    display: block;
    width: 100%;
    height: 54px;
    border: 0;
    border-radius: 4px;
    background: #FF6A00;
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .15s ease;
}
.lp-btn:hover, .lp-btn:focus-visible { background: #e55e00; outline: none; }
.lp-btn--ghost {
    background: #fff;
    color: #111214;
    border: 1px solid #111214;
    margin-top: 12px;
}
.lp-btn--ghost:hover, .lp-btn--ghost:focus-visible { background: #EDE3D5; }

.lp-magic {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #e2ddd4;
}
.lp-magic summary {
    font-size: 15px;
    cursor: pointer;
    color: #33353a;
    min-height: 44px;
    display: flex;
    align-items: center;
}
.lp-magic form { margin-top: 12px; }

@media (min-width: 600px) {
    .lp { padding: 140px 24px 80px; align-items: center; }
    .lp-card { padding: 40px 36px 32px; }
}

@media (prefers-reduced-motion: reduce) {
    .lp-input, .lp-btn { transition: none; }
}
