/* ========================================
   POLICES
   ======================================== */

@font-face {
  font-family: "titre";
  src: url("https://d3lu76xd95varh.cloudfront.net/fonts/theseasons-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "season";
  src: url("https://d3lu76xd95varh.cloudfront.net/fonts/theseasons-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "texte";
  src: url("https://d3lu76xd95varh.cloudfront.net/fonts/theseasons-regular.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* ========================================
   TYPOGRAPHIE
   ======================================== */

.__unstyled {
    font-family: "texte" !important;
}

.__header-two {
    font-family: "titre" !important;
}

.__header-one {
    font-family: "titre" !important;
}

.LiveField__description * {
    font-family: "texte" !important;
}

.public-DraftEditor-content {
    font-family: "titre" !important;
}

.submit .btn-raised.btn-primary {
    font-family: "titre" !important;
}

.Product__label {
    font-family: "texte" !important;
}

.LiveField__header {
    font-family: "texte" !important;
    margin-bottom: 40px;
}

.Product__price {
    font-family: "texte" !important;
    margin-bottom: 40px;
}

.LiveField__input {
    font-family: "texte" !important;
}

.Choices__label {
    font-family: "texte" !important;
}

.PaperCalendar__day {
   font-family: "texte" !important;
}

.PaperCalendar__controls .PaperCalendar__controlBtn {
   font-family: "texte" !important;
}

.PaperCalendar__dayLabel {
    font-family: "texte" !important;
}

/* ========================================
   CONTENEURS DE QUESTIONS - FOND TRANSPARENT SOMBRE
   ======================================== */

.LiveField {
    box-shadow: 0 0px 0px 0px #00000000;
    text-align: center;
}

.LiveField .LiveField__container {
    padding: 22px 20px;
    margin-top: 40px;
    margin-bottom: 10px;
    background-color: rgba(128, 128, 128, 0.4) !important;
    backdrop-filter: blur(5px);
    border-radius: 8px;
}

.LiveFieldSection__row {
    display: flex;
    margin-bottom: 0px;
}

/* ========================================
   TEXTES ET LABELS - LISIBILITÉ
   ======================================== */

.LiveField__header,
.LiveField__description,
.LiveField__description *,
.Product__label,
.Choices__label {
    color: #FFFFFF !important;
}

.LiveField__description {
    text-align: center;
}

/* ========================================
   CHAMPS INPUT - TRANSPARENCE
   ======================================== */

.LiveField__input {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: #FFFFFF !important;
    border-color: rgba(198, 170, 118, 0.5) !important;
}

.LiveField__input::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

.public-DraftStyleDefault-ltr {
    text-align: center;
}

/* ========================================
   GESTION DES ERREURS
   ======================================== */

.LiveField__error {
    background-color: #C6AA76;
    color: #FFFFFF;
}

.LiveField--submiterror .LiveField__input:not(.LiveField__input--manualfocus), 
.LiveField--submiterror .Address__input--error .LiveField__input, 
.LiveField--submiterror textarea.LiveField__input[rows][rows="1"] {
    border-color: #000000;
}

/* ========================================
   BOUTONS PRINCIPAUX
   ======================================== */

.Rank__option--selected {
    background-color: #C6AA76 !important;
    color: #FFFFFF !important;
    margin-top: 30px;
}

.submit .btn-raised.btn-primary {
    background-color: #C6AA76 !important;
    color: #FFFFFF !important;
    font-family: "titre" !important;
    text-transform: uppercase;
    font-size: 24px;
}

/* ========================================
   CHECKBOX CUSTOM - Style aligné à gauche
   ======================================== */

/* Cible les choix qui contiennent "En cochant cette case" */
.Choices__choice[aria-label*="En cochant cette case"] {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
    max-width: 700px !important;
    text-align: left !important;
}

/* L'icône checkbox (SVG) - Non cochée */
.Choices__choice[aria-label*="En cochant cette case"] .MaterialIcon {
    flex-shrink: 0;
    margin-right: 15px;
    margin-top: 2px;
    width: 24px;
    height: 24px;
    color: #FFFFFF !important;
    background-color: #8080806650 !important;
    border-radius: 3px;
    padding: 4px;
    transition: all 0.3s ease;
}

/* Quand c'est coché - fond doré avec check blanc */
.Choices__choice[aria-label*="En cochant cette case"][aria-checked="true"] .MaterialIcon {
    color: #FFFFFF !important;
    background-color: #8080806650 !important;
}

/* Le SVG lui-même */
.Choices__choice[aria-label*="En cochant cette case"] .MaterialIcon svg {
    width: 18px;
    height: 18px;
    display: block;
}

/* Le texte à droite */
.Choices__choice[aria-label*="En cochant cette case"] .Choices__label {
    flex: 1;
    text-align: left !important;
    color: #FFFFFF !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1.6;
    font-size: 14px;
}

/* Pas de transformation du texte */
.Choices__choice[aria-label*="En cochant cette case"] {
    text-transform: none !important;
}

/* Container centré */
.Choices:has(.Choices__choice[aria-label*="En cochant cette case"]) {
    display: flex !important;
    justify-content: center !important;
}

/* ========================================
   CHOIX MULTIPLES (AUTRES QUESTIONS)
   ======================================== */

.Choices__label {
    text-align: center;
    color: #FFFFFF !important;
}

.Choices__choice {
    margin: 0.5%;
}

.Choices__choice.btn-raised {
    border-radius: 4px;
    background-color: #8080806650!important;
    color: #FFFFFF !important;
}

.Choices__choice.btn-raised:hover {
    background-color: #8080806650 !important;
}

/* Choix sélectionné */
.Choices__choice.btn-raised.btn-primary {
    background-color: #8080806650 !important;
    color: #FFFFFF !important;
}

.Choices__choice--1 {
    width: 98%;
}

.Choices__choice--2 {
    width: 48%;
}

.Choices__choice--3 {
    width: 31.33%;
}

.Choices__choice--4 {
    width: 23%;
}

.Choices__choice--5 {
    width: 18%;
}

/* ========================================
   OUI/NON
   ======================================== */

.YesNo .YesNo__button {
    width: 40%;
}

/* ========================================
   SELECT
   ======================================== */

.Select-value-label {
    text-align: center;
    width: 100%;
}

/* ========================================
   PAGINATION
   ======================================== */

.Pagination__btn.btn-raised.Pagination__btn--next {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    text-align: right;
}

.Pagination__btn.btn-raised.Pagination__btn--previous {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    text-align: right;
}

.Pagination__progress {
    background: #C6AA7650;
}

/* ========================================
   PRODUITS
   ======================================== */

.Product__withquantity {
    margin: 10px;
    align-items: normal !important;
} 

.Product__imgthumb {
    width: 120px !important;
    height: 110px;
    margin: 4px 15px 0 0 !important;
    border-radius: 4px;
}

/* ========================================
   RATING
   ======================================== */

.Rating {
    align-items: center;
    justify-content: center;
}

/* ========================================
   CALENDRIER
   ======================================== */

.PaperTime {
    display: contents;
}