/* =========================================================
   Sections spécifiques au panel SMM
   (complète next-overrides.css, ne modifie pas style.css)
   ========================================================= */

.tm-padding-section-sm { padding: 60px 0; }
.mt-20 { margin-top: 20px; }

.tm-sectiontitle-sub {
  color: var(--tm-theme);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  margin-bottom: 10px;
}

/* ---------------------------------------------------------
   Barre d'actions de l'en-tête
   (remplace l'ancienne barre supérieure noire)
   --------------------------------------------------------- */
/* Le bandeau de navigation est en `position: absolute; z-index: 99` :
   la zone d'actions doit passer au-dessus, sinon les menus déroulants
   sont recouverts par la barre blanche. */
.tm-header-middlearea {
  position: relative;
  z-index: 130;
}

.tm-navactions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: nowrap;
}

.tm-navbtn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 20px;
  border: 1px solid var(--tm-border);
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  background: #ffffff;
  color: var(--tm-heading);
  transition: all 0.3s ease-in-out;
}

.tm-navbtn:hover {
  border-color: var(--tm-theme);
  color: var(--tm-theme);
}

.tm-navbtn-primary {
  background: var(--tm-theme);
  border-color: var(--tm-theme);
  color: #ffffff;
}

.tm-navbtn-primary:hover {
  background: #e5a93f;
  border-color: #e5a93f;
  color: #ffffff;
}

/* Bouton d'accès à l'administration : réservé aux rôles admin/support */
.tm-navbtn-admin {
  background: #101830;
  border-color: #101830;
  color: #ffffff;
}

.tm-navbtn-admin:hover {
  background: #1c2748;
  border-color: #1c2748;
  color: #ffffff;
}

.tm-navactions-lang,
.tm-navactions-account {
  position: relative;
}

.tm-navlang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--tm-body);
  transition: all 0.3s ease-in-out;
}

.tm-navlang-toggle:hover { color: var(--tm-theme); }
.tm-navlang-toggle .ion-chevron-down { font-size: 10px; }

.tm-navdropdown {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-start: 0;
  z-index: 140;
  min-width: 190px;
  padding: 8px 0;
  margin: 0;
  list-style: none;
  background: #ffffff;
  border: 1px solid var(--tm-border);
  border-top: 3px solid var(--tm-theme);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  text-align: start;
}

.tm-navdropdown-end {
  inset-inline-start: auto;
  inset-inline-end: 0;
}

.tm-navdropdown a {
  display: block;
  padding: 9px 18px;
  font-size: 14px;
  color: var(--tm-heading);
  white-space: nowrap;
}

.tm-navdropdown a:hover,
.tm-navdropdown a.is-active { color: var(--tm-theme); }

/* Raccourci vers l'espace d'administration, visible pour ce rôle seulement */
.tm-navdropdown-admin {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--tm-theme) !important;
  border-bottom: 1px solid var(--tm-border);
  margin-bottom: 4px;
  padding-bottom: 11px !important;
}

/* L'ancienne barre supérieure est retirée : le bandeau de navigation
   n'a plus besoin d'être décalé de la même hauteur. */
.tm-header-middlearea { padding: 18px 0; }

@media only screen and (max-width: 991px) {
  .tm-navactions { gap: 8px; }
  .tm-navactions .tm-navbtn span,
  .tm-navlang-toggle span { display: none; }
  .tm-navbtn { padding: 0 12px; }
  .tm-header-search { margin-top: 18px; }
}

@media only screen and (max-width: 575px) {
  .tm-navactions .tm-header-icons { display: none; }
}

/* ---------------------------------------------------------
   Logo SMM67
   --------------------------------------------------------- */
.tm-header-logo img { max-height: 76px; max-width: 250px; width: auto; }
.widget-info-logo { display: inline-block; margin-bottom: 20px; }

/*
  Coordonnées du pied de page.

  Le thème réserve `padding-left: 74px` sur la ligne et pose le libellé
  en `position: absolute`. Cette réserve est calibrée sur « Phone : » :
  « Téléphone : » la dépasse et venait recouvrir le numéro. Le décalage
  était de surcroît physique, donc du mauvais côté en arabe.

  Une ligne flex s'adapte à la longueur du libellé, quelle que soit la
  langue et le sens de lecture.
*/
.widget-info ul li {
  position: static;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  padding-left: 0;
  padding-inline-start: 0;
}

