/* ════════════════════════════════════════════════
   Takam Assistant Widget — CSS
   Charte : sage #889073/#5C6B4A, gold #C4974A, beige #F5F0E8
   ════════════════════════════════════════════════ */

#dt-widget {
  --sage:   #889073;
  --sage-d: #5C6B4A;
  --gold:   #C4974A;
  --beige:  #F5F0E8;
  --wa:     #25D366;
  --text:   #2c2c2c;
  --sub:    #6b6b6b;
  --radius: 18px;
  --shadow: 0 12px 48px rgba(0,0,0,.16);

  position: fixed;
  bottom: 28px;
  right:  28px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  /* Le conteneur ne doit jamais bloquer les clics sur la page */
  pointer-events: none;
}

/* ── Bouton flottant ────────────────────────────── */
#dt-fab {
  width: 62px; height: 62px;
  background: var(--sage);
  border: none; border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 22px rgba(92,107,74,.45);
  position: relative; flex-shrink: 0;
  transition: transform .25s ease, box-shadow .25s ease;
  /* Réactiver les clics sur le FAB (hérité de pointer-events:none du parent) */
  pointer-events: auto;
}
#dt-fab:hover { transform: scale(1.08); box-shadow: 0 8px 30px rgba(92,107,74,.6); }
#dt-fab::before {
  content: '';
  position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid rgba(136,144,115,.35);
  animation: dt-pulse 2.6s ease-in-out infinite;
}
@keyframes dt-pulse {
  0%,100% { transform:scale(1); opacity:1; }
  50%      { transform:scale(1.16); opacity:0; }
}

.dt-badge {
  position: absolute; top: -2px; right: -2px;
  background: var(--gold); color: #fff;
  font-size: 11px; font-weight: 700;
  width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
  animation: dt-pop .3s cubic-bezier(.68,-.55,.27,1.55) both;
}
@keyframes dt-pop { from { transform:scale(0); } to { transform:scale(1); } }
.dt-badge.hidden { display: none; }

