/* Shared helpers for wizard pages with inputs.
   If you later create formal components (input, alert), move these into /components/. */

.wizard-form-narrow {
    max-width: 500px;
}

.wizard-form-group {
    margin-bottom: 1rem;
    text-align: left;
}

.wizard-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.wizard-input {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--cf-color-border-subtle, #d0d5dd);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
}

.wizard-input:focus {
    outline: none;
    border-color: var(--cf-color-primary, #5b73ff);
    box-shadow: 0 0 0 3px rgba(91, 115, 255, 0.20);
}

/* Simple alerts */
.cf-alert {
    margin: 0.75rem 0;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    border: 1px solid var(--cf-color-border-subtle, #e5e7eb);
}

.cf-alert-danger {
    background: #fdecea;
    border-color: #f5c2c7;
}

.cf-alert-info {
    background: #e8f4ff;
    border-color: #b6d7ff;
}

.cf-alert-warning {
    background: #fff3cd;
    border-color: #ffe69c;
}

/* OTP/Code input variant */
.stepper-input--otp {
    text-align: center;
    font-size: 1.25rem;
    letter-spacing: 0.25rem;
    font-family: monospace;
    max-width: 200px;
}

/* A few small utilities (kept here temporarily if utilities.css does not already define them) */
.w-100 { width: 100%; }