.widget-info ul li b {
  position: static;
  flex-shrink: 0;
}
.widget-info-logo img { max-width: 190px; height: auto; }
.tm-preloader-logo img { max-width: 260px; height: auto; }

/* ---------------------------------------------------------
   Hero : dégradé + visuel 3D à droite
   --------------------------------------------------------- */
.tm-heroslider-area {
  background: linear-gradient(135deg, #f7f7f9 0%, #eef0fb 45%, #e7e9fa 100%);
}

.tm-heroslider-slider .tm-heroslider {
  background-image: none !important;
  padding: 40px 0;
}

/* Voile blanc du thème, prévu pour une photo de fond : inutile ici. */
.tm-heroslider::after { display: none !important; }

.tm-hero-visual {
  position: relative;
  text-align: center;
}

.tm-hero-visual img {
  max-width: 100%;
  height: auto;
  animation: tm-hero-float 6s ease-in-out infinite;
}

@keyframes tm-hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@media (prefers-reduced-motion: reduce) {
  .tm-hero-visual img { animation: none; }
}

@media only screen and (max-width: 991px) {
  .tm-hero-visual { margin-top: 30px; }
  .tm-hero-visual img { max-width: 420px; }
}

/* ---------------------------------------------------------
   Bandeau des pages intérieures (fil d'Ariane)
   Le thème prévoyait une photo sombre avec texte blanc :
   l'image est claire, on repasse donc le texte en foncé.
   --------------------------------------------------------- */
.tm-breadcrumb-social {
  /* Couleur du bord gauche de l'image : le fond reste continu
     sur les écrans plus larges que l'illustration. */
  background-color: #d2d5f5;
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  min-height: 240px;
  display: flex;
  align-items: center;
}

.tm-breadcrumb-social .tm-breadcrumb h2,
.tm-breadcrumb-social .tm-breadcrumb ul li,
.tm-breadcrumb-social .tm-breadcrumb ul li a {
  color: var(--tm-heading);
}

.tm-breadcrumb-social .tm-breadcrumb ul li a:hover { color: var(--tm-theme); }

/* Le texte reste sur la partie libre de l'illustration. */
.tm-breadcrumb-social .tm-breadcrumb { max-width: 55%; }

[dir='rtl'] .tm-breadcrumb-social { background-position: left center; }
[dir='rtl'] .tm-breadcrumb-social .tm-breadcrumb { margin-left: auto; }

@media only screen and (max-width: 991px) {
  .tm-breadcrumb-social { min-height: 180px; }
  .tm-breadcrumb-social .tm-breadcrumb { max-width: 100%; }
}

/* ---------------------------------------------------------
   Visuel de la section de présentation
   --------------------------------------------------------- */
.tm-intro-image {
  text-align: center;
}

.tm-intro-image img {
  max-width: 100%;
  height: auto;
  /* Les coins arrondis sont déjà dans l'image (PNG/WebP transparent). */
}

@media only screen and (max-width: 991px) {
  .tm-intro-image { margin-top: 40px; }
  .tm-intro-image img { max-width: 380px; }
}

/* ---------------------------------------------------------
   Bandeau défilant (remplace Swiper)
   --------------------------------------------------------- */
.tm-marquee {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.tm-marquee-track {
  display: flex;
  width: max-content;
  animation-name: tm-marquee-scroll;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.tm-marquee-track.is-reverse { animation-direction: reverse; }
.tm-marquee:hover .tm-marquee-track { animation-play-state: paused; }

.tm-marquee-group {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-left: 7.5px;
  padding-right: 7.5px;
}

@keyframes tm-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .tm-marquee-track { animation: none; }
}

/* ---------------------------------------------------------
   Logos de plateformes
   --------------------------------------------------------- */
.tm-platform {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: #ffffff;
  border: 1px solid var(--tm-border);
  border-radius: 50px;
  white-space: nowrap;
  transition: all 0.3s ease-in-out;
}

.tm-platform:hover {
  border-color: var(--tm-theme);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.tm-platform-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--tm-heading);
}

.tm-platform-soon { color: var(--tm-border); }

.tm-platform-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 20px;
  flex: 0 0 38px;
}

.tm-platform-icon-lg {
  width: 64px;
  height: 64px;
  font-size: 32px;
  flex-basis: 64px;
  margin-bottom: 20px;
}

