body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f4f4; /* Couleur de fond douce */
}

.banner {
    background-color: #FFCC33;
    color: #000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: #FFCC33;
    border-color: #FFCC33;
    color: #000;
    transition: background-color 0.3s, border-color 0.3s;
}

.btn-primary:hover {
    background-color: #E6B800;
    border-color: #E6B800;
}

.equipment-icon {
    width: 25px;
    text-align: center;
    margin-right: 10px;
}

#equipmentEstimate {
    background-color: #ffffff; /* Fond blanc */
    border: 1px solid #e9ecef;
    border-radius: 0.25rem;
    padding: 1.5rem; /* Plus d'espacement */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Ombre douce */
    margin-bottom: 1.5rem;
}

#equipmentEstimate h3 {
    color: #495057;
    margin-bottom: 1rem;
}

#equipmentEstimate ul {
    margin-bottom: 0.5rem;
}

#equipmentEstimate li {
    margin-bottom: 0.5rem;
}

#equipmentEstimate p {
    margin-bottom: 0;
    font-size: 1.1em;
}

#loadingPage, #successPage {
    display: none;
    text-align: center;
    padding: 2rem;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #FFCC33;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.success-icon {
    color: #28a745;
    font-size: 5rem;
    margin-bottom: 1rem;
}

/* Ajout de styles pour les champs de saisie */
.form-control:focus {
    border-color: #FFCC33;
    box-shadow: 0 0 5px rgba(255, 204, 51, 0.5);
}

