/* ============================================================
   Wizard - Modern Onboarding Flow
   ============================================================ */

.wizard {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    padding: var(--spacing-xl) var(--spacing-lg);
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

/* Subtle background decoration */
.wizard::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 300px;
    height: 300px;
    border-radius: var(--radius-round);
    background: var(--button-color);
    opacity: 0.03;
    pointer-events: none;
}

.wizard::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -15%;
    width: 250px;
    height: 250px;
    border-radius: var(--radius-round);
    background: var(--button-color);
    opacity: 0.03;
    pointer-events: none;
}

/* ---- Progress Dots ---- */
.wizard__progress {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: var(--spacing-2xl);
    padding-top: var(--spacing-md);
    position: relative;
    z-index: var(--z-base);
}

.wizard__dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-round);
    background: var(--separator-color-opaque);
    transition: background var(--transition-normal),
                transform var(--transition-normal),
                width var(--transition-normal);
}

.wizard__dot.active {
    background: var(--button-color);
    width: 24px;
    border-radius: var(--radius-pill);
}

/* ---- Content Area ---- */
.wizard__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: var(--z-base);
    padding: var(--spacing-md) 0;
}

.wizard__content h2 {
    text-align: center;
    font-size: var(--text-xl);
    font-weight: var(--weight-bold);
    letter-spacing: -0.02em;
    color: var(--text-color);
    margin-bottom: var(--spacing-sm);
    line-height: var(--line-height-tight);
}

.wizard__content p {
    text-align: center;
    font-size: var(--text-base);
    color: var(--hint-color);
    max-width: 300px;
    margin: 0 auto var(--spacing-lg);
    line-height: var(--line-height-relaxed);
}

/* Form elements inside wizard */
.wizard__content .input-group {
    width: 100%;
    max-width: 340px;
    margin-top: var(--spacing-lg);
    margin-left: auto;
    margin-right: auto;
}

.wizard__content .input-group label {
    text-align: center;
    font-size: var(--text-sm);
    color: var(--hint-color);
    font-weight: var(--weight-medium);
}

.wizard__content .input {
    text-align: center;
    font-size: var(--text-md);
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: var(--secondary-bg);
    border-color: transparent;
}

.wizard__content .input:focus {
    background: var(--bg-color);
    border-color: var(--button-color);
    box-shadow: var(--input-shadow-focus);
}

.wizard__content select.input {
    text-align: left;
    text-align-last: center;
}

/* ---- Action Buttons ---- */
.wizard__actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
    padding-top: var(--spacing-xl);
    position: relative;
    z-index: var(--z-base);
}

.wizard__actions .btn {
    flex: 1;
    padding: 14px 20px;
    font-size: var(--text-base);
    border-radius: var(--radius-md);
}

.wizard__actions .btn-primary {
    box-shadow: 0 4px 16px rgba(0, 122, 255, 0.25);
}

.wizard__actions .btn-primary:active {
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.15);
}

.wizard__actions .btn-secondary {
    flex: 0.6;
}

/* ---- Wizard Illustration Placeholder ---- */
.wizard__illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-xl);
    font-size: 64px;
    line-height: 1;
    opacity: 0.9;
}

/* ---- Step Animation Helper ---- */
.wizard__step-enter {
    animation: wizardSlideIn var(--transition-slow) forwards;
}

@keyframes wizardSlideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