/* ---------------------------------------------------------
   Statistiques en direct
   --------------------------------------------------------- */
.tm-stat {
  background: #ffffff;
  padding: 40px 25px;
  text-align: center;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(34, 34, 34, 0.06);
}

.tm-stat i {
  font-size: 34px;
  color: var(--tm-theme);
  display: block;
  margin-bottom: 15px;
}

.tm-stat h2 {
  font-size: 40px;
  margin-bottom: 5px;
  color: var(--tm-heading);
}

.tm-stat h6 {
  margin-bottom: 0;
  color: var(--tm-body);
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
}

/* ---------------------------------------------------------
   Listes à puces
   --------------------------------------------------------- */
.tm-checklist {
  padding: 0;
  margin: 20px 0;
  list-style: none;
}

.tm-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--tm-body);
}

.tm-checklist i {
  color: var(--tm-theme);
  font-size: 18px;
  line-height: 1.6;
}

.tm-checklist-sm li { font-size: 13px; margin-bottom: 6px; }
.tm-checklist-sm i { font-size: 14px; }

/* ---------------------------------------------------------
   Étapes
   --------------------------------------------------------- */
.tm-step {
  background: #ffffff;
  border: 1px solid var(--tm-border);
  padding: 35px 25px;
  height: 100%;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
}

.tm-step:hover {
  border-color: var(--tm-theme);
  transform: translateY(-4px);
}

.tm-step-number {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--tm-theme);
  margin-bottom: 12px;
}

/* ---------------------------------------------------------
   Cartes avantages et plateformes
   --------------------------------------------------------- */
.tm-feature-card,
.tm-platformcard {
  display: block;
  background: #ffffff;
  border: 1px solid var(--tm-border);
  border-radius: 6px;
  padding: 30px 25px;
  height: 100%;
  transition: all 0.3s ease-in-out;
}

.tm-feature-card:hover,
.tm-platformcard:hover {
  border-color: var(--tm-theme);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.tm-feature-card .tm-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(242, 186, 89, 0.15);
  color: var(--tm-theme);
  font-size: 26px;
  margin-bottom: 18px;
}

.tm-whylist {
  background: #ffffff;
  border: 1px solid var(--tm-border);
  border-radius: 6px;
  padding: 30px;
}

/* ---------------------------------------------------------
   Comparatif
   --------------------------------------------------------- */
.tm-comparison {
  background: #ffffff;
  border: 1px solid var(--tm-border);
  border-radius: 6px;
  padding: 35px 30px;
  height: 100%;
}

.tm-comparison ul {
  padding: 0;
  margin: 0 0 25px;
  list-style: none;
}

.tm-comparison li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--tm-border);
  font-size: 14px;
}

.tm-comparison-others i { color: #dd4b39; }

.tm-comparison-us {
  border-color: var(--tm-theme);
  border-width: 2px;
}

.tm-comparison-us i { color: #2e9e5b; }

.tm-comparison-score {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  padding: 12px;
  border-radius: 4px;
  background: #f7f7f7;
}

.tm-comparison-us .tm-comparison-score {
  background: var(--tm-theme);
  color: #ffffff;
}

/* ---------------------------------------------------------
   Avis clients
   --------------------------------------------------------- */
.tm-testimonial {
  background: #ffffff;
  border: 1px solid var(--tm-border);
  border-radius: 6px;
  padding: 30px;
  height: 100%;
}

.tm-testimonial-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.tm-testimonial-head h6 { margin-bottom: 0; }
.tm-testimonial-score { color: var(--tm-theme); font-weight: 600; }

.tm-testimonial-verified {
  display: inline-block;
  font-size: 12px;
  color: #2e9e5b;
  margin-bottom: 15px;
}

.tm-testimonial h5 { font-size: 17px; margin-bottom: 10px; }

.tm-testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0;
  margin: 35px 0 0;
}

.tm-testimonial-dots li { list-style: none; }

.tm-testimonial-dots button {
  width: 24px;
  height: 3px;
  border: none;
  padding: 0;
  background: var(--tm-border);
}

.tm-testimonial-dots button.is-active { background: var(--tm-theme); }

/* ---------------------------------------------------------
   FAQ
   --------------------------------------------------------- */
.tm-faq-item {
  border: 1px solid var(--tm-border);
  border-radius: 4px;
  margin-bottom: 12px;
  background: #ffffff;
}

.tm-faq-item.is-open { border-color: var(--tm-theme); }

.tm-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 18px 22px;
  background: transparent;
  border: none;
  text-align: start;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--tm-heading);
}