.form-control {
    border-radius: 0.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.info-icon {
    margin-left: 5px; /* Espace entre le texte et l'icône */
    color: #007bff; /* Couleur de l'icône */
    cursor: pointer; /* Indique que l'icône est cliquable */
}

.project-steps {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.9em;
}

.step {
    padding: 4px 8px;
    color: #333;
    background-color: #e0e0e0;
    border-radius: 4px;
}

.step.current {
    color: #fff;
    background-color: #007bff; /* Couleur différente pour l'étape en cours */
    font-weight: bold;
}

.arrow {
    font-size: 1.2em;
    color: #999;
}

.small-text-section p {
    font-size: 0.9em; /* Ajustez la taille selon vos besoins */
    line-height: 1.4;
}

/* Style du bouton */
.help-button {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    width: 100%;
    margin: 40px 0;
    box-sizing: border-box;
}

.help-button:hover {
    background-color: #0056b3;
}

/* Style de l'overlay du popup */
.popup-overlay {
    display: none; /* Masqué au départ */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

/* Contenu du popup */
.popup-content {
    background-color: #fff;
    padding: 20px;
    max-width: 600px;
    width: 90%; /* S'ajuste au viewport */
    max-height: 300px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.popup-content h3 {
    font-size: 1.2em;
    margin-bottom: 15px;
}

.popup-content p {
    font-size: 1em;
    color: #333;
}

/* Style pour les informations de contact */
.contact-info {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-label {
    font-weight: bold;
    color: #555;
}

.contact-item a {
    color: #007bff;
    text-decoration: none;
    font-size: 1em;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Bouton pour fermer le popup */
.close-button {
    background-color: #dc3545;
    color: #fff;
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
}

.close-button:hover {
    background-color: #c82333;
}

/* Container pour le switch */
.switch-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

/* Style du switch */
.switch-wrapper {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch-toggle {
    position: absolute;
    width: 50px;
    height: 24px;
    background-color: #ddd;
    border-radius: 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.switch-toggle::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: transform 0.3s;
}

/* Activer le switch */
#pricingSwitch:checked + .switch-toggle {
    background-color: #4CAF50;
}

#pricingSwitch:checked + .switch-toggle::before {
    transform: translateX(26px);
}

/* Style pour les labels des switches */
.switch-label-left,
.switch-label-right {
    font-weight: 600;
    font-size: 0.9rem;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    user-select: none;
    min-width: 50px;
    text-align: center;
}

/* Labels "Non" - Rouge */
.switch-label-left {
    background-color: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

.switch-label-left.active {
    background-color: #dc3545;
    color: white;
    border-color: #dc3545;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

/* Labels "Oui" - Orange/Jaune */
.switch-label-right {
    background-color: #f8f9fa;
    color: #000;
    border: 1px solid #dee2e6;
}

.switch-label-right.active {
    background-color: #FFCC33;
    color: #ffffff;
    border-color: #FFCC33;
    box-shadow: 0 2px 4px rgba(255, 204, 51, 0.3);
}

/* Labels spéciaux (ni Oui ni Non) - Bleu */
.switch-label-special {
    background-color: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    user-select: none;
    min-width: 50px;
    text-align: center;
}

.switch-label-special.active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3);
}

/* Style pour le switch */
.form-check-input {
    background-color: #ffffff;
    border-color: #dee2e6;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
    background-position: left center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: background-position .15s ease-in-out;
}

.form-check-input:checked {
    background-color: #FFCC33;
    border-color: #FFCC33;
    background-position: right center;
}

.form-check-input:not(:checked) {
    background-color: #ffffff;
    border-color: #dee2e6;
    background-position: left center;
}

.form-check-input:focus {
    border-color: #FFCC33;
    box-shadow: 0 0 0 0.25rem rgba(255, 204, 51, 0.25);
}

/* Style pour le H2 */
.section-title {
    font-size: 1.8em;
    font-weight: bold;
    color: #007bff;
    text-align: center;
    margin: 0 auto 10px;
    padding: 10px 0;
    position: relative;
    display: block;
    width: fit-content;
}

/* Ligne sous le titre */
.section-title::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background-color: #007bff;
    margin: 8px auto 0;
    border-radius: 2px;
}

/* Description sous le titre */
.section-description {
    font-size: 0.8em;
    font-style: italic;
    color: #666;
    text-align: center;
    margin: 0 auto 20px;
    max-width: 600px;
    line-height: 1.5;
}

/* Centrage de la section switch */
.switch-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.step-indicator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.nav-button-left,
.nav-button-right {
    display: flex;
    align-items: center;
    min-width: 150px;
}

.nav-button-left {
    justify-content: flex-start;
}

.nav-button-right {
    justify-content: flex-end;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    flex: 1;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-btn {
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    text-align: center;
    position: relative;
}

.step-indicator .step {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1em;
    margin: 0 auto;
}
.step-indicator .step.active {
    background: #FFCC33;
    color: #000;
}
.step-indicator .step.done {
    background: #FFCC33;
    color: #000;
}

.step-label {
    font-size: 0.85em;
    text-align: center;
    color: #666;
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}

.step-label.active {
    color: #FFCC33;
    font-weight: 600;
}

.card {
    margin-bottom: 2rem;
}
.wizard-btns {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}
.wizard-btns .btn {
    min-width: 120px;
}
.wizard-step {
    position: relative;
}

.btn-outline-info[aria-label="Demande d'aide"],
.btn-outline-info#helpButton1,
.btn-outline-info#helpButton2,
.btn-outline-info#helpButton3 {
    border-color: #007bff !important;
    color: #007bff !important;
    background: #fff;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-outline-info[aria-label="Demande d'aide"]:hover,
.btn-outline-info#helpButton1:hover,
.btn-outline-info#helpButton2:hover,
.btn-outline-info#helpButton3:hover {
    background: #0056b3 !important;
    color: #fff !important;
    border-color: #0056b3 !important;
}
.btn-outline-info[aria-label="Demande d'aide"]:hover i,
.btn-outline-info#helpButton1:hover i,
.btn-outline-info#helpButton2:hover i,
.btn-outline-info#helpButton3:hover i {
    color: #fff !important;
}
.btn-outline-info[aria-label="Demande d'aide"] i,
.btn-outline-info#helpButton1 i,
.btn-outline-info#helpButton2 i,
.btn-outline-info#helpButton3 i {
    color: #007bff !important;
    transition: color 0.2s;
}

.form-floating {
    position: relative;
    margin-bottom: 1rem;
}

.form-floating > label {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    padding: 0.5rem 0.75rem;
    pointer-events: none;
    border: 1px solid transparent;
    transform-origin: 0 0;
    transition: opacity .1s ease-in-out,transform .1s ease-in-out;
    font-size: 0.85em;
    color: #666;
    z-index: 1;
    background: transparent;
}

.form-floating > .form-control {
    height: calc(1.5rem + 2px);
    padding: 0.8rem 0.75rem 0.15rem;
    line-height: 1.25;
    font-size: 0.9rem;
    background: white;
    margin: 0.5rem 0;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: #FFCC33;
    transform: none;
    opacity: 1;
    background: white;
    padding: 0 0.25rem;
    margin-left: 0.5rem;
    margin-top: -0.4rem;
    height: auto;
    font-size: 0.75rem;
}

.form-floating > label i,
.form-label i,
.form-check-label i {
    color: #FFCC33 !important;
}

.form-label {
    color: #666;
}

.form-label i {
    margin-right: 0.5rem;
}

.card h3 {
    font-size: 1.3rem;
    text-align: center;
    position: relative;
    margin: 1.25rem 0;
    color: #333;
}

.card h3::before,
.card h3::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 40px;
    height: 2px;
    background-color: #FFCC33;
}

