/* ═══════════════════════════════════════════════════════════════
   Modo Reservas — Design System v3
   Temas: light · dark · ocean · rose · forest · amber
   Mobile-first · Sin dependencias externas
   ═══════════════════════════════════════════════════════════════ */

/* ─── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── Tema: light (por defecto) ─────────────────────────────── */
:root {
  --accent:         #2563eb;
  --accent-subtle:  rgba(37, 99, 235, 0.12);
  --accent-light:   rgba(37, 99, 235, 0.07);
  --grad-a:         #2563eb;
  --grad-b:         #7c3aed;

  --bg:             #f0f4fa;
  --surface:        #ffffff;
  --card:           #ffffff;
  --text:           #0c1124;
  --text-secondary: #4b5568;
  --text-tertiary:  #94a3b8;
  --border:         rgba(0, 0, 0, 0.07);
  --border-strong:  rgba(0, 0, 0, 0.13);

  --shadow-card:    0 0 0 1px rgba(0,0,0,0.05), 0 2px 6px rgba(0,0,0,0.04), 0 10px 28px rgba(0,0,0,0.06);
  --shadow-hover:   0 0 0 1px rgba(0,0,0,0.08), 0 8px 20px rgba(0,0,0,0.09), 0 28px 52px rgba(0,0,0,0.11);
  --shadow-btn:     0 3px 10px rgba(37,99,235,0.35), 0 1px 2px rgba(0,0,0,0.10);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --max-width:   1100px;
  --page-pad:    clamp(20px, 5vw, 48px);
  --radius:      22px;
  --radius-full: 999px;
  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --duration:    200ms;
  --transition:  var(--duration) var(--ease);
}

/* ─── Tema: dark ─────────────────────────────────────────────── */
html[data-theme="dark"] {
  color-scheme: dark;
  --accent:         #818cf8;
  --accent-subtle:  rgba(129, 140, 248, 0.16);
  --accent-light:   rgba(129, 140, 248, 0.08);
  --grad-a:         #818cf8;
  --grad-b:         #c084fc;

  --bg:             #09090b;
  --surface:        #111113;
  --card:           #18181b;
  --text:           #f4f4f5;
  --text-secondary: #a1a1aa;
  --text-tertiary:  #52525b;
  --border:         rgba(255, 255, 255, 0.07);
  --border-strong:  rgba(255, 255, 255, 0.13);

  --shadow-card:    0 0 0 1px rgba(255,255,255,0.05), 0 2px 8px rgba(0,0,0,0.5), 0 10px 28px rgba(0,0,0,0.35);
  --shadow-hover:   0 0 0 1px rgba(255,255,255,0.10), 0 8px 20px rgba(0,0,0,0.6), 0 28px 52px rgba(0,0,0,0.45);
  --shadow-btn:     0 4px 16px rgba(129,140,248,0.45), 0 1px 3px rgba(0,0,0,0.4);
}

/* ─── Tema: ocean ────────────────────────────────────────────── */
html[data-theme="ocean"] {
  color-scheme: dark;
  --accent:         #22d3ee;
  --accent-subtle:  rgba(34, 211, 238, 0.14);
  --accent-light:   rgba(34, 211, 238, 0.07);
  --grad-a:         #22d3ee;
  --grad-b:         #3b82f6;

  --bg:             #040d1a;
  --surface:        #071325;
  --card:           #0c1e38;
  --text:           #e0f0ff;
  --text-secondary: #6ea8d4;
  --text-tertiary:  #3d6e96;
  --border:         rgba(34, 211, 238, 0.10);
  --border-strong:  rgba(34, 211, 238, 0.20);

  --shadow-card:    0 0 0 1px rgba(34,211,238,0.07), 0 2px 8px rgba(0,0,0,0.6), 0 10px 28px rgba(0,0,0,0.4);
  --shadow-hover:   0 0 0 1px rgba(34,211,238,0.15), 0 8px 20px rgba(0,10,30,0.6), 0 28px 52px rgba(0,10,30,0.5);
  --shadow-btn:     0 4px 18px rgba(34,211,238,0.40), 0 1px 3px rgba(0,0,0,0.4);
}

