/* ================================================
   LAVHOME - PAGES DE CONFIRMATION
   Styles cohérents avec le formulaire de réservation
   ================================================ */

/* Container principal */
.lavhome-confirmation {
  max-width: 650px;
  margin: 40px auto;
  padding: 40px;
  background: #fff;
  border: 1px solid #dedede;
  border-radius: 10px;
  box-shadow: 0px 0px 5px 3px rgba(0, 0, 0, 0.05);
  text-align: center;
  font-family: "Titillium Web", sans-serif;
}

/* Icône de confirmation */
.confirmation-icon {
  width: 40px;
  height: 40px;
  background: #f9e830;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
}

.confirmation-icon svg {
  width: 24px;
  height: 24pxpx;
  stroke: #2a2a2a;
  stroke-width: 3;
  fill: none;
}

/* Variantes d'icônes par type */
.confirmation-icon.abonnement {
  background: #f9e830;
}

.confirmation-icon.abonne {
  background: rgba(58, 140, 142, 0.1);
  border: 2px solid #3a8c8e;
}

/* Titres */
/* Sélecteur plus spécifique que Elementor */
.lavhome-confirmation h1.confirmation-title {
  font-family: "Anton", sans-serif;
  font-size: 28px;
  font-weight: 100;
  color: #2a2a2a;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.confirmation-subtitle {
  font-family: "Titillium Web", sans-serif;
  font-size: 16px;
  color: #9aa0a6;
  margin-bottom: 24px;
  font-weight: 400;
}

.confirmation-greeting {
  font-family: "Titillium Web", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #2a2a2a;
  margin-bottom: 24px;
}

/* Badges */
.subscriber-badge,
.subscription-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  font-family: "Titillium Web", sans-serif;
}

.subscription-badge {
  background: #f9e830;
  color: #2a2a2a;
  border: 1px solid #f9e830;
}

.subscriber-badge {
  background: rgba(58, 140, 142, 0.1);
  color: #3a8c8e;
  border: 1px solid rgba(58, 140, 142, 0.3);
}

/* Détails abonnement */
.subscription-details {
  background: #fcf5e2;
  border: 2px solid #ffe580;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 32px;
}

.subscription-service {
  font-family: "Titillium Web", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #2a2a2a;
  margin-bottom: 8px;
  text-transform: uppercase;
}

/* Détails de commande */
.order-details {
  background: #fcfcfc;
  border: 1px solid rgb(222, 222, 222);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 24px;
  text-align: left;
}


.order-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #dedede;
  align-items: center;
}

.order-detail-row:last-child {
  border-bottom: none;
  padding-bottom: 0px;
}

.order-detail-label {
  font-family: "Titillium Web", sans-serif;
  font-size: 14px;
  color: #9aa0a6;
  font-weight: 500;
}

.order-detail-value,
.order-summary-value {
  font-family: "Titillium Web", sans-serif;
  font-size: 14px;
  color: #2a2a2a;
  font-weight: 600;
}

/* Section créneaux */
.schedule-section {
  background: #fff5d6;
  border: 1px solid #fff5d6;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 24px;
}

.schedule-title {
  font-family: "Titillium Web", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #2a2a2a;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.schedule-item {
  display: flex;
  align-items: center;
  padding: 12px;
  background: white;
  border-radius: 10px;
  margin-bottom: 8px;
  border: 1px solid #dedede;
}

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

.schedule-icon {
  width: 40px;
  height: 40px;
  background: #fff5d6;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  flex-shrink: 0;
}

.schedule-icon svg {
  width: 24px;
  height: 24px;
  stroke: #2a2a2a;
  stroke-width: 2;
}

.schedule-info {
  flex: 1;
  text-align: left;
}

.schedule-type {
  font-family: "Titillium Web", sans-serif;
  font-size: 12px;
  color: #9aa0a6;
  font-weight: 500;
  text-transform: uppercase;
}

