/* ═══════════════════════════════════════════════════
    PAGE WRAPPER
═══════════════════════════════════════════════════ */
.login-page {
    min-height: 100svh;
    background: var(--parchment);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 1rem 4rem;
    position: relative;
    overflow: hidden;
}

/* ambient glow */
.login-page::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, #e8d5c0 0%, transparent 68%);
    top: -100px; right: -150px;
    pointer-events: none;
}
.login-page::after {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, #e8d5c0 0%, transparent 68%);
    bottom: -80px; left: -80px;
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════
    WIP BANNER
═══════════════════════════════════════════════════ */
.wip-banner {
    width: 100%;
    max-width: 460px;
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    background: #fef3cd;
    border: 1px solid #f5d78e;
    border-radius: 12px;
    padding: .9rem 1.1rem;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}
.wip-banner i {
    font-size: 1.1rem;
    color: #a07820;
    flex-shrink: 0;
    margin-top: .05rem;
}
.wip-banner-text {
    font-size: .8rem;
    line-height: 1.55;
    color: #7a5c10;
}
.wip-banner-text strong {
    display: block;
    font-weight: 500;
    margin-bottom: .2rem;
    color: #6b4f0e;
}

/* ═══════════════════════════════════════════════════
    CARD
═══════════════════════════════════════════════════ */
.login-card {
    width: 100%;
    max-width: 460px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-md);
    padding: 2.75rem 2.5rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 480px) {
    .login-card { padding: 2rem 1.5rem; }
}

/* Card header */
.login-header {
    text-align: center;
    margin-bottom: 2rem;
}
.login-header .login-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--terracotta-pale);
    color: var(--terracotta);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}
.login-header h1 {
    font-size: 2rem;
    margin-bottom: .3rem;
}
.login-header p {
    font-size: .85rem;
    color: var(--muted);
    margin: 0;
}

/* ═══════════════════════════════════════════════════
    FORM ELEMENTS
═══════════════════════════════════════════════════ */
.field-group {
    display: flex;
    flex-direction: column;
    gap: .45rem;
    margin-bottom: 1.25rem;
}

.field-label {
    font-family: var(--font-body);
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--brown);
}

.field-input {
    font-family: var(--font-body);
    font-size: .92rem;
    font-weight: 300;
    color: var(--brown);
    background: var(--warm-white);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: .75rem 1rem;
    width: 100%;
    transition: border-color .2s ease, box-shadow .2s ease;
    outline: none;
    -webkit-appearance: none;
}
.field-input::placeholder { color: var(--muted); opacity: .6; }
.field-input:focus {
    border-color: var(--terracotta-light);
    box-shadow: 0 0 0 3px rgba(160,81,58,.1);
    background: #fff;
}

/* Code input — special large style */
.field-input-code {
    text-align: center;
    letter-spacing: .35em;
    font-size: 1.8rem;
    font-family: var(--font-display);
    padding: .85rem 1rem;
}

.field-hint {
    font-size: .78rem;
    color: var(--muted);
    line-height: 1.5;
}

/* ═══════════════════════════════════════════════════
    DIVIDER
═══════════════════════════════════════════════════ */
.login-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 1.5rem 0;
}

/* ═══════════════════════════════════════════════════
    STEP INDICATOR
═══════════════════════════════════════════════════ */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin-bottom: 1.75rem;
}
.step-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--border);
    transition: background .3s, transform .3s;
}
.step-dot.active {
    background: var(--terracotta);
    transform: scale(1.3);
}
.step-dot.done {
    background: var(--tag-sage);
}

/* ═══════════════════════════════════════════════════
    EMAIL DISPLAY (step 2)
═══════════════════════════════════════════════════ */
.email-sent-badge {
    display: flex;
    align-items: center;
    gap: .6rem;
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: .65rem 1rem;
    margin-bottom: 1.25rem;
    font-size: .83rem;
    color: var(--brown);
}
.email-sent-badge i { color: var(--tag-sage); font-size: .95rem; }

/* ═══════════════════════════════════════════════════
    SUBMIT BUTTON (full width)
═══════════════════════════════════════════════════ */
.btn-marie-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 100%;
    font-family: var(--font-body);
    font-size: .82rem;
    font-weight: 400;
    letter-spacing: .1em;
    text-transform: uppercase;
    border-radius: var(--radius-btn);
    padding: .85rem 2rem;
    background: var(--terracotta);
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(160,81,58,.28);
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
    margin-top: .5rem;
}
.btn-marie-submit:hover {
    background: var(--terracotta-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(160,81,58,.35);
}

/* Back link */
.back-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    margin-top: 1.1rem;
    font-size: .78rem;
    letter-spacing: .06em;
    color: var(--muted);
    text-decoration: none;
    transition: color .2s;
}
.back-link:hover { color: var(--terracotta); }
