/*
 * AI Step Wizard - ShreeKundli
 * Refined step-by-step wizard for AI features
 * Uses CSS variables from web.css
 */

/* =============================================================================
   BASE CONTAINER
   ============================================================================= */

.step-wizard {
    min-height: 100vh;
    background: var(--background);
    padding: 1.5rem;
}

.step-wizard--light {
    background: var(--background);
}

.step-wizard__container {
    max-width: 680px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .step-wizard {
        padding: 2rem;
    }
}

/* =============================================================================
   HEADER
   ============================================================================= */

.step-wizard__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}

.step-wizard__title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
}

.step-wizard__title-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--primary-foreground);
    border-radius: 0.625rem;
    font-size: 1.125rem;
}

.step-wizard__credits {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    background: var(--muted);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
}

.step-wizard__credits i {
    font-size: 0.875rem;
}

/* =============================================================================
   PROGRESS TRACKER
   ============================================================================= */

.step-wizard__progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 2.5rem;
    padding: 0 1rem;
}

/* Connector line between dots */
.step-wizard__connector {
    flex: 1;
    max-width: 3rem;
    height: 2px;
    background: var(--border);
    transition: background 0.3s ease;
}

.step-wizard__connector--completed {
    background: var(--primary);
}

/* Individual step dot */
.step-wizard__dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    cursor: default;
}

.step-wizard__dot-circle {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--card);
    border: 2px solid var(--border);
    transition: all 0.3s ease;
}

.step-wizard__dot-number {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--muted-foreground);
    transition: color 0.3s ease;
}

.step-wizard__dot-label {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.025em;
    transition: color 0.3s ease;
    white-space: nowrap;
}

/* Active state */
.step-wizard__dot--active .step-wizard__dot-circle {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1);
}

.step-wizard__dot--active .step-wizard__dot-number {
    color: var(--primary-foreground);
}

.step-wizard__dot--active .step-wizard__dot-label {
    color: var(--primary);
    font-weight: 600;
}

/* Completed state */
.step-wizard__dot--completed .step-wizard__dot-circle {
    background: var(--primary);
    border-color: var(--primary);
}

.step-wizard__dot--completed .step-wizard__dot-number {
    color: var(--primary-foreground);
}

.step-wizard__dot--completed .step-wizard__dot-label {
    color: var(--foreground);
}

/* Pending state (default) */
.step-wizard__dot--pending .step-wizard__dot-circle {
    background: var(--card);
    border-color: var(--border);
}

.step-wizard__dot--pending .step-wizard__dot-number {
    color: var(--muted-foreground);
}

/* Responsive: hide labels on small screens */
@media (max-width: 640px) {
    .step-wizard__dot-label {
        display: none;
    }

    .step-wizard__dot-circle {
        width: 1.75rem;
        height: 1.75rem;
    }

    .step-wizard__dot-number {
        font-size: 0.6875rem;
    }

    .step-wizard__connector {
        max-width: 2rem;
    }
}

/* =============================================================================
   STEP CONTAINER
   ============================================================================= */

.step-wizard__step {
    display: none;
    animation: stepFadeIn 0.3s ease;
}

.step-wizard__step--active,
.step-wizard__step.active {
    display: block;
}

@keyframes stepFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============================================================================
   QUESTION HEADER
   ============================================================================= */

.step-wizard__question {
    text-align: center;
    margin-bottom: 1.5rem;
}

.step-wizard__question-text {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    line-height: 1.3;
}

.step-wizard__question-hint {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--muted-foreground);
    line-height: 1.5;
}

/* =============================================================================
   INFO BOX
   ============================================================================= */

.step-wizard__info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    background: var(--muted);
    border-radius: 0.75rem;
    border-left: 3px solid var(--primary);
}

.step-wizard__info--tip {
    border-left-color: #22c55e;
}

.step-wizard__info-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
}

.step-wizard__info-title i {
    color: var(--primary);
}

.step-wizard__info--tip .step-wizard__info-title i {
    color: #22c55e;
}

.step-wizard__info-text {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.5;
}

.step-wizard__info-text strong {
    color: var(--foreground);
    font-weight: 600;
}

/* =============================================================================
   COUNTER (for multi-select)
   ============================================================================= */