.card h3::before {
    left: 20px;
}

.card h3::after {
    right: 20px;
}

.card h2 {
    font-size: 1.4rem;
    text-align: center;
    position: relative;
    margin: 2rem 0 2rem;
    color: #333;
}

.card h2::before,
.card h2::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 50px;
    height: 2px;
    background-color: #FFCC33;
}

.card h2::before {
    left: 20px;
}

.card h2::after {
    right: 20px;
}

.form-label {
    font-size: 0.9rem;
    color: #666;
}

.form-check-label {
    font-size: 0.9rem;
}

.btn-outline-primary {
    color: #007bff;
    border-color: #007bff;
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.autre-zone-row {
    position: relative;
    margin-right: 0;
}

.autre-zone-row .row {
    margin-right: 0;
}

.autre-zone-row .col-2 {
    padding-right: 5px;
    padding-left: 5px;
}

/* Éliminer complètement l'espace entre les boutons */
.autre-zone-row .col-2.d-flex {
    gap: 0 !important;
}

.autre-zone-row .btn {
    margin: 0;
    margin-top: 8px;
}

.autre-zone-row .btn + .btn {
    margin-left: 2px !important;
}

.remove-zone-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #dc3545;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.btn-warning, .btn-danger {
    color: #000;
    width: 28px;
    height: 28px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    font-size: 0.8em;
}

.btn-warning {
    background-color: #FFCC33;
    border-color: #FFCC33;
}

.btn-warning:hover {
    color: #000;
    background-color: #E6B800;
    border-color: #E6B800;
}

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-danger:hover {
    color: #fff;
    background-color: #c82333;
    border-color: #c82333;
}

/* Style pour les descriptions des cards */
.card-description {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    line-height: 1.4;
    color: #6c757d;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: relative;
}

.card-description::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #FFCC33, #E6B800);
    border-radius: 3px 0 0 3px;
}