/* ─── Tema: rose ─────────────────────────────────────────────── */
html[data-theme="rose"] {
  --accent:         #e11d48;
  --accent-subtle:  rgba(225, 29, 72, 0.10);
  --accent-light:   rgba(225, 29, 72, 0.05);
  --grad-a:         #e11d48;
  --grad-b:         #db2777;

  --bg:             #fff0f3;
  --surface:        #ffffff;
  --card:           #ffffff;
  --text:           #1c0510;
  --text-secondary: #7c3050;
  --text-tertiary:  #c47a90;
  --border:         rgba(225, 29, 72, 0.10);
  --border-strong:  rgba(225, 29, 72, 0.20);

  --shadow-card:    0 0 0 1px rgba(225,29,72,0.06), 0 2px 6px rgba(100,0,30,0.06), 0 10px 28px rgba(100,0,30,0.08);
  --shadow-hover:   0 0 0 1px rgba(225,29,72,0.12), 0 8px 20px rgba(100,0,30,0.10), 0 28px 52px rgba(100,0,30,0.14);
  --shadow-btn:     0 4px 16px rgba(225,29,72,0.40), 0 1px 3px rgba(100,0,30,0.15);
}

/* ─── Tema: forest ───────────────────────────────────────────── */
html[data-theme="forest"] {
  --accent:         #059669;
  --accent-subtle:  rgba(5, 150, 105, 0.12);
  --accent-light:   rgba(5, 150, 105, 0.06);
  --grad-a:         #059669;
  --grad-b:         #0d9488;

  --bg:             #f0faf5;
  --surface:        #ffffff;
  --card:           #ffffff;
  --text:           #032013;
  --text-secondary: #245c40;
  --text-tertiary:  #6dac8a;
  --border:         rgba(5, 150, 105, 0.10);
  --border-strong:  rgba(5, 150, 105, 0.20);

  --shadow-card:    0 0 0 1px rgba(5,150,105,0.07), 0 2px 6px rgba(0,60,30,0.06), 0 10px 28px rgba(0,60,30,0.07);
  --shadow-hover:   0 0 0 1px rgba(5,150,105,0.14), 0 8px 20px rgba(0,60,30,0.10), 0 28px 52px rgba(0,60,30,0.14);
  --shadow-btn:     0 4px 16px rgba(5,150,105,0.40), 0 1px 3px rgba(0,60,30,0.15);
}

/* ─── Tema: amber ────────────────────────────────────────────── */
html[data-theme="amber"] {
  --accent:         #d97706;
  --accent-subtle:  rgba(217, 119, 6, 0.12);
  --accent-light:   rgba(217, 119, 6, 0.06);
  --grad-a:         #d97706;
  --grad-b:         #dc2626;

  --bg:             #fdf8ee;
  --surface:        #ffffff;
  --card:           #ffffff;
  --text:           #1c1007;
  --text-secondary: #78510e;
  --text-tertiary:  #c49a50;
  --border:         rgba(217, 119, 6, 0.12);
  --border-strong:  rgba(217, 119, 6, 0.22);

  --shadow-card:    0 0 0 1px rgba(217,119,6,0.07), 0 2px 6px rgba(80,40,0,0.06), 0 10px 28px rgba(80,40,0,0.08);
  --shadow-hover:   0 0 0 1px rgba(217,119,6,0.14), 0 8px 20px rgba(80,40,0,0.10), 0 28px 52px rgba(80,40,0,0.14);
  --shadow-btn:     0 4px 16px rgba(217,119,6,0.40), 0 1px 3px rgba(80,40,0,0.15);
}

/* ═══════════════════════════════════════════════════════════════
   Componentes
   ═══════════════════════════════════════════════════════════════ */

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background var(--transition), color var(--transition);
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }

/* ─── Loading ────────────────────────────────────────────────── */
.loading-screen {
  min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
}

@keyframes spin { to { transform: rotate(360deg); } }

.spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--border-strong);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.65s linear infinite;
}

/* ─── Page shell ─────────────────────────────────────────────── */
.page { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }

/* ─── Hero ───────────────────────────────────────────────────── */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero {
  position: relative;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: clamp(56px, 10vw, 108px) var(--page-pad) clamp(44px, 7vw, 76px);
  text-align: center;
  overflow: hidden;
  animation: heroIn 0.5s var(--ease) both;
}

/* Gradiente radial de color */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 75% 65% at 50% -5%,
    var(--accent-light) 0%, transparent 70%);
  pointer-events: none;
}

/* Cuadrícula de puntos */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, var(--border-strong) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 90% 85% at 50% 50%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 85% at 50% 50%, black 20%, transparent 80%);
  opacity: 0.5;
  pointer-events: none;
}

.hero-inner {
  position: relative; z-index: 1;
  max-width: 640px; margin-inline: auto;
}

.hero-back {
  position: absolute;
  top: 20px;
  left: var(--page-pad);
  z-index: 2;
}

.logo {
  max-height: 52px; max-width: 200px; width: auto;
  margin: 0 auto 24px; object-fit: contain;
}

.logo--sm  { max-height: 36px;  max-width: 140px; }
.logo--md  { max-height: 52px;  max-width: 200px; }
.logo--lg  { max-height: 80px;  max-width: 280px; }
.logo--xl  { max-height: 120px; max-width: 360px; }

