/* Styles pour l'inscription étape par étape */
.registration-container {
    max-width: 800px;
    margin: 0 auto;
}

.registration-steps {
    position: relative;
    margin-bottom: 2rem;
}

.progress {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    transition: width 0.3s ease;
    background: linear-gradient(45deg, #007bff, #0056b3);
}

.registration-step {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.registration-step.active {
    display: block;
}

.step-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.account-type-card {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
}

.account-type-card:hover {
    border-color: #007bff;
    transform: translateY(-2px);
}

.account-type-card.selected {
    border-color: #007bff;
    background-color: #f8f9ff;
}

.account-type-icon {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 1rem;
}

.registration-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.btn-navigation {
    min-width: 120px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .registration-container {
        padding: 0 1rem;
    }
    
    .step-card {
        padding: 1.5rem;
    }
    
    .account-type-card {
        margin-bottom: 1rem;
    }
}

/* Validation styles */
.is-valid {
    border-color: #28a745 !important;
}

.is-invalid {
    border-color: #dc3545 !important;
}

.valid-feedback,
.invalid-feedback {
    display: block;
}

/* Loading state */
.btn-loading {
    position: relative;
    color: transparent;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-right-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}