/* Instructions d'audit avec background jaune doux et bordure gauche jaune */
.audit-instructions {
    background-color: #fff9e6;
    border: 1px solid #dee2e6;
    border-left: 3px solid #FFCC33;
    border-radius: 0.375rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.audit-instructions h6 {
    color: #495057;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.audit-instructions h6 i {
    color: #FFCC33 !important;
}

.audit-instructions .small {
    color: #6c757d;
    line-height: 1.4;
}

/* Styles pour les zones d'upload d'audit */
.zone-upload-item {
    background-color: #f8f9fa;
    border: 1px solid #FFCC33 !important;
    transition: border-color 0.3s ease;
}

.zone-upload-item:hover {
    border-color: #E6B800 !important;
}

.zone-upload-item h6 {
    color: #495057;
    margin-bottom: 0.75rem;
}

.zone-upload-item h6 i {
    color: #FFCC33 !important;
}

.zone-upload-item .form-control-sm {
    font-size: 0.8rem;
    padding: 0.4rem 0.6rem;
}

.zone-upload-item .form-label.small {
    font-size: 0.85em;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

/* Personnalisation des tooltips Bootstrap */
.tooltip {
    font-size: 0.875rem;
}

.tooltip-inner {
    max-width: 350px; /* Augmente la largeur maximale par défaut (200px) */
    width: max-content;
    padding: 8px 12px;
    text-align: left;
    line-height: 1.4;
}

/* Pour les tooltips avec beaucoup de texte */
.tooltip.bs-tooltip-top .tooltip-inner,
.tooltip.bs-tooltip-bottom .tooltip-inner {
    max-width: 400px;
}

.tooltip.bs-tooltip-start .tooltip-inner,
.tooltip.bs-tooltip-end .tooltip-inner {
    max-width: 350px;
}

/* Styles pour les cartes de prix totaux */
.pricing-card {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    margin-bottom: 1rem;
}

.pricing-card .card-body {
    padding: 1.5rem;
}

.pricing-header {
    text-align: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #FFCC33;
}

.pricing-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.pricing-subtitle {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0;
    line-height: 1.4;
}

.pricing-breakdown {
    margin-bottom: 1.5rem;
}

.pricing-item {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 0.25rem;
    padding: 0.25rem;
    text-align: center;
}

.pricing-label {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.pricing-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
}

.pricing-services {
    margin-bottom: 1rem;
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 0.25rem;
}

.service-item:last-child {
    margin-bottom: 0;
}

.service-label {
    color: #666;
    font-weight: 500;
    font-size: 0.9rem;
}

.service-value {
    font-weight: 700;
    color: #333;
    font-size: 0.9rem;
}

.pricing-total {
    text-align: center;
    padding: 0.75rem 1.5rem;
    background-color: #FFCC33;
    border-radius: 0.25rem;
    margin-top: 0.5rem;
}

.total-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.25rem;
    letter-spacing: 0.5px;
}

.total-amount {
    font-size: 1.15rem;
    font-weight: 800;
    color: #000;
    line-height: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .pricing-card {
        margin-bottom: 1.5rem;
    }
    
    .total-amount {
        font-size: 1.5rem;
    }
}

/* Nouveau design pour les équipements dans le bento */
.equipment-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.equipment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.equipment-item:hover {
    background-color: #e9ecef;
    border-color: #FFCC33;
}

.equipment-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.equipment-icon-small {
    width: 20px;
    text-align: center;
    color: #FFCC33;
    font-size: 1rem;
}

.equipment-name {
    font-weight: 500;
    color: #333;
    font-size: 0.9rem;
}

.equipment-details {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.equipment-pricing {
    display: grid;
    grid-template-columns: 100px auto 50px auto 110px;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.equipment-unit-price {
    color: #666;
    font-size: 0.85rem;
    font-weight: 500;
    background-color: #e9ecef;
    border: 1px solid #dee2e6;
    padding: 0.3rem 0.6rem;
    border-radius: 0.25rem;
    text-align: center;
    cursor: not-allowed;
    min-width: 100px;
    white-space: nowrap;
}

.equipment-multiplier,
.equipment-equals {
    color: #666;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

.equipment-count {
    background-color: #FFCC33;
    color: #000;
    padding: 0.3rem 0.6rem;
    border-radius: 0.25rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
}

.equipment-price {
    color: #333;
    font-size: 0.9rem;
    font-weight: 600;
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    padding: 0.3rem 0.6rem;
    border-radius: 0.25rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    text-align: center;
    min-width: 110px;
    white-space: nowrap;
}

/* Responsive pour le nouveau design */
@media (max-width: 768px) {
    .equipment-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .equipment-pricing {
        align-self: stretch;
        grid-template-columns: 90px auto 40px auto 90px;
        gap: 0.25rem;
    }
    
    .equipment-unit-price,
    .equipment-count,
    .equipment-price {
        padding: 0.25rem 0.4rem;
        font-size: 0.8rem;
        min-width: 85px;
    }
}

/* Indicateur de tarifs mensuels */
.monthly-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background-color: #e3f2fd;
    border: 1px solid #bbdefb;
    border-radius: 0.375rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1976d2;
    text-align: center;
}

.monthly-indicator i {
    color: #1976d2;
}

/* Ligne spéciale pour l'abonnement filaire */
.equipment-item-special .equipment-details {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

/* Styles pour l'alignement des cartes */
.row.g-3 {
    display: flex;
    flex-wrap: wrap;
}

.row.g-3 > .col-md-6 {
    display: flex;
    flex-direction: column;
}

.row.g-3 > .col-md-6 > .card {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.row.g-3 > .col-md-6 > .card > .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.row.g-3 > .col-md-6 > .card > .card-body > .equipment-grid {
    flex: 1;
}

/* Timeline styles */
.timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 0;
    position: relative;
    overflow-x: auto;
    min-height: 300px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #FFCC33;
    z-index: 1;
}

.timeline-item {
    flex: 1;
    min-width: 160px;
    position: relative;
    padding: 0 15px;
    text-align: center;
    z-index: 2;
}

.timeline-item:nth-child(odd) {
    margin-top: 0;
}

.timeline-item:nth-child(even) {
    margin-top: 0;
}

.timeline-marker {
    display: none;
}

.timeline-content {
    position: absolute;
    width: 140px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px;
    padding-top: 16px;
    background: #fff;
    border: 1px solid #FFCC33;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-content {
    top: 40px;
}

.timeline-item:nth-child(even) .timeline-content {
    top: 100px;
}

.timeline-content:hover {
    transform: translateX(-50%) translateY(-5px);
}

.timeline-content h4 {
    font-size: 0.85rem;
    color: #2c3e50;
    margin-bottom: 6px;
    font-weight: 600;
}

.timeline-date {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFCC33;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 12px;
    white-space: nowrap;
    z-index: 2;
}

.timeline-content p {
    font-size: 0.75rem;
    color: #6c757d;
    margin-bottom: 0;
    line-height: 1.3;
}

/* Style pour les étapes suivantes */
.timeline-item:not(:first-child) .timeline-content {
    background: #e9ecef;
    border-color: #ced4da;
}

.timeline-item:not(:first-child) .timeline-content h4 {
    color: #495057;
}

.timeline-item:not(:first-child) .timeline-date {
    background: #ced4da;
    color: #495057;
}

.timeline-item:not(:first-child) .timeline-content p {
    color: #6c757d;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .timeline-item {
        min-width: 140px;
    }
    .timeline-content {
        width: 120px;
    }
}

@media (max-width: 992px) {
    .timeline-item {
        min-width: 120px;
    }
    .timeline-content {
        width: 110px;
    }
    .timeline-content h4 {
        font-size: 0.8rem;
    }
    .timeline-content p {
        font-size: 0.7rem;
    }
}

/* Scrollbar styling for timeline */
.timeline::-webkit-scrollbar {
    height: 6px;
}

.timeline::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.timeline::-webkit-scrollbar-thumb {
    background: #FFCC33;
    border-radius: 3px;
}

.timeline::-webkit-scrollbar-thumb:hover {
    background: #E6B800;
}

.form-check-input:checked {
    background-color: #FFCC33;
    border-color: #FFCC33;
}

.form-check-input:focus {
    border-color: #FFCC33;
    box-shadow: 0 0 0 0.25rem rgba(255, 204, 51, 0.25);
}

/* Symbole "+" entre les cartes de prix */
.plus-symbol {
    width: 60px;
    height: 60px;
    background-color: #FFCC33;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(255, 204, 51, 0.3);
    transition: all 0.3s ease;
}

.plus-symbol i {
    color: #000;
    font-size: 1.8rem;
    font-weight: bold;
}

.plus-symbol:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 204, 51, 0.4);
}

/* Barre de séparation orange sous les cartes de totaux pour step 4 */
.step-indicator + form #step-4 .pricing-cards-section {
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.step-indicator + form #step-4 .pricing-cards-section::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #FFCC33;
    border-radius: 2px;
}