.logo--circle {
  border-radius: 50%;
  max-width: unset;
  width:  var(--logo-circle-size, 80px);
  height: var(--logo-circle-size, 80px);
  object-fit: cover;
}

.company-name {
  font-size: clamp(34px, 6vw, 60px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.0;
  color: var(--text);
  margin-bottom: 14px;
}

.headline {
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.45;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.description {
  font-size: clamp(14px, 1.8vw, 16px);
  color: var(--text-tertiary);
  line-height: 1.8;
  max-width: 480px;
  margin-inline: auto;
}

/* ─── Label de sección ───────────────────────────────────────── */
.section-label {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.10em;
  text-transform: uppercase; color: var(--text-tertiary);
  margin-bottom: 28px;
}

.section-label::before,
.section-label::after {
  content: ''; flex: 1; max-width: 64px;
  height: 1px; background: var(--border-strong);
}

/* ─── Grid de vendedores ─────────────────────────────────────── */
.grid-section {
  flex: 1;
  padding: clamp(36px, 6vw, 60px) var(--page-pad) clamp(52px, 8vw, 88px);
  background: var(--bg);
}

.grid-container { max-width: var(--max-width); margin-inline: auto; }

.employee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 272px), 272px));
  gap: 20px;
  justify-content: center;
}

/* ─── Tarjeta ────────────────────────────────────────────────── */
@keyframes cardIn {
  from { opacity: 0; transform: translateY(28px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 32px 24px 26px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  animation: cardIn 0.45s var(--ease) both;
  will-change: transform;
  position: relative; overflow: hidden;
}

/* Barra de color superior al hacer hover */
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--grad-a), var(--grad-b));
  opacity: 0; transition: opacity var(--transition);
}

.card:hover::before { opacity: 1; }

.card:nth-child(1) { animation-delay: 0.05s; }
.card:nth-child(2) { animation-delay: 0.10s; }
.card:nth-child(3) { animation-delay: 0.15s; }
.card:nth-child(4) { animation-delay: 0.20s; }
.card:nth-child(5) { animation-delay: 0.25s; }
.card:nth-child(6) { animation-delay: 0.30s; }
.card:nth-child(n+7) { animation-delay: 0.35s; }

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
  border-color: var(--border-strong);
}

/* ─── Avatar ─────────────────────────────────────────────────── */
.avatar-wrap {
  position: relative; margin-bottom: 20px; display: inline-block;
}

/* Anillo degradado */
.avatar-wrap::before {
  content: '';
  position: absolute; inset: -3px; border-radius: 50%;
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
  z-index: 0;
}

.avatar,
.avatar-initials {
  width: 96px; height: 96px; border-radius: 50%;
  position: relative; z-index: 1;
}

.avatar {
  object-fit: cover;
  border: 3px solid var(--surface);
}

.avatar-initials {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
  color: #fff;
  font-size: 30px; font-weight: 800; letter-spacing: -0.03em;
  border: 3px solid var(--surface);
}

/* ─── Info del vendedor ──────────────────────────────────────── */
.employee-name {
  font-size: 19px; font-weight: 700; letter-spacing: -0.025em;
  line-height: 1.2; margin-bottom: 6px; color: var(--text);
}

.role {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent); background: var(--accent-subtle);
  padding: 4px 12px; border-radius: var(--radius-full); margin-bottom: 14px;
}

.employee-description {
  font-size: 14px; color: var(--text-secondary);
  line-height: 1.7; flex: 1; margin-bottom: 24px; min-height: 40px;
}

/* ─── Botón ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; padding: 14px 20px; border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
  color: #fff; font-size: 14px; font-weight: 700; letter-spacing: 0.01em;
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-btn);
  -webkit-tap-highlight-color: transparent; user-select: none;
  position: relative; overflow: hidden;
}

/* Shimmer al hover */
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.18) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.5s var(--ease);
}

.btn:hover::after  { transform: translateX(100%); }
.btn:hover         { opacity: 0.90; transform: translateY(-1px); }
.btn:active        { transform: scale(0.97); opacity: 1; }

/* ─── Footer ─────────────────────────────────────────────────── */
.footer {
  padding: 20px var(--page-pad) 24px;
  text-align: center; font-size: 13px; font-weight: 500; letter-spacing: 0.01em;
  color: var(--text-tertiary);
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer a { font-weight: 700; color: var(--text-secondary); transition: color var(--transition); }
.footer a:hover { color: var(--text); }

/* ─── Páginas de estado ──────────────────────────────────────── */
@keyframes stateIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.state-page {
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 32px var(--page-pad); text-align: center; background: var(--bg); gap: 20px;
}

.state-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-card);
  padding: clamp(36px, 6vw, 60px) clamp(28px, 6vw, 56px);
  max-width: 480px; width: 100%;
  animation: stateIn 0.4s var(--ease) both;
}