.step-wizard__counter {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.step-wizard__counter-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 2rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.step-wizard__counter-badge i {
    color: var(--primary);
}

.step-wizard__counter-current {
    font-weight: 700;
    color: var(--primary);
}

.step-wizard__counter-max {
    color: var(--muted-foreground);
}

/* =============================================================================
   OPTIONS GRID
   ============================================================================= */

.step-wizard__options {
    display: grid;
    gap: 0.75rem;
}

.step-wizard__options--grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.step-wizard__options--grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.step-wizard__options--grid-5 {
    grid-template-columns: repeat(5, 1fr);
}

.step-wizard__options--stack {
    grid-template-columns: 1fr;
}

@media (max-width: 768px) {
    .step-wizard__options--grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .step-wizard__options--grid-2 {
        grid-template-columns: 1fr;
    }

    .step-wizard__options--grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .step-wizard__options--grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .step-wizard__options--grid-3 {
        grid-template-columns: 1fr;
    }

    .step-wizard__options--grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =============================================================================
   OPTION CARD - BASE
   ============================================================================= */

.step-wizard__option {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem 1rem;
    background: var(--card);
    border: 2px solid var(--border);
    border-radius: 0.875rem;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}

.step-wizard__option:hover {
    border-color: var(--primary);
}

.step-wizard__option--selected {
    border-color: var(--primary);
    background: color-mix(in srgb, var(--primary) 8%, var(--card));
}

.step-wizard__option--disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.step-wizard__option input[type="radio"],
.step-wizard__option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Check mark */
.step-wizard__option-check {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 1.375rem;
    height: 1.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 50%;
    font-size: 0.625rem;
    color: var(--primary-foreground);
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s ease;
}

.step-wizard__option--selected .step-wizard__option-check {
    opacity: 1;
    transform: scale(1);
}

/* Content wrapper */
.step-wizard__option-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    width: 100%;
}

/* Icon */
.step-wizard__option-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    background: var(--muted);
    border-radius: 0.75rem;
    font-size: 1.25rem;
    color: var(--primary);
    transition: all 0.2s ease;
}

.step-wizard__option--selected .step-wizard__option-icon {
    background: var(--primary);
    color: var(--primary-foreground);
}

/* Avatar (for profiles) */
.step-wizard__option-avatar {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    background: var(--muted);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--muted-foreground);
    transition: all 0.2s ease;
}

.step-wizard__option--selected .step-wizard__option-avatar {
    background: var(--primary);
    color: var(--primary-foreground);
}

/* Labels */
.step-wizard__option-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--foreground);
}

.step-wizard__option-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
}

.step-wizard__option-meta {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

.step-wizard__option-dates {
    font-size: 0.6875rem;
    color: var(--muted-foreground);
    margin-top: 0.25rem;
}

/* =============================================================================
   OPTION CARD - PROFILE VARIANT
   ============================================================================= */

.step-wizard__option--profile {
    padding: 1.5rem 1rem;
}

/* =============================================================================
   OPTION CARD - LIFE AREA VARIANT
   ============================================================================= */

.step-wizard__option--lifearea {
    padding: 1rem;
}

.step-wizard__option--lifearea .step-wizard__option-icon {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
}

/* =============================================================================
   OPTION CARD - TIMEFRAME VARIANT
   ============================================================================= */

.step-wizard__option--timeframe {
    padding: 1rem 0.75rem;
}

.step-wizard__option--timeframe .step-wizard__option-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    font-size: 1rem;
}

/* =============================================================================
   OPTION CARD - LANGUAGE VARIANT
   ============================================================================= */

.step-wizard__option--language {
    flex-direction: row;
    padding: 0.875rem 1rem;
    gap: 0.75rem;
}

.step-wizard__option--language .step-wizard__option-content {
    flex-direction: row;
    align-items: center;
    text-align: left;
}

.step-wizard__lang-flag {
    width: 2rem;
    height: 1.5rem;
    border-radius: 0.25rem;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.step-wizard__lang-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Emoji fallback */
.step-wizard__lang-flag--emoji {
    width: auto;
    height: auto;
    font-size: 1.5rem;
    line-height: 1;
    box-shadow: none;
    border-radius: 0;
}

.step-wizard__lang-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.step-wizard__lang-native {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--foreground);
}

.step-wizard__lang-english {
    font-size: 0.75rem;
    color: var(--muted-foreground);
}

/* =============================================================================
   OPTION CARD - TIER VARIANT
   ============================================================================= */

.step-wizard__option--tier {
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 1.25rem;
    gap: 1rem;
}

.step-wizard__option--tier .step-wizard__option-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.step-wizard__tier-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.step-wizard__tier-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
}

.step-wizard__tier-desc {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    line-height: 1.4;
}

.step-wizard__tier-cost {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    background: var(--muted);
    border-radius: 2rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

.step-wizard__option--tier.step-wizard__option--selected .step-wizard__tier-cost {
    background: var(--primary);
    color: var(--primary-foreground);
}

.step-wizard__tier-warning {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: 0.375rem;
    font-size: 0.75rem;
    color: #dc2626;
}

/* =============================================================================
   OPTION CARD - PLANET VARIANT
   ============================================================================= */

.step-wizard__option--planet {
    padding: 0.75rem 0.5rem;
    border-radius: 0.75rem;
}

.step-wizard__option--planet .step-wizard__option-check {
    top: 0.25rem;
    right: 0.25rem;
    width: 1rem;
    height: 1rem;
    font-size: 0.5rem;
}

.step-wizard__planet-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.step-wizard__planet-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--foreground);
}