/* Section des détails sans barre */
.details-section {
    margin-top: 2rem;
}

/* Style pour la barre de séparation personnalisée */
.custom-separator {
    position: relative;
    text-align: center;
    margin: 2rem 0;
}

.custom-separator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 3px;
    background-color: #FFCC33;
    border-radius: 2px;
}

/* Responsive pour le symbole "+" */
@media (max-width: 768px) {
    .plus-symbol {
        width: 50px;
        height: 50px;
        margin: 10px auto;
    }
    
    .plus-symbol i {
        font-size: 1.5rem;
    }
    
    .row.mt-4.g-3.align-items-center {
        gap: 5px !important;
    }
}

/* Style pour le sélecteur de langue */
.language-selector {
    position: relative;
    z-index: 10;
}

.language-btn {
    border-color: rgba(255, 255, 255, 0.5) !important;
    color: white !important;
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.language-btn:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
    color: white !important;
}

.language-btn.active {
    background-color: white !important;
    border-color: white !important;
    color: #007bff !important;
}

.language-btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

/* Styles pour les drapeaux avec flag-icons */
.language-btn .fi {
    margin-right: 6px;
    width: 18px;
    height: 13px;
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    vertical-align: middle;
    display: inline-block;
}

/* Amélioration de la lisibilité pour les boutons actifs */
.language-btn.active .fi {
    border-color: rgba(0, 123, 255, 0.5);
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .language-btn .fi {
        width: 16px;
        height: 12px;
        margin-right: 4px;
    }
}