.schedule-datetime {
  font-family: "Titillium Web", sans-serif;
  font-size: 16px;
  color: #2a2a2a;
  font-weight: 600;
}

/* Section compte */
.account-section {
  background: rgba(58, 140, 142, 0.05);
  border: 1px solid rgba(58, 140, 142, 0.1);
  border-radius: 10px;
  padding: 32px;
  margin-bottom: 24px;
}


.account-icon svg {
  width: 64px;
  height: 64px;
  fill: #3a8c8e;
}

.account-title {
  font-family: "Titillium Web", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #3a8c8e;
  margin-bottom: 12px;
}

.account-text {
  font-family: "Titillium Web", sans-serif;
  font-size: 14px;
  color: #494949;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Boutons */
.lavhome-confirmation .btn-add-calendar {
  display: inline-flex;
  width: 248px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #3a8c8e;
  color: white;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  font-family: "Titillium Web", sans-serif;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 2px 2px 2px 0px rgba(0, 0, 0, 0.25);
  margin-bottom: 24px;
  border: 1px solid #3a8c8e;
  margin-right:8px;
}

.lavhome-confirmation .btn-add-calendar:hover {
  background: transparent;
  color: #3a8c8e;
  text-decoration: none;
  transform: scale(1.03);
}

.lavhome-confirmation .btn-add-calendar-abo {
  display: inline-flex;
  width: 248px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: transparent;
  color: #2a2a2a;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  font-family: "Titillium Web", sans-serif;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
  border: 1px solid #2a2a2a;
  margin-top:16px;
}
.lavhome-confirmation .btn-add-calendar-abo:hover {
  background: #ffe580;
  text-decoration: none;
  transform: scale(1.03);
}

.btn-add-calendar-abo svg {
  width: 20px;
  height: 20px;
}

.btn-add-calendar svg {
  width: 20px;
  height: 20px;
}

.lavhome-confirmation .btn-connect-account {
  display: inline-flex;
  width: auto;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #3a8c8e;
  color: white;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  font-family: "Titillium Web", sans-serif;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
  border: 1px solid #3a8c8e;
  margin-right:8px;
}

.lavhome-confirmation .btn-connect-account:hover {
  background: #fff;
  color: #3a8c8e;
  text-decoration: none;
  transform: scale(1.03);
}

.lavhome-confirmation .btn-connect-account:focus {
  background: #3a8c8e;
  color: white;
}

.lavhome-confirmation .btn-create-account {
  display: inline-flex;
  width: 248px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #3a8c8e;
  color: white;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  font-family: "Titillium Web", sans-serif;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 2px 2px 2px 0px rgba(0, 0, 0, 0.2);
  border: 1px solid #3a8c8e;
  margin-right:8px;
}

.lavhome-confirmation .btn-create-account:hover {
  background: #fff;
  color: #3a8c8e;
  text-decoration: none;
  transform: scale(1.03);
}

.lavhome-confirmation .btn-create-account:focus {
  background: #3a8c8e;
  color: white;
}

.lavhome-confirmation .btn-home {
  display: inline-flex;
  justify-content: center;
  width: 248px;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: white;
  color: #3a8c8e;
  border: 1px solid #3a8c8e;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  font-family: "Titillium Web", sans-serif;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-left:8px;
  box-shadow: 2px 2px 2px 0px rgba(0, 0, 0, 0.2);

}

.lavhome-confirmation .btn-home:hover {
  background: #3a8c8e;
  transform: scale(1.03);
  transition: 0.2s ease;
  color: #fff;
  text-decoration: none;
}

.btn-home svg {
  width: 20px;
  height: 20px;
}

.lavhome-confirmation .btn-home-abo {
  display: inline-flex;
  justify-content: center;
  width: 248px;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: white;
  color: #3a8c8e;
  border: 1px solid #3a8c8e;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  font-family: "Titillium Web", sans-serif;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 2px 2px 2px 0px rgba(0, 0, 0, 0.2);

}

.lavhome-confirmation .btn-home-abo:hover {
  background: #3a8c8e;
  transform: scale(1.03);
  color: #fff;
  text-decoration: none;
}

.btn-home-abo svg {
  width: 20px;
  height: 20px;
}



/* Info boxes */
.info-box {
  background: #fcf5e2;
  border: 1px dashed #ffe580;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 24px;
  text-align: left;
}

.info-box-title {
  font-family: "Titillium Web", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #2a2a2a;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-box-text {
  font-family: "Titillium Web", sans-serif;
  font-size: 14px;
  color: #494949;
  line-height: 1.5;
}

/* Divider */
.confirmation-divider {
  height: 1px;
  background: #dedede;
  margin: 32px 0;
}

/* Success message */
.success-message {
  background: #fff5d6;
  border: 2px solid #f9e830;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.success-message-icon {
  width: 24px;
  height: 24px;
  stroke: #2a2a2a;
  stroke-width: 2;
  flex-shrink: 0;
}

.success-message-text {
  font-family: "Titillium Web", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #2a2a2a;
  text-align: left;
}

/* Warning message */
.warning-message {
  background: rgba(58, 140, 142, 0.05);
  border: 2px solid rgba(58, 140, 142, 0.1);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.warning-message-icon {
  width: 24px;
  height: 24px;
  stroke: #3a8c8e;
  stroke-width: 2;
  flex-shrink: 0;
}

.warning-message-text {
  font-family: "Titillium Web", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #494949;
  text-align: left;
}

/* Responsive */
@media (max-width: 768px) {
  .lavhome-confirmation {
    padding: 16px;
    border: none;
    box-shadow: none;
  }

  .confirmation-title {
    font-size: 24px;
  }

  .confirmation-icon {
    width: 60px;
    height: 60px;
  }

  .confirmation-icon svg {
    width: 36px;
    height: 36px;
  }


  .order-detail-row,
  .order-summary-row {
    gap: 4px;
  }

  .schedule-item {
    flex-direction: column;
    text-align: center;
  }

  .schedule-icon {
    margin: 0 0 12px 0;
  }

  .schedule-info {
    text-align: center;
  }
  .lavhome-confirmation .btn-add-calendar,
  .lavhome-confirmation .btn-create-account,
  .lavhome-confirmation .btn-home {
    width: 100%;
    justify-content: center;
    margin-left:0px;
    margin-right:0px;
  }
}

@media (max-width: 400px) {
  .lavhome-confirmation {
    margin: 10px;
    padding: 20px;
  }

  .confirmation-title {
    font-size: 20px;
  }

  .btn-add-calendar,
  .btn-create-account,
  .btn-home {
    width: 100%;
    justify-content: center;
  }
}
 /* MAJ creneaux

 /* Grid pour les 2 cartes côte à côte */
.schedule-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

/* Cards créneaux */
.schedule-card {
  background: white;
  border: 1px solid #dedede;
  border-radius: 10px;
  padding: 16px;
  text-align: center;
}

/* Header de la card (icône + titre) */
.schedule-card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
  font-family: "Titillium Web", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #2a2a2a;
  text-transform: uppercase;
}

/* Icône SVG dans le header */
.schedule-card-icon {
  width: 16px;
  height: 16px;
  fill: #2a2a2a;
}

/* Contenu de la card (date + créneau) */
.schedule-card-content {
  font-family: "Titillium Web", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #2a2a2a;
  line-height: 1.4;
}

/* Responsive : empiler les cartes sur mobile */
@media (max-width: 768px) {
  .schedule-grid {
    grid-template-columns: 1fr;
  }
}


/* ======================================*/
/* SECTION INFO ABONNEMENT*/
/* ======================================*/

.subscription-info {
  background: rgba(58, 140, 142, 0.05);
  border: 1px solid rgba(58, 140, 142, 0.1);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 24px;
  text-align: left;
}

/* Header de la section */
.subscription-info-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  justify-content: center;
}

