#addresses-section, #paiement-section {
    border: 2px solid #ccc; /* Bordure grise */
    border-radius: 8px; /* Bordures arrondies */
    padding: 10px; /* Espacement à l'intérieur de la bordure */
    margin-bottom: 20px; /* Espacement sous les boîtes */
    background-color: #ffecec; /* Couleur de fond légère */
}

/* Pour les titres à l'intérieur des sections */
#addresses-section .title_addresse, #paiement-section .checkoutBox-Title {
    background-color: #ffa4a4; /* Couleur de fond pour le titre de la section */
    border-radius: 6px; /* Bordures arrondies pour le titre */
    padding: 10px; /* Espacement à l'intérieur du titre */
    margin: -20px -20px 20px -20px; /* Pour aligner le titre avec la bordure extérieure */
    font-weight: bold;
}


#checkout-container input[type="text"],
#checkout-container input[type="email"],
#checkout-container input[type="tel"],
#checkout-container textarea,
#checkout-container select {
    width: 100%; /* Pleine largeur */
    margin: 10px 0; /* Espacement extérieur */
    border: 1px solid #ddd; /* Bordure légère */
    border-radius: 4px; /* Bords arrondis */
}
#checkout-container label {
    display: block; /* Rendre les labels en bloc pour une meilleure disposition */
    margin-bottom: 5px; /* Petite marge sous chaque label */
}
#checkout-container button[type="submit"] {
    background-color: #007bff; /* Couleur de fond */
    color: white; /* Couleur du texte */
    padding: 10px 20px; /* Espacement intérieur */
    border: none; /* Pas de bordure */
    border-radius: 4px; /* Bords arrondis */
    cursor: pointer; /* Style de curseur */
}

#checkout-container button[type="submit"]:hover {
    background-color: #0056b3; /* Changement de couleur au survol */
}
#checkout-container {
    margin-top: 20px; /* Marge en haut du conteneur */
}

#checkout-container .row {
    display: flex;
    align-items: start; /* Aligner les éléments au début de la colonne */
}

#checkout-container .address-options {
    margin-bottom: 10px; /* Espacement sous les boutons radio */
}

#checkout-container .address-options > div {
    margin-bottom: 5px; /* Espacement entre les boutons radio */
}



.sticky-summary {
    position: -webkit-sticky; /* Pour le support Safari */
    position: sticky;
    top: 113px; /* La distance du haut de la fenêtre à laquelle l'élément devient sticky */
    z-index: 100; /* S'assurer qu'il reste au-dessus des autres éléments */
}

#checkout-container .progress-wrapper {
    padding: 0;
    margin: 0;
}

#checkout-container .progress-indicator {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    justify-content: center;
}

#checkout-container .progress-indicator li {
    width: 25%;
    text-align: center;
    list-style-type: none;
    font-size: 0.9em;
    position: relative;
    text-transform: uppercase;
    color: #aaa;
}

#checkout-container .progress-indicator li:before {
    width: 30px;
    height: 30px;
    content: ' ';
    line-height: 30px;
    border: 2px solid #ddd;
    display: block;
    text-align: center;
    margin: 0 auto 10px auto;
    border-radius: 50%;
    background-color: white;
}

#checkout-container .progress-indicator li:after {
    width: 100%;
    height: 2px;
    content: '';
    position: absolute;
    background-color: #ddd;
    top: 15px;
    left: -50%;
    z-index: -1;
}

#checkout-container .progress-indicator li:first-child:after {
    content: none;
}

#checkout-container .progress-indicator li.completed {
    color: #5cb85c;
}

#checkout-container .progress-indicator li.completed:before {
    border-color: #5cb85c;
}

#checkout-container .progress-indicator li.completed + li:after {
    background-color: #5cb85c;
}

#checkout-container .progress-indicator li.active {
    color: #3a3a3a;
}

#checkout-container .progress-indicator li.active:before {
    border-color: #3a3a3a;
}


#checkout-container .card-body .price-row,
#checkout-container .card-body .tva-row,
#checkout-container .card-body .bon-row,
#checkout-container .card-body .port-row,
#checkout-container .card-body .total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem; /* Adjust the space between lines */
}

#checkout-container .card-body hr {
    margin: 1rem 0; /* Space above and below the horizontal rule */
}

#checkout-container .btn-primary,
#checkout-container .btn-link {
    width: 100%; /* Make buttons full width */
    margin-top: 1rem; /* Space above the buttons */
    text-align: center; /* Center align the return link */
}