/* Style pour le bouton d'aide fixe */
.fixed-help-btn {
    position: fixed !important;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    border-color: #007bff !important;
    color: #007bff !important;
    background: white !important;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3) !important;
    transition: all 0.3s ease;
    padding: 10px 16px !important;
    font-weight: 500;
}

.fixed-help-btn:hover {
    background: #007bff !important;
    color: white !important;
    border-color: #007bff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 123, 255, 0.4) !important;
}

.fixed-help-btn:hover span {
    color: white !important;
}

.fixed-help-btn:hover i {
    color: white !important;
}

.fixed-help-btn i {
    color: #007bff !important;
    transition: color 0.3s ease;
}

.fixed-help-btn span {
    color: #007bff !important;
    transition: color 0.3s ease;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .fixed-help-btn {
        bottom: 20px;
        right: 20px;
        padding: 8px 12px !important;
        font-size: 0.8rem;
    }
    
    .fixed-help-btn span {
        display: none; /* Masquer le texte sur mobile, garder seulement l'icône */
    }
    
    .fixed-help-btn {
        width: 50px;
        height: 50px;
        border-radius: 50% !important;
        justify-content: center;
    }
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .step-indicator {
        flex-direction: column;
        gap: 15px;
        padding: 0 0.5rem;
    }
    
    .nav-button-left,
    .nav-button-right {
        min-width: auto;
        width: 100%;
        justify-content: center;
    }
    
    .steps-container {
        order: -1;
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
        justify-content: space-between;
    }
    
    .step-item {
        flex: 1;
        min-width: 0;
    }
    
    .step-label {
        font-size: 0.75em;
        max-width: 80px;
    }
    
    .nav-btn {
        width: 140px;
        padding: 0.5rem 1rem !important;
        font-size: 0.85rem;
    }
}

/* Style pour la barre de séparation personnalisée */
.custom-separator {
    position: relative;
    text-align: center;
    margin: 2rem 0;
}

.custom-separator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 3px;
    background-color: #FFCC33;
    border-radius: 2px;
}

/* Styles pour la card panier - Version équilibrée */
.basket-card {
    background-color: rgba(255, 204, 51, 0.3) !important;
    border: 2px solid #FFCC33 !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 4px 15px rgba(255, 204, 51, 0.3) !important;
}

.basket-header {
    background-color: rgba(255, 204, 51, 0.3) !important;
    border-bottom: 2px solid #E6B800 !important;
    padding: 0.875rem 1.25rem;
    border-radius: 0.5rem 0.5rem 0 0 !important;
}

