/*
 * The auth pages a real user meets at a bad moment: confirm your email, reset
 * your password, confirm your password. They shipped as framework scaffolding -
 * white ground, default blue button, a red "Log Out" link - and /verify-email
 * is the page EVERY new account lands on, immediately after the Free vs Pro
 * screen. The jump made the product look unfinished at the exact moment it had
 * just looked finished.
 *
 * This is the registration flow's own language, nothing more: the dark ground,
 * one card, the same type scale and the same lime primary. Scoped to
 * `.p2e-auth-card`, so nothing that does not opt in is touched.
 */
body.p2e-mobile-auth:has(.p2e-auth-card) {
    background: #06101f;
    color: #f6f7ff;
}

.p2e-auth-card {
    width: min(520px, calc(100vw - 32px));
    margin: 0 auto;
    padding: clamp(24px, 5vw, 40px);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(18, 22, 40, .92), rgba(12, 18, 32, .86));
    box-shadow: 0 24px 50px rgba(4, 6, 12, .6);
    color: #f6f7ff;
    text-align: left;
}

.p2e-auth-card__kicker {
    margin: 0 0 6px;
    color: #39c9f1;
    font-size: .7rem;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.p2e-auth-card h1 {
    margin: 0 0 10px;
    font-size: clamp(1.45rem, 3vw, 1.9rem);
    font-weight: 900;
    line-height: 1.15;
}

.p2e-auth-card p {
    margin: 0 0 14px;
    color: rgba(230, 236, 255, .78);
    font-size: .98rem;
}

.p2e-auth-card p:last-of-type {
    margin-bottom: 0;
}

.p2e-auth-card__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.p2e-auth-card .btn-p2e-primary {
    padding: 13px 22px;
    border: 0;
    border-radius: 14px;
    background: #d5f40b;
    color: #0b1423;
    font-weight: 800;
}

.p2e-auth-card .btn-p2e-primary:hover {
    background: #e3ff2f;
    color: #0b1423;
}

.p2e-auth-card .btn-p2e-quiet {
    padding: 13px 18px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 14px;
    background: none;
    color: rgba(230, 236, 255, .78);
    font-weight: 700;
}

.p2e-auth-card .btn-p2e-quiet:hover {
    border-color: rgba(255, 255, 255, .34);
    color: #f6f7ff;
}

.p2e-auth-card__sent {
    margin: 0 0 14px;
    padding: 12px 14px;
    border: 1px solid rgba(213, 244, 11, .45);
    border-radius: 14px;
    background: rgba(213, 244, 11, .1);
    color: #f6f7ff;
    font-weight: 700;
}

.p2e-auth-card label {
    display: block;
    margin-bottom: 6px;
    color: rgba(230, 236, 255, .78);
    font-size: .85rem;
    font-weight: 700;
}

.p2e-auth-card .form-control {
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
    color: #f6f7ff;
}

.p2e-auth-card .form-control::placeholder {
    color: rgba(230, 236, 255, .45);
}

.p2e-auth-card .invalid-feedback,
.p2e-auth-card .text-danger {
    color: #ff5f70;
}
