/* Styles pour le composant formulaire Horizon */

.horizon-form-container .progress-steps {
    margin-bottom: 2rem;
}

.horizon-form-container .step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
}

.horizon-form-container .step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e9ecef;
    border: 2px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: rgba(var(--color-poivre-clair), var(--bs-bg-opacity));
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.horizon-form-container .step-indicator.active .step-circle {
    background-color: rgba(var(--color-orange-vif), var(--bs-bg-opacity));
    border-color: rgba(var(--color-orange-vif), var(--bs-bg-opacity));
    color: white;
}

.horizon-form-container .step-indicator.completed .step-circle {
    background-color: rgba(var(--color-poivre), var(--bs-bg-opacity));
    border-color: rgba(var(--color-poivre), var(--bs-bg-opacity));
    color: white;
}

.horizon-form-container .step-label {
    font-size: 0.875rem;
    color: rgba(var(--color-poivre-clair), var(--bs-bg-opacity));
    text-align: center;
}

.horizon-form-container .step-indicator.active .step-label {
    color: var(--color-orange-vif);
    font-weight: 600;
}

.horizon-form-container .progress-line {
    height: 2px;
    background-color: var(--color-poivre-clair);
    flex: 1;
    margin: 0 1rem;
    margin-top: 20px;
    position: relative;
}

.horizon-form-container .progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: rgba(var(--color-orange-vif), var(--bs-bg-opacity));
    width: 0;
    transition: width 0.3s ease;
}

.horizon-form-container .form-step {
    display: none;
}

.horizon-form-container .form-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px white inset !important;
    -webkit-text-fill-color: rgba(var(--color-poivre), var(--bs-bg-opacity)) !important;
}
