.panierbio-simple-subscription {
    max-width: 800px;
    margin: 20px auto;
    text-align: center;
    font-family: Arial, sans-serif;
}

.step {
    display: none;
}

.step.active {
    display: block;
}

.question-box {
    background-color: #f9f9f9;
    border: 2px solid #333;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.question-box h2 {
    font-size: 26px;
    color: #333;
    margin: 0 0 15px 0;
}

.answer-box {
    background-color: #fff;
    border: 2px solid #666;
    padding: 20px;
    border-radius: 5px;
}

/* Style de base pour tous les boutons WooCommerce */
.button.wc-button {
    padding: 15px 25px;
    font-size: 20px;
    line-height: 1.5;
    background-color: #0073aa; /* Bleu uniforme pour tous les boutons */
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    min-width: 100px;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    position: relative;
}

.button.wc-button:hover {
    background-color: #005d87; /* Bleu foncé au survol */
}

/* Boutons des options (Oui/Non, 1/2/3, etc.) */
.button.wc-button.option-btn {
    margin: 5px;
}

/* Bouton "Continuer vers le paiement" (étape 7) */
#proceed-to-payment {
    width: 100%;
    max-width: 300px;
    margin: 20px auto 0;
    display: block;
}

/* Bouton "Payer maintenant" (étape 8) */
#finalize-order {
    width: 100%;
    max-width: 300px;
    margin: 20px auto 0;
    display: block;
}

/* Bouton "Valider ce lieu" (étape 5) */
#validate-location.button.wc-button {
    width: 100%;
    max-width: 300px;
    margin: 20px auto 0;
    display: block;
}

/* Bouton "Valider le code" (étape 6) */
#validate-referral.button.wc-button {
    margin-top: 10px;
}

/* Bouton "Recommencer" */
.button.wc-button.restart-btn {
    background-color: #888;
    width: 100%;
    max-width: 300px;
    margin: 20px auto 0;
    display: block;
}

.button.wc-button.restart-btn:hover {
    background-color: #666;
}

/* Désactivation des boutons */
.button.wc-button:disabled {
    background-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
}

/* Badges pour les jours */
.day-badge {
    display: inline-block;
    background-color: #e67e22; /* Orange pour contraste */
    color: #fff;
    font-size: 14px;
    padding: 2px 6px;
    border-radius: 50%;
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 20px;
    text-align: center;
}

.option-select, .option-input {
    padding: 15px;
    font-size: 20px;
    width: 80%;
    margin: 15px auto;
    display: block;
    border: 1px solid #666;
    border-radius: 3px;
}

.option-select:disabled {
    background-color: #e0e0e0;
    color: #999;
    cursor: not-allowed;
}

.delivery-locations {
    text-align: left;
    margin-top: 15px;
}

.delivery-locations h3 {
    font-size: 20px;
    margin: 0 0 10px 0;
    color: #333;
}

.delivery-locations p {
    font-size: 16px;
    color: #666;
    margin: 5px 0 15px 0;
}

.location-item {
    background-color: #f0f0f0;
    border: 1px solid #999;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    line-height: 1.4;
    width: 100%;
    box-sizing: border-box;
}

.location-item:hover {
    background-color: #e0e0e0;
}

.location-item.selected {
    background-color: #cce5ff; /* Bleu clair pour cohérence */
    border-color: #0073aa;
}

.location-header {
    font-weight: bold;
    margin-bottom: 5px;
    text-align: center;
}

.location-details {
    color: #555;
}

.payment-item {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    border-radius: 5px;
}

.payment-item.selected {
    border-color: #0073aa;
    background-color: #cce5ff;
}

.payment-item .payment-header {
    font-size: 18px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.payment-item .payment-header img {
    margin-right: 10px;
    max-height: 30px;
}

.payment-item .payment-description {
    font-size: 14px;
    color: #666;
}

.other-offers-btn {
    padding: 15px 25px;
    font-size: 20px;
    background-color: #f39c12;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    margin-top: 10px;
}

.other-offers-btn:hover {
    background-color: #e67e22;
}

.summary-table {
    width: 100%;
    font-size: 22px;
    margin: 20px 0;
    border-collapse: collapse;
}

.summary-table td {
    padding: 15px;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    background-color: #fff;
    color: #000;
    text-align: left;
}

.summary-table tr:first-child td {
    border-top: none;
}

.summary-table tr:last-child td {
    border-bottom: none;
}

.loading-icon {
    display: block;
    font-size: 18px;
    margin: 10px 0;
    color: #666;
}

/* Styles modernes pour le formulaire de facturation dans l'étape 7 */
#billing-section {
    margin-top: 20px;
    text-align: left;
}

#billing-section h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

#billing-section p {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

#billing-form {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#billing-form p {
    margin: 15px 0;
}

#billing-form label {
    display: block;
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

#billing-form input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#billing-form input[type="text"]:focus {
    border-color: #0073aa;
    box-shadow: 0 0 5px rgba(0, 115, 170, 0.3);
    outline: none;
}

#billing-form input[type="text"]:required:invalid {
    border-color: #e74c3c;
}

#billing-form input[type="text"]:required:valid {
    border-color: #2ecc71;
}