.step-wizard__planet-sign {
    font-size: 0.625rem;
    color: var(--muted-foreground);
}

/* =============================================================================
   TEXTAREA & FORM ELEMENTS
   ============================================================================= */

.step-wizard__textarea-wrap {
    margin-bottom: 1rem;
}

.step-wizard__textarea {
    width: 100%;
    padding: 1rem;
    background: var(--card);
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    font-family: inherit;
    font-size: 1rem;
    color: var(--foreground);
    resize: vertical;
    min-height: 120px;
    transition: border-color 0.2s ease;
}

.step-wizard__textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.step-wizard__textarea::placeholder {
    color: var(--muted-foreground);
}

.step-wizard__input-help {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    color: var(--muted-foreground);
}

.step-wizard__input-help i {
    color: var(--primary);
}

.step-wizard__skip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem;
    margin-top: 0.5rem;
    background: transparent;
    border: none;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted-foreground);
    cursor: pointer;
    transition: color 0.2s ease;
}

.step-wizard__skip:hover {
    color: var(--primary);
}

/* =============================================================================
   SELECT ELEMENTS
   ============================================================================= */

.step-wizard__form-group {
    margin-bottom: 1.5rem;
}

.step-wizard__select-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.step-wizard__select-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.step-wizard__select-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--muted-foreground);
}

.step-wizard__select {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--card);
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    font-family: inherit;
    font-size: 1rem;
    color: var(--foreground);
    cursor: pointer;
    transition: border-color 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%2357534e' d='M4.646 6.646a.5.5 0 0 1 .708 0L8 9.293l2.646-2.647a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.step-wizard__select:focus {
    outline: none;
    border-color: var(--primary);
}

.step-wizard__date-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--muted);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: var(--foreground);
}

.step-wizard__date-preview i {
    color: var(--primary);
}

@media (max-width: 480px) {
    .step-wizard__select-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================================================
   EXAMPLE QUESTIONS
   ============================================================================= */

.step-wizard__example-questions {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--muted);
    border-radius: 0.75rem;
}

.step-wizard__example-questions-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted-foreground);
    margin-bottom: 0.75rem;
}

.step-wizard__example-questions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.example-q-btn {
    padding: 0.5rem 0.875rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 2rem;
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    cursor: pointer;
    transition: all 0.2s ease;
}

.example-q-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* =============================================================================
   LOCATION PICKER
   ============================================================================= */

.step-wizard__location-picker {
    position: relative;
    margin-bottom: 1.5rem;
}

.step-wizard__location-input-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: var(--card);
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    transition: border-color 0.2s ease;
}

.step-wizard__location-input-group:focus-within {
    border-color: var(--primary);
}

.step-wizard__location-icon {
    color: var(--primary);
    font-size: 1.25rem;
}

.step-wizard__location-field {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1rem;
    color: var(--foreground);
    outline: none;
}

.step-wizard__location-field::placeholder {
    color: var(--muted-foreground);
}

.step-wizard__location-detect {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    background: var(--muted);
    border: none;
    border-radius: 0.5rem;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.step-wizard__location-detect:hover {
    background: var(--border);
}

.step-wizard__location-detect.detecting {
    opacity: 0.6;
    pointer-events: none;
}

.step-wizard__location-suggestions {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 0.25rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    max-height: 240px;
    overflow-y: auto;
    z-index: 50;
}

.step-wizard__location-suggestion {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.15s ease;
}

.step-wizard__location-suggestion:hover {
    background: var(--muted);
}

.step-wizard__location-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.625rem 1rem;
    background: color-mix(in srgb, #22c55e 10%, var(--card));
    border-radius: 0.5rem;
    color: #16a34a;
    font-size: 0.875rem;
}

/* =============================================================================
   TIPS BOX
   ============================================================================= */

.step-wizard__tips-box {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background: var(--muted);
    border-radius: 0.75rem;
}

.step-wizard__tips-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.step-wizard__tips-title i {
    color: var(--primary);
}

.step-wizard__tips-list {
    display: grid;
    gap: 0.625rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.step-wizard__tips-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    line-height: 1.4;
}

.step-wizard__tips-number {
    flex-shrink: 0;
    width: 1.375rem;
    height: 1.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card);
    border-radius: 50%;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--primary);
}

/* =============================================================================
   TRANSIT LIST
   ============================================================================= */

.step-wizard__transit-list {
    display: grid;
    gap: 0.75rem;
}

.step-wizard__transit-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    background: var(--card);
    cursor: pointer;
    transition: all 0.2s ease;
}

.step-wizard__transit-card:hover {
    border-color: var(--primary);
}