.state-icon   { font-size: 52px; line-height: 1; display: block; margin-bottom: 20px; }
.state-title  { font-size: clamp(22px, 4.5vw, 30px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; margin-bottom: 12px; }
.state-message { font-size: 15px; color: var(--text-secondary); line-height: 1.7; }
.state-slug   { display: inline-block; margin-top: 16px; font-size: 12px; font-family: ui-monospace, monospace; background: var(--bg); padding: 5px 10px; border-radius: 8px; border: 1px solid var(--border-strong); color: var(--text-tertiary); }
.state-footer { font-size: 13px; color: var(--text-tertiary); font-weight: 500; }

/* ─── WhatsApp FAB ───────────────────────────────────────────── */
@keyframes fabIn {
  from { opacity: 0; transform: translateY(16px) scale(0.9); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45), 0 2px 6px rgba(0,0,0,0.15); }
  50%       { box-shadow: 0 4px 32px rgba(37,211,102,0.70), 0 2px 6px rgba(0,0,0,0.15); }
}

.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  border-radius: var(--radius-full);
  padding: 14px 20px 14px 16px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  animation: fabIn 0.5s var(--ease) 0.6s both, pulse-glow 2.8s ease-in-out 1.2s infinite;
  transition: transform var(--transition), filter var(--transition);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.whatsapp-fab:hover {
  transform: translateY(-3px) scale(1.03);
  filter: brightness(1.08);
  animation-play-state: paused;
}

.whatsapp-fab:active {
  transform: scale(0.96);
}

.whatsapp-fab__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

.whatsapp-fab__label {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.whatsapp-fab__label span:first-child {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.85;
  letter-spacing: 0.01em;
}

.whatsapp-fab__label span:last-child {
  font-size: 14px;
  font-weight: 700;
}

/* En móvil: solo el icono para no ocupar espacio */
@media (max-width: 480px) {
  .whatsapp-fab {
    padding: 16px;
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-fab__label { display: none; }
}

/* ─── Accesibilidad ──────────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ─── Movimiento reducido ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }
}

/* ─── Selector de modo de reserva ──────────────────────────── */
.hero--compact {
  padding: 40px 24px 36px;
}

.mode-question {
  margin: 28px 0 0;
  font-size: 18px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: -0.01em;
}

.mode-selector-wrap {
  padding: 32px 20px 48px;
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
}

.mode-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 560px) {
  .mode-cards {
    grid-template-columns: 1fr;
  }
}

.mode-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 36px 32px 32px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  cursor: pointer;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.mode-card::after {
  content: '→';
  position: absolute;
  bottom: 28px;
  right: 28px;
  font-size: 22px;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.mode-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 32px color-mix(in srgb, var(--accent) 14%, transparent);
  transform: translateY(-3px);
}

.mode-card:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.mode-card:active {
  transform: translateY(-1px);
}

.mode-card__icon {
  color: var(--accent);
  flex-shrink: 0;
  margin-bottom: 6px;
  opacity: 0.85;
  transition: opacity var(--transition), transform var(--transition);
}

.mode-card:hover .mode-card__icon {
  opacity: 1;
  transform: scale(1.08);
}

.mode-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

/* ─── Flujo global — placeholder ───────────────────────────── */
.gb-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 48px 24px;
  color: var(--text-tertiary);
  text-align: center;
  height: 100%;
  min-height: 200px;
}

.gb-placeholder svg {
  opacity: 0.45;
}

.gb-placeholder p {
  font-size: 14px;
  line-height: 1.5;
  max-width: 220px;
  margin: 0;
}

/* ─── Flujo global — listado de vendedores disponibles ──────── */
.gb-date-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
  padding: 12px 20px 0;
  font-weight: 500;
  text-transform: capitalize;
}

.gb-vendor-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 16px 16px;
}

.gb-vendor-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  transition: border-color var(--transition);
}

.gb-vendor-card:hover {
  border-color: var(--accent);
}

.gb-vendor-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.gb-vendor-avatar--initials {
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gb-vendor-info {
  flex: 1;
  min-width: 0;
}

.gb-vendor-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gb-vendor-role {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0 0 2px;
}

.gb-vendor-time {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.gb-vendor-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  padding: 9px 20px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--grad-a), var(--grad-b));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.18s, transform 0.18s;
  box-shadow: var(--shadow-btn);
}

.gb-vendor-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}