.basket-title {
    color: #000 !important;
    font-weight: 700;
    font-size: 1.15rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.basket-title i {
    color: #000 !important;
    font-size: 1.25rem;
}

.basket-body {
    padding: 0.875rem;
    border-radius: 0 0 0.5rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Centrer les cards dans le panier */
.basket-body .pricing-card {
    width: 100%;
}

/* Comportement sticky pour le panier */
.sticky-basket {
    position: sticky;
    top: 20px;
    z-index: 100;
    max-height: calc(100vh - 40px);
}

/* Style pour le scroll du panier */
.sticky-basket::-webkit-scrollbar {
    width: 5px;
}

.sticky-basket::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.sticky-basket::-webkit-scrollbar-thumb {
    background: #FFCC33;
    border-radius: 2px;
}

.sticky-basket::-webkit-scrollbar-thumb:hover {
    background: #E6B800;
}

/* Responsive pour le panier équilibré */
@media (max-width: 768px) {
    .sticky-basket {
        position: relative;
        top: auto;
        max-height: none;
        margin-top: 2rem;
    }
    
    .basket-title {
        font-size: 1.05rem;
    }
    
    .basket-body {
        padding: 0.875rem;
    }
    
    .basket-item {
        padding: 0.3rem 0.5rem;
    }
    
    .basket-label {
        font-size: 0.725rem;
    }
    
    .basket-value {
        font-size: 0.875rem;
    }
}

/* Styles pour la card fusionnée du panier - Version équilibrée */
.basket-unified-card {
    border: 1px solid #dee2e6 !important;
    background-color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    width: 100%;
    border-radius: 0.5rem !important;
}

.basket-section {
    margin-bottom: 1.25rem;
}

.basket-section:last-child {
    margin-bottom: 0;
}

.basket-section-header {
    text-align: center;
    margin-bottom: 1rem;
    padding-bottom: 0.875rem;
    border-bottom: 2px solid #FFCC33;
}

.basket-section-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0;
}

.basket-section-subtitle {
    font-size: 0.825rem;
    color: #666;
    margin-bottom: 0;
    line-height: 1.3;
}

.basket-breakdown {
    margin-bottom: 0.875rem;
}

.basket-item {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 0.25rem;
    padding: 0.375rem 0.625rem;
    text-align: center;
    margin-bottom: 0.3rem;
}

.basket-label {
    font-size: 0.775rem;
    color: #666;
    margin-bottom: 0.2rem;
    font-weight: 500;
    line-height: 1.2;
}

.basket-value {
    font-size: 0.925rem;
    font-weight: 700;
    color: #333;
    line-height: 1.1;
}

.basket-total {
    text-align: center;
    border-radius: 0.25rem;
    padding: 0.625rem 0.875rem;
    margin-top: 0.625rem;
}

.basket-total-capex {
    background-color: #FFCC33;
}

.basket-total-service {
    background-color: #FFCC33;
}

.basket-total-label {
    font-size: 0.725rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.25rem;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.basket-total-amount {
    font-size: 1.15rem;
    font-weight: 800;
    color: #000;
    line-height: 1;
}

.basket-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.125rem 0;
    position: relative;
}

.basket-separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #dee2e6;
    z-index: 1;
}

.basket-separator i {
    background-color: #FFCC33;
    color: #000;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.825rem;
    font-weight: bold;
    z-index: 2;
    position: relative;
}

/* Optimisation pour les grilles de 4 éléments */
.basket-breakdown .row.g-2 {
    row-gap: 0.3rem !important;
}

.basket-breakdown .col-6 {
    padding-left: 0.3rem !important;
    padding-right: 0.3rem !important;
}

/* Système d'accordéon pour les cartes de gauche dans l'étape 4 */
.accordion-card {
    transition: all 0.3s ease;
}

.accordion-card .card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 1rem 1.5rem;
    cursor: pointer;
    user-select: none;
    position: relative;
    transition: background-color 0.3s ease;
}

.accordion-card .card-header:hover {
    background-color: #e9ecef;
}

.accordion-card .card-header h3 {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.3rem;
    color: #333;
}

.accordion-card .card-header h3::before,
.accordion-card .card-header h3::after {
    display: none; /* Masquer les lignes décoratives pour l'accordéon */
}

.accordion-card .card-header .accordion-icon {
    font-size: 1rem;
    color: #FFCC33;
    transition: transform 0.3s ease;
    margin-left: auto;
}

.accordion-card.collapsed .accordion-icon {
    transform: rotate(-90deg);
}