.tm-faq-item.is-open .tm-faq-question { color: var(--tm-theme); }
.tm-faq-answer { padding: 0 22px 20px; }
.tm-faq-answer p { margin-bottom: 0; }
.tm-faq-more { margin-top: 50px; }

/* ---------------------------------------------------------
   Bandeau de croissance
   --------------------------------------------------------- */
.tm-growth {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  background: #ffffff;
  border-radius: 50px;
  white-space: nowrap;
  font-size: 14px;
  color: var(--tm-body);
}

.tm-growth i { font-size: 20px; }

.tm-growth b {
  font-family: 'Montserrat', sans-serif;
  color: var(--tm-heading);
}

/* ---------------------------------------------------------
   Catalogue de services
   --------------------------------------------------------- */
.tm-servicefilters { margin-bottom: 30px; }

.tm-platformfilter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0 0 25px;
  list-style: none;
}

.tm-platformfilter a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--tm-border);
  border-radius: 50px;
  font-size: 13px;
  color: var(--tm-heading);
  background: #ffffff;
}

.tm-platformfilter a.is-active {
  border-color: var(--tm-theme);
  background: var(--tm-theme);
  color: #ffffff;
}

.tm-platformfilter a.is-active i { color: #ffffff !important; }

.tm-servicefilters-search {
  flex: 1 1 260px;
  position: relative;
}

.tm-servicetable td {
  vertical-align: middle;
  font-size: 14px;
}

.tm-servicetable-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--tm-heading);
}

.tm-servicetable-category {
  display: block;
  font-size: 12px;
  color: var(--tm-body);
  margin-top: 4px;
}

.tm-servicetable-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.tm-favorite-toggle {
  background: transparent;
  border: none;
  font-size: 18px;
  color: var(--tm-border);
}

/* ---------------------------------------------------------
   Fiche service et formulaire de commande
   --------------------------------------------------------- */
.tm-servicecard {
  background: #ffffff;
  border: 1px solid var(--tm-border);
  border-radius: 6px;
  padding: 30px;
}

.tm-servicecard-category {
  color: var(--tm-body);
  font-size: 13px;
}

.tm-servicecard-specs {
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.tm-servicecard-specs li {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 0;
  border-bottom: 1px solid var(--tm-border);
  font-size: 14px;
}

.tm-servicecard-description { margin-top: 25px; }

.tm-orderform {
  background: #ffffff;
  border: 1px solid var(--tm-border);
  border-radius: 6px;
  padding: 30px;
}

.tm-orderform textarea,
.tm-checkout-form textarea,
.tm-contact-forminner textarea {
  width: 100%;
  border: 1px solid var(--tm-border);
  padding: 12px 15px;
  font-size: 14px;
}

.tm-ordercharge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  background: #f7f7f7;
  border-left: 3px solid var(--tm-theme);
}

.tm-ordercharge b {
  font-size: 20px;
  color: var(--tm-heading);
}

.tm-orderform-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.tm-hero-secondary { margin-left: 12px; }

.tm-codeblock {
  background: #111111;
  color: #f7f7f7;
  padding: 22px;
  border-radius: 6px;
  font-size: 13px;
  overflow-x: auto;
  direction: ltr;
  text-align: left;
}

@media only screen and (max-width: 767px) {
  .tm-hero-secondary { margin-left: 0; margin-top: 10px; }
  .tm-stat h2 { font-size: 32px; }
}


/* =========================================================
   Portefeuille, WhatsApp et confirmation de commande
   ========================================================= */

/* --- Encadré portefeuille au checkout --- */
.tm-wallet-box {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--tm-border);
  border-radius: 8px;
  background: #f8f8fc;
}

.tm-wallet-box.is-insufficient {
  border-color: #f2b8b5;
  background: #fdf3f2;
}

.tm-wallet-box-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  font-size: 14px;
  color: var(--tm-body);
}

.tm-wallet-box-row b { color: var(--tm-heading); }
.tm-wallet-box-row i { color: var(--tm-theme); margin-inline-end: 6px; }

