/* sign-up wizard — extends the guest auth shell defined in login.css */

/* progress stepper */
.stepper {
    list-style: none;
    display: flex;
    gap: 8px;
    margin: 0 0 26px;
    padding: 0;
}

.stepper__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(245, 245, 247, 0.45);
    font-size: 0.76rem;
    font-weight: 600;
}

.stepper__dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.85rem;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.stepper__item.is-active {
    color: #fff;
}

.stepper__item.is-active .stepper__dot {
    background: var(--maroon);
    border-color: var(--maroon);
    color: #fff;
}

.stepper__item.is-done .stepper__dot {
    background: var(--ok);
    border-color: var(--ok);
    color: #fff;
}

/* the form + steps: only the active step is shown */
.signup__form {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.signup__step {
    display: none;
    flex-direction: column;
    gap: 18px;
    margin: 0;
    padding: 0;
    border: 0;
}

.signup__step.is-active {
    display: flex;
    animation: stepIn 0.25s ease;
}

@keyframes stepIn {
    from { opacity: 0; transform: translateX(8px); }
    to { opacity: 1; transform: none; }
}

/* two-up field grid */
.signup__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* step navigation row */
.signup__actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 6px;
}

.signup__actions .btn {
    flex: 1;
}

/* hints, inline errors, helper text */
.signup__hint {
    color: rgba(245, 245, 247, 0.7);
    font-size: 0.88rem;
    margin: 0;
}

.signup__hint.is-ok {
    color: #86efac;
}

.signup__hint.is-error {
    color: #fda29b;
}

.field__hint {
    color: rgba(245, 245, 247, 0.45);
    font-weight: 500;
}

.field__error {
    color: #fda29b;
    font-size: 0.78rem;
}

/* terms/privacy consent checkbox (step 3) */
.signup__agree {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(245, 245, 247, 0.75);
    font-size: 0.82rem;
    line-height: 1.5;
    margin-top: 4px;
    cursor: pointer;
}

.signup__agree input {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: var(--maroon);
    cursor: pointer;
}

.signup__agree .legal-link {
    color: #f0b429;
    font-weight: 600;
}

.signup__agree .legal-link:hover {
    text-decoration: underline;
}

/* code field: 6 separate grouped digits */
.otp-inputs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 16px 0;
}

.otp-digit {
    width: 50px;
    height: 54px;
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
    padding: 0 !important;
    transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}

.otp-digit:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
}

.otp-digit:focus {
    outline: none !important;
    border-color: #f0b429 !important;
    box-shadow: 0 0 0 3px rgba(240, 180, 41, 0.15) !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

/* text-only resend button */
.btn--link {
    align-self: flex-start;
    background: transparent;
    border: 0;
    padding: 0;
    color: #f0b429;
    font: inherit;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
}

.btn--link:disabled {
    color: rgba(245, 245, 247, 0.4);
    cursor: not-allowed;
}

/* footer alt link + multi-error list */
.signup__alt {
    text-align: center;
    color: rgba(245, 245, 247, 0.65);
    font-size: 0.88rem;
    margin: 12px 0 0;
}

.signup__alt a {
    color: #f0b429;
    font-weight: 600;
}

.alert__list {
    margin: 0;
    padding-left: 18px;
}

@media (max-width: 768px) {
    .signup__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stepper {
        margin: 0 0 20px;
    }
    .stepper__item {
        font-size: 0.65rem;
        gap: 4px;
    }
    .stepper__dot {
        width: 26px;
        height: 26px;
        font-size: 0.75rem;
    }
    .otp-inputs {
        gap: 6px;
        margin: 12px 0;
    }
    .otp-digit {
        width: 36px;
        height: 42px;
        font-size: 1.25rem;
        border-radius: 6px;
    }
}