.accordion-card .card-body {
    max-height: 1000px;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease, opacity 0.3s ease;
    opacity: 1;
}

.accordion-card.collapsed .card-body {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
}

/* Animation pour l'état collapsed */
.accordion-card.collapsed {
    margin-bottom: 0.5rem;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .accordion-card .card-header {
        padding: 0.75rem 1rem;
    }
    
    .accordion-card .card-header h3 {
        font-size: 1.1rem;
    }
    
    .accordion-card .accordion-icon {
        font-size: 0.9rem;
    }
}

/* Styles pour les options de durée d'engagement */
.commitment-option {
    position: relative;
}

.commitment-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 2px solid #dee2e6;
    border-radius: 0.375rem;
    background-color: #fff;
    color: #6c757d;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 120px;
    user-select: none;
}

.commitment-label:hover {
    border-color: #FFCC33;
    color: #000;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 204, 51, 0.2);
}

.commitment-label.active {
    background-color: #FFCC33;
    border-color: #E6B800;
    color: #000;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 204, 51, 0.3);
}

.commitment-label.active:hover {
    background-color: #E6B800;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 204, 51, 0.4);
}

/* Animation pour le changement d'état */
.commitment-label span {
    transition: all 0.2s ease;
}

.commitment-label.active span {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Styles pour la zone d'upload de fichiers */
.file-upload-area {
    position: relative;
    border: 2px dashed #FFCC33;
    border-radius: 12px;
    background-color: #f8f9fa;
    padding: 2.5rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-upload-area:hover {
    background-color: #f1f3f4;
    border-color: #E6B800;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 204, 51, 0.2);
}

.file-upload-area.dragover {
    background-color: rgba(255, 204, 51, 0.1);
    border-color: #E6B800;
    transform: scale(1.02);
}

.file-upload-content {
    pointer-events: none;
}

.file-upload-icon {
    font-size: 3rem;
    color: #FFCC33;
    margin-bottom: 1rem;
    display: block;
}

.file-upload-title {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.file-upload-subtitle {
    color: #6c757d;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.file-upload-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

/* Liste des fichiers sélectionnés */
.file-list {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    background-color: #fff;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    background-color: #f8f9fa;
}

.file-item:last-child {
    margin-bottom: 0;
}

.file-info {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.file-icon {
    font-size: 1.2rem;
    color: #FFCC33;
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
}

.file-details {
    flex-grow: 1;
}

.file-name {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.file-size {
    color: #6c757d;
    font-size: 0.8rem;
}

.file-remove {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.file-remove:hover {
    background-color: #dc3545;
    color: white;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .file-upload-area {
        padding: 2rem 1rem;
        min-height: 150px;
    }
    
    .file-upload-icon {
        font-size: 2.5rem;
    }
    
    .file-upload-title {
        font-size: 1rem;
    }
    
    .file-upload-subtitle {
        font-size: 0.85rem;
    }
}

/* Cards d'estimation d'équipements pour Step 2 */
.equipment-estimate-card {
    border: 2px solid #FFCC33;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #fff 0%, #fffbf0 100%);
}

.equipment-estimate-card:hover {
    border-color: #E6B800;
    box-shadow: 0 4px 12px rgba(255, 204, 51, 0.3);
    transform: translateY(-2px);
}

.equipment-estimate-card .card-title {
    color: #666;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.estimate-count {
    font-size: 1.5rem;
    font-weight: 800;
    color: #FFCC33;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.equipment-estimate-card .card-body {
    padding: 0.75rem;
}

/* Responsive pour les cards d'estimation */
@media (max-width: 768px) {
    .estimate-count {
        font-size: 1.2rem;
    }
    
    .equipment-estimate-card .card-title {
        font-size: 0.8rem;
    }
}

/* Style pour le bouton "Je ne sais pas" - Bleu avec transparence */
.switch-label-dont-know {
    background-color: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    user-select: none;
    min-width: 50px;
    text-align: center;
}

.switch-label-dont-know.active {
    background-color: #007bff; /* Même bleu que le bouton "De jour" */
    color: white;
    border-color: #007bff;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3);
} 