* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.inscription-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f5f7fb;
    min-height: calc(100vh - 200px);
}

/* ==================== WIZARD STEPS ==================== */
.wizard-container {
    background: white;
    border-radius: 20px;
    padding: 24px 32px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
}

.wizard-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    z-index: 2;
}

.step-circle {
    width: 48px;
    height: 48px;
    background: #f1f5f9;
    border: 2px solid #cbd5e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #64748b;
    transition: all 0.3s ease;
    background: white;
}

.wizard-step.completed .step-circle {
    background: #006B52;
    border-color: #006B52;
    color: white;
}

.wizard-step.active .step-circle {
    background: white;
    border-color: #006B52;
    color: #006B52;
    border-width: 3px;
    box-shadow: 0 0 0 4px rgba(0, 107, 82, 0.15);
}

.wizard-step.pending .step-circle {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #94a3b8;
}

.step-circle svg {
    width: 22px;
    height: 22px;
}

.step-label {
    margin-top: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
    color: #475569;
    letter-spacing: 0.3px;
}

.wizard-step.active .step-label {
    color: #006B52;
    font-weight: 700;
}

.wizard-step.completed .step-label {
    color: #006B52;
}

.step-connector {
    position: absolute;
    left: 50%;
    top: 24px;
    width: 100%;
    height: 2px;
    background: #e2e8f0;
    z-index: -1;
}

.wizard-step.completed + .wizard-step .step-connector {
    background: #006B52;
}

/* ==================== ALERT CARD ==================== */
.alert-info-card {
    background: linear-gradient(135deg, #fff8e7, #fff3d6);
    border-left: 4px solid #d4a017;
    border-radius: 16px;
    padding: 20px 28px;
    margin-bottom: 28px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.alert-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.alert-content {
    font-size: 0.85rem;
    color: #5a4a1a;
    line-height: 1.6;
}

.alert-content strong {
    color: #b45309;
}

.required-star {
    color: #dc2626;
    font-weight: 700;
    font-size: 1rem;
}

/* ==================== FORM CONTAINER ==================== */
.form-container {
    background: white;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.form-header {
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    padding: 24px 32px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.form-badge {
    background: rgba(0, 107, 82, 0.12);
    color: #006B52;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 30px;
    letter-spacing: 0.5px;
}

.form-header h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a2c3e;
    margin: 0;
}

.step-indicator {
    background: #e8f0fe;
    color: #2c5282;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 30px;
}

/* ==================== FORM SECTIONS ==================== */
.form-sections {
    padding: 28px 32px;
}

.form-sections .form-group {
    margin-bottom: 20px;
}

.form-sections label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a2c3e;
    margin-bottom: 6px;
}

.form-sections label .required-star {
    color: #dc2626;
    margin-left: 4px;
}

.form-sections input[type="text"],
.form-sections input[type="email"],
.form-sections input[type="tel"],
.form-sections input[type="date"],
.form-sections input[type="number"],
.form-sections select,
.form-sections textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 0.9rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s;
    background: #ffffff;
    color: #1a2c3e;
}

.form-sections input:focus,
.form-sections select:focus,
.form-sections textarea:focus {
    outline: none;
    border-color: #006B52;
    box-shadow: 0 0 0 3px rgba(0, 107, 82, 0.1);
}

.form-sections select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23647b8b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.form-sections .radio-group,
.form-sections .checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 8px;
}

.form-sections .radio-label,
.form-sections .checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
    cursor: pointer;
}

.form-sections input[type="radio"],
.form-sections input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #006B52;
    cursor: pointer;
}

.form-sections input[type="file"] {
    padding: 10px 0;
    border: none;
}

.errors-container {
    margin: 0 32px 20px 32px;
}

.error-alert {
    background: #fee2e2;
    border-left: 3px solid #dc2626;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #991b1b;
}

.error-alert svg {
    flex-shrink: 0;
    color: #dc2626;
}

.empty-state {
    text-align: center;
    padding: 60px;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* ==================== FORM ACTIONS ==================== */
.form-actions {
    padding: 20px 32px 32px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    background: #fafcff;
}

.btn-prev, .btn-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 40px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-prev {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.btn-prev:hover:not([disabled]) {
    background: #e2e8f0;
    transform: translateX(-2px);
}

.btn-prev[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-next {
    background: linear-gradient(135deg, #006B52, #008060);
    color: white;
    box-shadow: 0 4px 10px rgba(0, 107, 82, 0.3);
}

.btn-next:hover {
    transform: translateX(2px);
    box-shadow: 0 6px 14px rgba(0, 107, 82, 0.4);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 900px) {
    .wizard-container {
        padding: 20px 16px;
    }

    .step-circle {
        width: 40px;
        height: 40px;
    }

    .step-circle svg {
        width: 18px;
        height: 18px;
    }

    .step-label {
        font-size: 0.6rem;
    }

    .step-connector {
        top: 20px;
    }
}

@media (max-width: 768px) {
    .inscription-wrapper {
        padding: 20px 16px;
    }

    .form-header {
        padding: 18px 24px;
        flex-direction: column;
        text-align: center;
    }

    .form-header h2 {
        font-size: 1.1rem;
    }

    .form-sections {
        padding: 20px 24px;
    }

    .form-actions {
        padding: 16px 24px 24px;
        flex-direction: column;
    }

    .btn-prev, .btn-next {
        justify-content: center;
        padding: 10px 20px;
    }

    .alert-info-card {
        padding: 16px 20px;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .wizard-steps {
        flex-wrap: wrap;
        gap: 20px;
    }

    .wizard-step {
        flex: auto;
        width: calc(50% - 10px);
    }

    .step-connector {
        display: none;
    }

    .step-label {
        font-size: 0.55rem;
    }

    .step-circle {
        width: 36px;
        height: 36px;
    }

    .step-circle span {
        font-size: 0.9rem;
    }

    .form-sections .radio-group,
    .form-sections .checkbox-group {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .wizard-step {
        width: 100%;
    }

    .form-sections {
        padding: 16px 20px;
    }

    .form-sections input[type="text"],
    .form-sections input[type="email"],
    .form-sections input[type="tel"],
    .form-sections select {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    .errors-container {
        margin: 0 20px 16px 20px;
    }
}