.tm-wallet-box-total {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--tm-border);
  font-size: 16px;
}

.tm-wallet-box-total b { font-size: 20px; }
.tm-wallet-box.is-insufficient .tm-wallet-box-total b { color: #c0392b; }

/* --- Bouton WhatsApp --- */
.tm-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 30px;
  border: none;
  border-radius: 8px;
  background: #25d366;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.28);
  transition: all 0.3s ease-in-out;
}

.tm-whatsapp-btn:hover {
  background: #1fb955;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.34);
}

.tm-whatsapp-btn i { font-size: 22px; }
.tm-whatsapp-btn-block { display: flex; width: 100%; }

.tm-whatsapp-btn-outline {
  background: #ffffff;
  color: #128c4a;
  border: 1px solid #25d366;
  box-shadow: none;
  min-height: 44px;
  font-size: 14px;
  padding: 0 18px;
}

.tm-whatsapp-btn-outline:hover {
  background: #f0fdf4;
  color: #128c4a;
  box-shadow: none;
}

.tm-whatsapp-btn.is-disabled {
  background: #e9ecef;
  color: #8b95ad;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

/* --- Page de confirmation --- */
.tm-ordersuccess {
  text-align: center;
  padding: 20px 0;
}

.tm-ordersuccess-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: #eafaf0;
  color: #22c55e;
  font-size: 38px;
}

.tm-ordersuccess-lead {
  max-width: 46ch;
  margin: 0 auto 28px;
  color: var(--tm-body);
}

.tm-whatsapp-cta {
  max-width: 460px;
  margin: 0 auto 34px;
}

.tm-ordersuccess-hint {
  margin: 12px 0 0;
  font-size: 13px;
  color: #8b95ad;
}

.tm-ordersuccess-summary {
  max-width: 560px;
  margin: 0 auto;
  padding: 24px;
  border: 1px solid var(--tm-border);
  border-radius: 8px;
  text-align: start;
  background: #ffffff;
}

.tm-ordersuccess-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--tm-body);
}

.tm-ordersuccess-row b { color: var(--tm-heading); text-align: end; }

.tm-ordersuccess-item {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px dashed var(--tm-border);
}

.tm-ordersuccess-meta {
  font-size: 12px;
  color: #8b95ad;
  word-break: break-all;
}

.tm-ordersuccess-total {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--tm-border);
  font-size: 16px;
}

.tm-ordersuccess-total b { font-size: 20px; color: var(--tm-theme); }

/* --- Historique du portefeuille (espace client) --- */
.tm-wallet-balance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 26px;
  margin-bottom: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, #101830 0%, #2b2c5e 100%);
  color: #ffffff;
}

.tm-wallet-balance h2 {
  margin: 6px 0 0;
  color: #ffffff;
  font-size: 34px;
}

.tm-wallet-balance span { font-size: 13px; opacity: 0.75; }

.tm-wallet-type {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.tm-wallet-type-CREDIT,
.tm-wallet-type-REFUND { background: #eafaf0; color: #15803d; }
.tm-wallet-type-DEBIT { background: #fdecec; color: #b91c1c; }
.tm-wallet-type-ADJUSTMENT { background: #eef0fe; color: #4a5be7; }

.tm-wallet-amount-positive { color: #15803d; font-weight: 600; }
.tm-wallet-amount-negative { color: #b91c1c; font-weight: 600; }

@media only screen and (max-width: 575px) {
  .tm-whatsapp-btn { font-size: 15px; padding: 0 18px; }
  .tm-ordersuccess-summary { padding: 18px; }
  .tm-wallet-balance h2 { font-size: 28px; }
}


/* Bandeau « connexion requise » au checkout */
.tm-signin-required {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 22px;
  margin-bottom: 26px;
  border: 1px solid #d2d5f5;
  border-radius: 8px;
  background: #f4f5fe;
}

.tm-signin-required > i {
  font-size: 26px;
  color: var(--tm-theme);
}

.tm-signin-required b {
  display: block;
  color: var(--tm-heading);
  font-size: 15px;
}

.tm-signin-required p {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--tm-body);
}

.tm-signin-required .tm-button { margin-inline-start: auto; }

@media only screen and (max-width: 575px) {
  .tm-signin-required .tm-button { margin-inline-start: 0; width: 100%; }
}