/* ── Panneau principal ──────────────────────────── */
.dt-panel {
  width: 350px;
  /* min() : jamais plus haut que le viewport moins FAB + position + marge */
  max-height: min(600px, calc(100dvh - 130px));
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(.85) translateY(14px);
  transform-origin: bottom right;
  opacity: 0;
  pointer-events: none;
  transition: all .32s cubic-bezier(.34,1.56,.64,1);
}
.dt-panel.visible {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

/* ── Header ─────────────────────────────────────── */
.dt-header {
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-d) 100%);
  padding: 16px 18px 14px;
  position: relative;
  flex-shrink: 0;
}
.dt-header-top { display: flex; align-items: center; gap: 12px; }
.dt-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0;
  border: 2px solid rgba(255,255,255,.35);
}
.dt-avatar img { width:100%; height:100%; object-fit:cover; display:block; }
.dt-header-info { flex: 1; min-width: 0; }
.dt-header-name { font-size: 14px; font-weight: 600; color: #fff; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.dt-header-status { display: flex; align-items: center; gap: 5px; margin-top: 2px; }
.dt-dot { width:8px; height:8px; border-radius:50%; display:inline-block; flex-shrink:0; }
.dt-dot.online  { background:#4ADE80; animation:dt-pulse 2s infinite; }
.dt-dot.offline { background:#cbd0c0; }
#dt-status-text { font-size: 11.5px; color: rgba(255,255,255,.85); }
.dt-close {
  display: none;
  position: absolute; top: 12px; right: 14px;
  background: none; border: none;
  color: rgba(255,255,255,.75); font-size: 16px;
  cursor: pointer; line-height: 1; padding: 2px 6px;
  transition: color .2s; border-radius: 4px;
}
.dt-close:hover { color: #fff; background: rgba(255,255,255,.15); }
.dt-lang-toggle {
  background: rgba(255,255,255,.18); border: none; border-radius: 8px;
  cursor: pointer; width: 34px; height: 30px; font-size: 11px;
  font-weight: 700; letter-spacing: .5px; color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s; flex-shrink: 0;
}
.dt-lang-toggle:hover { background: rgba(255,255,255,.3); }

/* ── Corps scrollable ───────────────────────────── */
.dt-body {
  flex: 1;
  overflow-y: auto;
  background: var(--beige);
  scroll-behavior: smooth;
}
.dt-body::-webkit-scrollbar { width: 5px; }
.dt-body::-webkit-scrollbar-thumb { background: rgba(136,144,115,.3); border-radius: 3px; }

/* ── Conversation : bulles & choices ───────────── */
.dt-conversation {
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dt-msg {
  background: #fff;
  border-radius: 4px 14px 14px 14px;
  padding: 11px 14px;
  font-size: 13.5px; line-height: 1.55;
  color: var(--text);
  max-width: 92%;
  box-shadow: 0 1px 4px rgba(0,0,0,.07);
  align-self: flex-start;
  animation: dt-in .28s ease both;
}
.dt-msg strong { color: var(--sage-d); }

@keyframes dt-in {
  from { opacity:0; transform:translateY(6px); }
  to   { opacity:1; transform:translateY(0); }
}

.dt-choices { display: flex; flex-direction: column; gap: 8px; }
.dt-choice {
  background: #fff;
  border: 1.5px solid #e2e0d5; border-radius: 12px;
  padding: 11px 14px;
  font-size: 13px; font-weight: 500;
  color: var(--sage-d); text-align: left;
  cursor: pointer; font-family: inherit; line-height: 1.35;
  display: flex; align-items: center; gap: 9px;
  transition: all .18s ease;
  animation: dt-in .28s ease both;
}
.dt-choice:hover {
  border-color: var(--sage);
  transform: translateX(3px);
  box-shadow: 0 2px 10px rgba(136,144,115,.2);
}
.dt-choice-icon {
  display: flex; align-items: center; flex-shrink: 0; opacity: 0.65;
}
.dt-icon-inline {
  display: inline-flex; align-items: center; vertical-align: middle;
  margin-right: 6px; opacity: 0.55; flex-shrink: 0;
}
.dt-choice:disabled {
  opacity: .5; cursor: not-allowed; transform: none;
}

.dt-back {
  align-self: flex-start; background: none; border: none;
  color: var(--sub); font-size: 12px; cursor: pointer;
  padding: 4px 0; font-family: inherit;
  display: flex; align-items: center; gap: 4px;
  transition: color .2s;
}
.dt-back:hover { color: var(--sage-d); }

/* ── Calendrier ─────────────────────────────────── */
.dt-calendar-wrap {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 1px 6px rgba(0,0,0,.07);
  animation: dt-in .28s ease both;
}

.dt-cal-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.dt-cal-title { font-size: 14px; font-weight: 600; color: var(--text); }
.dt-cal-nav {
  background: none; border: 1px solid #e2e0d5; border-radius: 8px;
  width: 30px; height: 30px; cursor: pointer; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--sage-d); transition: all .15s;
}
.dt-cal-nav:hover { background: var(--beige); border-color: var(--sage); }
.dt-cal-nav:disabled { opacity: .35; cursor: not-allowed; }

.dt-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}
.dt-cal-dow {
  font-size: 10.5px; font-weight: 600; color: var(--sub);
  text-align: center; padding: 4px 0;
  text-transform: uppercase; letter-spacing: .4px;
}
.dt-cal-day {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px; font-size: 13px; cursor: pointer;
  border: 1.5px solid transparent;
  transition: all .15s ease;
  font-weight: 500;
  position: relative;
}
.dt-cal-day:hover:not(.dt-day-disabled):not(.dt-day-empty) {
  border-color: var(--sage); background: #f0ede6;
}
.dt-cal-day:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 2px;
  border-color: var(--sage);
  background: #f0ede6;
}
.dt-cal-day.dt-day-disabled:focus-visible,
.dt-cal-day.dt-day-empty:focus-visible {
  outline: none;
}
.dt-cal-day.dt-day-today { border-color: var(--gold); color: var(--gold); }
.dt-cal-day.dt-day-selected {
  background: var(--sage); color: #fff; border-color: var(--sage);
}
.dt-cal-day.dt-day-disabled,
.dt-cal-day.dt-day-past {
  color: #ccc; cursor: not-allowed; background: #f9f9f7;
}
.dt-cal-day.dt-day-empty { cursor: default; }
.dt-cal-day.dt-day-full {
  background: #f3f3f3; color: #ccc; cursor: not-allowed !important;
  pointer-events: none;
  flex-direction: column; gap: 1px;
}
.dt-cal-day.dt-avail-low,
.dt-cal-day.dt-avail-medium {
  flex-direction: column; gap: 1px;
}
/* Point coloré sous le numéro du jour */
.dt-avail-dot {
  width: 5px; height: 5px; border-radius: 50%;
  display: block; flex-shrink: 0;
}
.dt-avail-low    .dt-avail-dot { background: #ef4444; }
.dt-avail-medium .dt-avail-dot { background: #f59e0b; }
/* Label "Complet" sous le numéro */
.dt-avail-label {
  font-size: 8px; font-weight: 600; letter-spacing: .2px;
  color: #bbb; line-height: 1; text-transform: uppercase;
}
/* ── Chips de progression (étapes validées) ─────── */
.dt-step-chip {
  display: flex; align-items: center; gap: 8px;
  background: #f0f4ed; border: 1.5px solid #c8d4bc;
  border-radius: 10px; padding: 9px 13px;
  animation: dt-in .22s ease both;
}
.dt-chip-icon { display: flex; align-items: center; opacity: 0.55; flex-shrink: 0; }
.dt-chip-label {
  flex: 1; font-size: 13px; font-weight: 600;
  color: var(--sage-d); min-width: 0;
}
.dt-chip-modify {
  background: none; border: none; padding: 2px 6px;
  font-size: 11.5px; font-weight: 600; color: var(--sage);
  cursor: pointer; font-family: inherit; flex-shrink: 0;
  border-radius: 5px; transition: background .15s;
  text-decoration: underline; text-underline-offset: 2px;
  text-decoration-color: rgba(136,144,115,.35);
}
.dt-chip-modify:hover { background: #e8ede3; text-decoration-color: var(--sage); }

/* Skeleton loader — disponibilités en cours de chargement */
.dt-cal-grid.dt-cal-loading .dt-cal-day:not(.dt-day-disabled):not(.dt-day-empty)::after {
  content: '';
  position: absolute;
  bottom: 5px; left: 50%; transform: translateX(-50%);
  width: 5px; height: 5px; border-radius: 50%;
  background: #d4d0c8;
  animation: dt-skel-pulse 1.2s ease-in-out infinite;
}
@keyframes dt-skel-pulse {
  0%, 100% { opacity: .2; }
  50%       { opacity: .55; }
}

/* Point coloré dans la légende */
.dt-leg-dot-low {
  background: linear-gradient(135deg, #f59e0b 50%, #ef4444 50%);
}

/* Légende calendrier */
.dt-cal-legend {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 12px; font-size: 11.5px; color: var(--sub);
  align-items: center;
}
.dt-leg-dot {
  width: 10px; height: 10px; border-radius: 3px; display: inline-block; margin-right: 4px;
}

/* Loader spinner */
.dt-loader {
  display: flex; align-items: center; justify-content: center;
  padding: 24px; gap: 8px; color: var(--sub); font-size: 13px;
}
.dt-spinner {
  width: 18px; height: 18px; border: 2px solid #e2e0d5;
  border-top-color: var(--sage); border-radius: 50%;
  animation: dt-spin .7s linear infinite;
}
@keyframes dt-spin { to { transform: rotate(360deg); } }

/* ── Créneaux horaires ──────────────────────────── */
.dt-slots-wrap {
  animation: dt-in .28s ease both;
}
.dt-slots-title {
  font-size: 13px; font-weight: 600; color: var(--sage-d);
  margin-bottom: 10px;
}
.dt-slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.dt-slot {
  background: #fff; border: 1.5px solid #e2e0d5;
  border-radius: 10px; padding: 10px 6px;
  font-size: 13px; font-weight: 600; color: var(--sage-d);
  cursor: pointer; text-align: center; font-family: inherit;
  transition: all .15s ease;
}
.dt-slot:hover:not(:disabled) {
  border-color: var(--sage); background: #f0ede6;
  transform: translateY(-1px);
}
.dt-slot.selected {
  background: var(--sage); color: #fff; border-color: var(--sage);
}
.dt-slot:disabled {
  background: #f3f3f3; color: #ccc;
  cursor: not-allowed; text-decoration: line-through;
  border-color: #ece9df;
}
.dt-no-slots {
  font-size: 13px; color: var(--sub); text-align: center;
  padding: 16px; background: #fff; border-radius: 10px;
}

/* ── Formulaire confirmation ────────────────────── */
.dt-form-wrap {
  background: #fff; border-radius: 14px; padding: 16px;
  box-shadow: 0 1px 6px rgba(0,0,0,.07);
  animation: dt-in .28s ease both;
}
.dt-form-recap {
  position: sticky; top: 0; z-index: 5;
  background: #fff; border-bottom: 1.5px solid #ede9e0;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
  padding: 10px 16px; margin: 0 -16px 14px;
  font-size: 13px; color: var(--text); line-height: 1.55;
  display: flex; align-items: center; gap: 6px;
}
.dt-form-recap strong { color: var(--sage-d); }
.dt-recap-info { flex: 1; display: flex; align-items: center; gap: 6px; min-width: 0; }
.dt-recap-modify-btn {
  background: none; border: 1px solid transparent; border-radius: 6px;
  padding: 3px 8px; font-size: 11.5px; font-weight: 600;
  color: var(--sage); cursor: pointer; font-family: inherit;
  flex-shrink: 0; transition: background .15s, border-color .15s;
  white-space: nowrap;
}
.dt-recap-modify-btn:hover { background: #edeae4; border-color: #c8d4bc; }
.dt-field {
  margin-bottom: 11px;
}
.dt-field label {
  display: block; font-size: 12px; font-weight: 600;
  color: var(--sub); margin-bottom: 4px;
}
.dt-field input,
.dt-field select {
  width: 100%; box-sizing: border-box;
  border: 1.5px solid #e2e0d5; border-radius: 9px;
  padding: 9px 12px; font-size: 13.5px; font-family: inherit;
  color: var(--text); background: #fafaf8;
  transition: border-color .18s;
  outline: none;
}
.dt-field input:focus,
.dt-field select:focus { border-color: var(--sage); background: #fff; }
.dt-field input.error { border-color: #f87171; }

.dt-submit-btn {
  width: 100%; padding: 13px;
  background: var(--sage); color: #fff;
  border: none; border-radius: 12px; font-size: 14px; font-weight: 600;
  cursor: pointer; font-family: inherit;
  transition: background .2s, transform .15s;
  margin-top: 4px;
}
.dt-submit-btn:hover { background: var(--sage-d); transform: translateY(-1px); }
.dt-submit-btn:disabled { background: #aaa; cursor: not-allowed; transform: none; }

/* ── Confirmation finale ────────────────────────── */
.dt-success {
  text-align: center; padding: 24px 16px;
  animation: dt-in .35s ease both;
}
.dt-success-icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--sage), var(--sage-d));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px; font-size: 28px;
}
.dt-success h3 { font-size: 16px; color: var(--text); margin: 0 0 8px; }
.dt-success p  { font-size: 13px; color: var(--sub); line-height: 1.55; margin: 0 0 16px; }
.dt-success-detail {
  background: var(--beige); border-radius: 10px;
  padding: 12px 14px; text-align: left; font-size: 13px;
  color: var(--text); line-height: 1.7; margin-bottom: 16px;
}
.dt-success-row {
  display: flex; align-items: flex-start; gap: 8px; padding: 3px 0;
}
/* ── Bouton Google Calendar (écran succès) ────── */
.dt-gcal-btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; box-sizing: border-box;
  background: #fff; border: 1.5px solid var(--sage);
  color: var(--sage-d); border-radius: 10px; padding: 11px 18px;
  font-size: 13px; font-weight: 600; text-decoration: none; font-family: inherit;
  transition: all .18s; margin-bottom: 10px;
  animation: dt-in .28s ease both;
}
.dt-gcal-btn:hover { background: var(--sage); color: #fff; }

/* ── Carte patient connu (returning patient) ────── */
.dt-returning-card {
  background: linear-gradient(135deg, #f0f4ed 0%, #e8ede3 100%);
  border: 1.5px solid #c8d4bc;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 12px;
}
.dt-returning-greeting {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--text);
}
.dt-returning-greeting strong { color: var(--sage-d); }

.dt-returning-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}
.dt-returning-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--sub);
}
.dt-returning-row .dt-icon-inline { opacity: 0.5; }

.dt-not-you-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 12px;
  color: var(--sage);
  text-decoration: underline;
  cursor: pointer;
  font-family: inherit;
  display: block;
}
.dt-not-you-btn:hover { color: var(--sage-d); }

/* ── Message confirmation email ────────────────── */
.dt-email-confirm {
  font-size: 12px; text-align: center; line-height: 1.5;
  margin: 0 0 14px; padding: 8px 12px; border-radius: 8px;
  background: #f0f9f4; border: 1px solid #d1fae5; color: #065f46;
}

.dt-new-rdv-btn {
  background: none; border: 1.5px solid var(--sage);
  color: var(--sage-d); border-radius: 10px; padding: 10px 18px;
  font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit;
  transition: all .18s;
}
.dt-new-rdv-btn:hover { background: var(--sage); color: #fff; }

/* ── Erreur ─────────────────────────────────────── */
.dt-error-box {
  background: #fef2f2; border: 1px solid #fca5a5; border-radius: 10px;
  padding: 12px 14px; font-size: 13px; color: #dc2626;
  margin-top: 8px; animation: dt-in .2s ease both;
}

/* ── WhatsApp panel ─────────────────────────────── */
.dt-wa-panel {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 32px 24px;
}
.dt-wa-icon-wrap {
  width: 86px; height: 86px; border-radius: 22px;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.2); margin-bottom: 18px;
}
.dt-wa-title { font-size: 17px; font-weight: 600; color: var(--text); margin: 0 0 6px; }
.dt-wa-sub   { font-size: 13px; color: var(--sub); line-height: 1.5; margin: 0 0 20px; max-width: 240px; }
.dt-wa-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--wa); color: #fff;
  padding: 13px 28px; border-radius: 30px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: filter .2s, transform .15s;
}
.dt-wa-btn:hover { filter: brightness(1.05); transform: translateY(-1px); }

/* ── CTA WhatsApp inline ───────────────────────── */
.dt-flow-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--wa); color: #fff; border-radius: 12px;
  padding: 13px 16px; font-size: 13.5px; font-weight: 600;
  text-decoration: none; transition: filter .2s;
  animation: dt-in .28s ease both;
}
.dt-flow-cta:hover { filter: brightness(1.05); }

