/* Wizard.css - Wizard navigation styles for Expo Registration Form */

/* Wizard progress indicator styles */
.step-indicator {
    position: relative;
    z-index: 1;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #e5e7eb;
    z-index: -1;
}

.step-indicator-progress {
    position: absolute;
    top: 15px;
    left: 0;
    height: 2px;
    background-color: #4f46e5;
    transition: width 0.5s ease;
    z-index: -1;
}

.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border: 2px solid #e5e7eb;
    color: #9ca3af;
    font-weight: 600;
    transition: all 0.3s ease;
}

.step-circle.active {
    background-color: #4f46e5;
    border-color: #4f46e5;
    color: white;
}

.step-circle.completed {
    background-color: #4f46e5;
    border-color: #4f46e5;
    color: white;
}

/* Form transitions */
.form-step {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.form-step.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Button styles */
.btn-next, .btn-prev, .btn-submit {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-next:hover, .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.2);
}

.btn-prev:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(156, 163, 175, 0.2);
}

.btn-next:active, .btn-prev:active, .btn-submit:active {
    transform: translateY(1px);
}

/* Summary card transitions */
.summary-item {
    transition: background-color 0.3s ease;
}

.summary-item:hover {
    background-color: #f9fafb;
}

/* Modal animations */
#termsModal, #successModal {
    transition: opacity 0.3s ease;
}

#termsModal > div, #successModal > div {
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

/* Step text transitions */
[id^="step-text-"] {
    transition: color 0.3s ease, font-weight 0.3s ease;
}

/* Card hover effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Session checkboxes */
.session-checkbox {
    cursor: pointer;
    transition: all 0.2s ease;
}

.session-checkbox:hover {
    border-color: #4f46e5;
    background-color: #f5f5ff;
}

/* Error message animations */
.error-message {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.error-message:not(.hidden) {
    max-height: 20px;
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .step-indicator {
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .step-circle {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }

    [id^="step-text-"] {
        font-size: 0.7rem;
    }
}