/*
============================================================

CSS billetterie
	
============================================================
*/

/* Général */
.billetterie .billetterie-wrapper {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}
.billetterie .billetterie-col {
    flex: 1;
    min-width: 300px;
}
.billetterie h2 {
    font-size: 20px;
    letter-spacing: 0px;
    margin-top: 20px;
    line-height: 1.4em;
}
.billetterie input[type=text],
.billetterie input[type=number],
.billetterie input[type=email],
.billetterie input[type=password] {
    min-height: 30px;
    padding: 0 8px;
    font-size: 13px;
    background-color: #fff;
    color: #000000;
    border: 1px solid #bbb;
}

/* Colonne droite */
.billetterie .billetterie-col.droite {
    display: flex;
    justify-content: flex-end; /* pousse le contenu à droite */
    align-items: flex-start;   /* optionnel : colle en haut */
}
/*** Responsive Styles Tablet And Below ***/
@media all and (max-width: 767px) {
    .billetterie .billetterie-col.droite {
		display: none;
	}
}
.billetterie .billetterie-col.droite .affiche {
    max-width: 300px;   /* ou 100%, selon ton besoin */
    height: auto;
    border-radius: 8px;
}

.billetterie .affiche {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Colonne gauche */
.billetterie-col .titre {
    color: #8B0000; /* bordeaux sombre */
    color: #dd1c1a;
    font-weight: bold;
    font-size: 18px;
    padding: 10px 0 0;
    line-height: 1.4em;
}

/* Calendrier */
.billetterie .calendrier {
    margin: 20px 0 30px;
}

.billetterie .grid-jours {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.billetterie .grid-jours .entete-jour {
    font-weight: bold;
    text-align: center;
    padding: 0.3rem 0;
}

.billetterie .grid-jours .jour {
    text-align: center;
    padding: 0.6rem;
    border-radius: 4px;
    transition: all 0.2s;
    cursor: pointer;
}
.billetterie .grid-jours .jour.vide {
    background: transparent;
    border: none;
    cursor: default;
}

.billetterie .grid-jours .jour.inactif {
    background: #eee;
    color: #aaa;
    cursor: default;
}

.billetterie .grid-jours .jour.actif {
    background: #f9f9f9;
    border: 1px solid #ccc;
    color: #222;
}

.billetterie .grid-jours .jour.selectionne {
    background: #dd1c1a;
    color: white;
    transform: scale(0.95);
}

.billetterie .grid-jours .jour.complet {
    background: #999;
    color: #fff;
    cursor: not-allowed;
}

.billetterie .date-selectionnee {
    color: #dd1c1a;
    margin-top: 1rem;
    font-weight: bold;
    display: none;
    font-size: 18px;
}

.billetterie .calendrier-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.billetterie .calendrier-nav button {
    padding: 0.3rem 0.6rem;
    padding: 0.5rem 0.5rem;
    cursor: pointer;
}

.billetterie .calendrier-nav button:disabled {
    opacity: 0.5;
    cursor: default;
}

/* Tarifs */
.billetterie .tarifs {
    margin-top: 10px;
}
.billetterie .abonne-toggle {
    margin: 10px 0 0;
}
.billetterie #tarif_abonne_field .max-places-abonne {
    font-size: .9em;
    line-height: 1.4em;
    margin: 0;
}
.billetterie .ligne-tarif {
    display: flex;
    align-items: center;
    margin: 10px 0;
}
.billetterie .ligne-tarif label {
    display: inline-block;
    width: 200px; /* largeur adaptée au label le plus long : "Tarif abonné :" */
    font-weight: 500;
    color: #333;
    text-align: left;
    margin-right: 0.5rem;
    font-weight: bold;
}
.billetterie .ligne-tarif input {
    width: 70px;
}

/* Identité */

.billetterie #login-modal {
    background-color: #F9F9F9;
    padding: 30px;
    margin-bottom: 30px;
}
.billetterie #form-login-ajax button {
    font-size: 14px;
    cursor: pointer;
}
.billetterie #btn-login-submit {
    border: 1px solid #dd1c1a!important;
    color: #FFFFFF;
    margin-right: 10px;
}
.billetterie #btn-login-submit:hover {
    background-color: #FFFFFF;
    color: #dd1c1a;
}
.billetterie #login-close {
    background-color: #FFFFFF;
    color: #dd1c1a;
}
.billetterie #login-close:hover {
    border: 1px solid #dd1c1a!important;
}

