/* LP signup/login/verify modals. Reuses style.css tokens (btn-primary/secondary, consent-check, form-grid, status). */
.lp-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
    padding: 1.5rem 1rem 2.5rem;
}
.lp-footer a {
    color: inherit;
    opacity: 0.8;
    text-decoration: underline;
}

.lp-modal {
    width: min(480px, 92vw);
    max-height: 90vh;
    overflow-y: auto;
    border: none;
    border-radius: 16px;
    padding: 1.75rem;
    background: var(--panel-bg, #fff);
    color: inherit;
}
.lp-modal::backdrop {
    background: rgba(10, 10, 20, 0.55);
}
.lp-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    border: none;
    background: transparent;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    color: inherit;
}
.lp-modal h2 {
    margin: 0 0 0.5rem;
}
.lp-modal h3 {
    margin: 1rem 0 0.5rem;
}
.lp-required-note {
    display: block;
    margin: -0.25rem 0 0.75rem;
    font-size: 0.85em;
    font-weight: 400;
    opacity: 0.75;
}

/* status pill: hide when empty so no bare gray bar shows */
.lp-modal .status[hidden] {
    display: none;
}

.field-error {
    margin: 4px 0 0;
    font-size: 12px;
    color: #b23c3c;
}
.field-error[hidden] {
    display: none;
}

.lp-consent-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.75rem;
}
.lp-consent-group .consent-check {
    margin: 0;
}

.lp-actions-full {
    margin-top: 1rem;
}
.lp-actions-full .btn-primary {
    width: 100%;
}

.lp-forgot-wrap {
    margin: 0.5rem 0 0;
    text-align: center;
}
.btn-link {
    border: none;
    background: none;
    padding: 0;
    color: inherit;
    text-decoration: underline;
    opacity: 0.85;
    cursor: pointer;
    font: inherit;
}

@media (max-width: 400px) {
    .lp-modal {
        width: 94vw;
        padding: 1.25rem;
    }
}
