/* CoursePurchase Module Styles - Lemonade-inspired Wizard */

/* WCAG AA contrast fix: MudBlazor info-alert default (#4b8ece on #f6f9fc)
   has only 3.27:1 contrast. Override to #1a5276 for ≥7:1. */
.wizard-container .mud-alert-text-info {
    color: #1a5276;
}

.wizard-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.wizard-progress {
    margin-bottom: 2rem;
}

.wizard-step {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wizard-heading {
    font-weight: 400;
    color: #333;
    line-height: 1.3;
}

.wizard-options {
    margin-top: 2rem;
}

.wizard-option-btn {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1rem 1.5rem !important;
    border-radius: 20px !important;
    font-weight: 500;
    transition: all 0.2s ease;
}

.wizard-option-btn:hover {
    transform: translateY(-1px);
}

.wizard-next-btn {
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.875rem 3rem !important;
    border-radius: 20px !important;
    font-weight: 600;
    min-width: 200px;
}

.wizard-next-btn:disabled {
    opacity: 0.5;
}

.wizard-input .mud-input-outlined-border {
    border-radius: 8px !important;
}

.wizard-input .mud-input-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    color: #999;
}

/* Center the text inputs */
.wizard-input {
    text-align: left;
}

/* Segmented progress bar */
.wizard-segmented-bar {
    display: flex;
    gap: 3px;
}

.wizard-segment {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: #e0e0e0;
    transition: background 0.3s ease;
}

.wizard-segment.filled {
    background: #034A9B;
}

/* Review card */
.review-card {
    text-align: left;
    transition: box-shadow 0.3s ease;
}

.review-card:hover {
    box-shadow: 0 8px 30px rgba(3, 74, 155, 0.15) !important;
}

.review-row {
    transition: background-color 0.2s ease;
}

.review-row:hover {
    background-color: #fafbfd;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .wizard-container {
        padding: 1rem;
    }

    .wizard-heading {
        font-size: 1.5rem !important;
    }

    .wizard-next-btn {
        width: 100%;
    }

    .review-card-header {
        padding: 0.875rem 1rem !important;
    }

    .review-row {
        padding: 0.875rem 1rem !important;
    }
}