.subscription-info-icon {
  width: 24px;
  height: 24px;
  stroke: #3a8c8e;
  flex-shrink: 0;
}

.subscription-info-title {
  font-family: "Titillium Web", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #3a8c8e;
}

/* Items individuels */
.subscription-info-item {
  background: white;
  border: 1px solid #dedede;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 12px;
}

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

/* Header de chaque item */
.subscription-info-item-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: #3a8c8e;
}

.subscription-info-item-icon {
  width: 18px;
  height: 18px;
  stroke: #3a8c8e;
  flex-shrink: 0;
}

.subscription-info-item-label {
  font-family: "Titillium Web", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #3a8c8e;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Valeur principale */
.subscription-info-item-value {
  font-family: "Titillium Web", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #2a2a2a;
  line-height: 1.5;
  margin-bottom: 6px;
}

/* Détail secondaire */
.subscription-info-item-detail {
  font-family: "Titillium Web", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #666;
  line-height: 1.4;
}


.order-detail-subscription {
  color: #2a2a2a;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
  font-weight: 600;
  background-color: #ffe580;
  border-radius: 8px;
  padding: 4px 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .subscription-info {
    padding: 20px;
  }
  
  .subscription-info-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .subscription-info-item {
    padding: 14px;
  }
  
  .subscription-info-item-value {
    font-size: 14px;
  }
}

/* ======================================*/
/* FORMULAIRES DE COMPTE (Création / Connexion) */
/* ======================================*/

.create-account-form {
    width: 100%;
    max-width: 400px;
    margin: 20px auto 0;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
    font-family: "Titillium Web", sans-serif;
}

.password-input-wrapper {
    position: relative;
}

.password-field {
    position: relative;
    display: flex;
    align-items: center;
}

.password-field input[type="password"],
.password-field input[type="text"],
.form-group input[type="password"] {
    width: 100%;
    padding: 12px 50px 12px 16px;
    border: 1px solid #dedede;
    border-radius: 8px;
    font-size: 16px;
    font-family: "Titillium Web", sans-serif;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.password-field input:focus,
.form-group input[type="password"]:focus {
    outline: none;
    border-color: #3a8c8e;
}

/* Bouton toggle password (œil) */
.toggle-password {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: none !important;
    border: none !important;
    padding: 8px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: opacity 0.2s !important;
    width: auto !important;
    height: auto !important;
    min-width: unset !important;
    margin: 0 !important;
    box-shadow: none !important;
    line-height: 1 !important;
    z-index: 10 !important;
}

.toggle-password:hover {
    opacity: 0.7 !important;
    background: none !important;
    transform: translateY(-50%) !important;
}

.toggle-password:focus {
    outline: none !important;
    box-shadow: none !important;
}

.toggle-password .eye-icon {
    width: 20px !important;
    height: 20px !important;
    fill: #999 !important;
    transition: fill 0.2s !important;
    display: block !important;
}

.toggle-password.active .eye-icon {
    fill: #3a8c8e !important;
}

.password-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #666;
    font-family: "Titillium Web", sans-serif;
}

.forgot-password-link {
    display: inline-block;
    font-size: 14px !important;
    color: #2a2a2a;
    text-decoration: none!important;
    font-family: "Titillium Web", sans-serif;
    font-weight: 500!important;
    transition: color 0.2s!important;
}

.forgot-password-link:hover {
    color: #2d7072;
    text-decoration: underline;
}

/* Messages de succès/erreur dynamiques */
.account-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    font-family: "Titillium Web", sans-serif;
    display: none; /* Masqué par défaut */
}

.account-message.success {
    background: rgba(58, 140, 142, 0.1);
    border: 1px solid rgba(58, 140, 142, 0.3);
    border-radius: 6px;
    color: #3a8c8e;
    font-weight: 500;
}

.account-message.error {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 8px;
    padding: 12px 16px;
    color: #ff6b6b;
}

/* Responsive formulaires */
@media (max-width: 768px) {
    .create-account-form {
        max-width: 100%;
    }
}