/* ── Onglets footer ─────────────────────────────── */
.dt-tabs {
  display: flex; border-top: 1px solid #ece9df;
  background: #fff; flex-shrink: 0;
}
.dt-tab {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; gap: 3px;
  padding: 11px 0; background: none; border: none;
  cursor: pointer; font-family: inherit;
  font-size: 11.5px; font-weight: 600; color: var(--sub);
  transition: color .2s; position: relative;
}
.dt-tab svg { stroke: var(--sub); transition: stroke .2s; }
.dt-tab.active { color: var(--sage-d); }
.dt-tab.active svg { stroke: var(--sage-d); }
.dt-tab.active::after {
  content: ''; position: absolute; top: 0; left: 20%; right: 20%;
  height: 2.5px; background: var(--sage); border-radius: 0 0 3px 3px;
}

/* ── Shortcode bouton ───────────────────────────── */
.takam-rdv-btn {
  display: inline-flex; align-items: center;
  background: #F5F7E2 !important; color: #1a1a1a;
  border: 2px solid #F5F7E2 !important; border-radius: 0px;
  padding: 12px 22px; font-size: 15px; font-weight: 600;
  cursor: pointer; font-family: inherit;
  transition: background .2s, transform .15s;
  text-decoration: none;
}
.takam-rdv-btn:hover { background: #5C6B4A; border-color: #5C6B4A; transform: translateY(-1px); }
.takam-rdv-link {
  color: #889073; background: none; border: none;
  font-weight: 600; cursor: pointer; font-family: inherit;
  text-decoration: underline; font-size: inherit;
}

/* ── Prochain créneau disponible ────────────────── */
.dt-next-slot-container { margin-bottom: 10px; }
.dt-next-slot-loading {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--sub); padding: 8px 4px;
}
.dt-spinner-sm {
  width: 12px; height: 12px; flex-shrink: 0;
  border: 1.5px solid #e2e0d5; border-top-color: var(--sage);
  border-radius: 50%; animation: dt-spin .7s linear infinite;
  display: inline-block;
}
.dt-next-slot-card {
  background: #f0f4ed; border: 1.5px solid #c8d4bc;
  border-radius: 10px; padding: 10px 14px;
  display: flex; flex-direction: column; gap: 4px;
  animation: dt-in .28s ease both;
}
.dt-next-slot-label {
  font-size: 10px; font-weight: 700; color: var(--sage);
  text-transform: uppercase; letter-spacing: .6px;
  white-space: nowrap;
}
.dt-next-slot-info {
  display: flex; align-items: center; gap: 6px; flex-wrap: nowrap;
  font-size: 13px; color: var(--text); white-space: nowrap;
}
.dt-next-slot-info strong { color: var(--text); font-weight: 400; white-space: nowrap; }
.dt-next-slot-time { color: var(--text); font-weight: 400; white-space: nowrap; }
.dt-next-slot-btn {
  background: none; border: none; margin-left: auto;
  padding: 0px 5px 0px 5px !important;
  color: var(--sage); font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 2px;
  cursor: pointer; font-family: inherit; flex-shrink: 0;
  text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: rgba(136,144,115,.5);
  transition: color .15s, text-decoration-color .15s;
  white-space: nowrap;
}
.dt-next-slot-btn:hover { color: var(--sage-d); text-decoration-color: var(--sage-d); }

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 480px) {
  #dt-widget { bottom: 14px; right: 14px; left: 14px; align-items: flex-end; }
  .dt-panel  { width: 100%; max-height: min(600px, calc(100dvh - 100px)); border-radius: 16px; }
  #dt-fab    { width: 56px; height: 56px; }
  .dt-slots-grid { grid-template-columns: repeat(2, 1fr); }
}