.step-wizard__transit-card.selected {
    border-color: var(--primary);
    background: color-mix(in srgb, var(--primary) 8%, var(--card));
}

.step-wizard__transit-card--current {
    border-color: #22c55e;
    background: color-mix(in srgb, #22c55e 5%, var(--card));
}

.step-wizard__transit-card--next {
    border-color: #3b82f6;
    background: color-mix(in srgb, #3b82f6 5%, var(--card));
}

.step-wizard__transit-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    border-radius: 1rem;
    font-size: 0.6875rem;
    font-weight: 600;
}

.step-wizard__transit-badge--current {
    background: color-mix(in srgb, #22c55e 15%, transparent);
    color: #16a34a;
}

.step-wizard__transit-badge--next {
    background: color-mix(in srgb, #3b82f6 15%, transparent);
    color: #2563eb;
}

.step-wizard__transit-badge--retro {
    background: color-mix(in srgb, #f59e0b 15%, transparent);
    color: #d97706;
}

/* =============================================================================
   EVENT LIST (SADE SATI)
   ============================================================================= */

.step-wizard__event-list {
    display: grid;
    gap: 0.75rem;
}

.step-wizard__event-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: 0.75rem;
    background: var(--card);
    cursor: pointer;
    transition: all 0.2s ease;
}

.step-wizard__event-card:hover {
    border-color: var(--primary);
}

.step-wizard__event-card.selected {
    border-color: var(--primary);
    background: color-mix(in srgb, var(--primary) 8%, var(--card));
}

.step-wizard__event-card--sadesati {
    border-color: #ef4444;
    background: color-mix(in srgb, #ef4444 5%, var(--card));
}

.step-wizard__event-card--dhaiya {
    border-color: #f59e0b;
    background: color-mix(in srgb, #f59e0b 5%, var(--card));
}

.step-wizard__event-card--ongoing {
    box-shadow: 0 0 0 2px var(--primary);
}

.step-wizard__event-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.25rem;
}

.step-wizard__event-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    border-radius: 1rem;
    font-size: 0.6875rem;
    font-weight: 600;
}

.step-wizard__event-badge--ongoing {
    background: var(--primary);
    color: var(--primary-foreground);
}

.step-wizard__event-badge--sadesati {
    background: color-mix(in srgb, #ef4444 15%, transparent);
    color: #dc2626;
}

.step-wizard__event-badge--dhaiya {
    background: color-mix(in srgb, #f59e0b 15%, transparent);
    color: #d97706;
}

.step-wizard__moon-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1rem;
    background: var(--muted);
    border-radius: 0.625rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.step-wizard__moon-info strong {
    color: var(--foreground);
}

/* =============================================================================
   BENEFITS BOX
   ============================================================================= */

.step-wizard__benefits {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: var(--muted);
    border-radius: 0.75rem;
}

.step-wizard__benefits-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.step-wizard__benefits-title i {
    color: var(--primary);
}

.step-wizard__benefits-list {
    display: grid;
    gap: 0.625rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.step-wizard__benefits-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.8125rem;
    color: var(--muted-foreground);
}

.step-wizard__benefits-item i {
    width: 1.25rem;
    color: var(--primary);
    font-size: 0.875rem;
}

/* =============================================================================
   CREDIT WARNING
   ============================================================================= */

.step-wizard__credit-warning {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #dc2626;
}

.step-wizard__credit-warning a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
}

/* =============================================================================
   SUMMARY CARD
   ============================================================================= */

.step-wizard__summary {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: var(--muted);
    border-radius: 0.875rem;
}

.step-wizard__summary-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
}

.step-wizard__summary-rows {
    display: grid;
    gap: 0;
}

.step-wizard__summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.625rem 0;
    border-bottom: 1px solid var(--border);
}

.step-wizard__summary-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.step-wizard__summary-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.step-wizard__summary-value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--foreground);
}

/* =============================================================================
   NAVIGATION BUTTONS
   ============================================================================= */

.step-wizard__nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.step-wizard__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.step-wizard__btn--back {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--muted-foreground);
}

.step-wizard__btn--back:hover {
    border-color: var(--muted-foreground);
    color: var(--foreground);
}

.step-wizard__btn--next {
    background: var(--foreground);
    border: none;
    color: var(--background);
}

.step-wizard__btn--next:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.step-wizard__btn--submit {
    background: var(--primary);
    border: none;
    color: var(--primary-foreground);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
}

.step-wizard__btn--submit:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

@media (max-width: 480px) {
    .step-wizard__nav {
        flex-direction: column;
    }

    .step-wizard__btn {
        width: 100%;
    }
}

/* =============================================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================================= */

@media (max-width: 640px) {
    .step-wizard__header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .step-wizard__question-text {
        font-size: 1.25rem;
    }
}