.billetterie #login-section {
    margin: 10px 0 20px;
}

.billetterie .billetterie-user {
    display: flex;
    flex-direction: column; /* une ligne par champ */
    gap: 0.8rem; /* espace entre les lignes */
}
.billetterie .billetterie-user .champ,
.billetterie #login-modal .champ {
    display: flex;
    align-items: center;
    margin-bottom: .8rem
}

.billetterie .billetterie-user label,
.billetterie #login-modal label {
    width: 200px; /* largeur fixe pour tous les labels */
    font-weight: bold;
    margin-right: 1rem;
}

.billetterie .billetterie-user input,
.billetterie #login-modal input {
    flex: 1; /* occupe le reste de la ligne */
}
.billetterie input:disabled {
    background-color: #eee;   /* fond gris clair */
    color: #666;              /* texte un peu plus foncé que le fond */
    cursor: not-allowed;      /* curseur interdit */
}

.billetterie .confirmer-regler {
    border: 1px solid #dd1c1a!important;
    color: #FFFFFF;
}
.billetterie .confirmer-regler:hover {
    background-color: #FFFFFF;
    color: #dd1c1a;
    cursor:pointer;
}

/* PAGE RÉCAPITULATIF */

.recapitulatif .billetterie-recap h2 {
    margin: 10px 0 20px;
    line-height: 1.4em;
}
.recapitulatif .billetterie-recap {
    font-family: sans-serif;
}

.recapitulatif .billetterie-details {
    max-width: 400px;
    border-collapse: collapse;
    margin: 10px 0;
}
.recapitulatif .billetterie-details td {
    padding: 4px 8px;
}
.recapitulatif .billetterie-details .total {
    border-top: 1px solid #000;
}
.recapitulatif .confirmation {
    margin-top: 10px;
    font-weight: bold;
    color: green;
}
.recapitulatif .proceder-paiement {
    display: inline-block;
    margin-top: 10px;
    border: 1px solid #dd1c1a!important;
    color: #FFFFFF;
}
.recapitulatif .proceder-paiement:hover {
    background-color: #FFFFFF;
    color: #dd1c1a;
    cursor:pointer;
}
.recapitulatif .reservation-enregistree {
    color: green;
    font-weight: bold;
    font-size: 1.1em;
}

.recapitulatif .woocommerce {
    display:none;
}

/* PAGE RÈGLEMENT */

.reglement .billetterie-recap h2 {
    margin: 10px 0 20px;
    line-height: 1.4em;
}
.reglement .billetterie-total {
    font-size: 18px;
    line-height: 1.4em;
}
.reglement button[type=submit]#place_order {
    border: 1px solid #dd1c1a!important;
    color: #FFFFFF!important;
    margin-top: 20px;
}
.reglement button[type=submit]#place_order:hover {
    background-color: #FFFFFF!important;
    color: #dd1c1a!important;
}

.reglement .et_pb_wc_checkout_payment_info_0.et_pb_wc_checkout_payment_info {
    background-color: rgba(115, 181, 242, 0.25)!important;
}
.reglement #add_payment_method #payment div.payment_box,
.reglement .woocommerce-cart #payment div.payment_box,
.reglement .woocommerce-checkout #payment div.payment_box {
    background-color: rgba(115, 181, 242, 0.3);
}

.reglement .et_pb_wc_checkout_payment_info {
    background-color: #f1f1f1!important;
}