/* ========================================================
   CERTO PONTO — TEMA DARK VIBRANTE OMNICHANNEL (ESTILO CRM)
   ======================================================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Paleta Base Padrão: DARK OMNICHANNEL */
  --bg-body: #090e17;
  --bg-sidebar: #0b111e;
  --bg-card: #111a2e;
  --bg-card-subtle: #142038;
  --bg-input: #0e1627;
  --border-card: #1c2b47;
  --border-light: rgba(255, 255, 255, 0.08);

  /* Cores Vibrantes (Roxo / Violeta / Neon Blue) */
  --accent-purple: #6366f1;
  --accent-purple-hover: #4f46e5;
  --accent-purple-gradient: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
  --accent-blue: #3b82f6;
  --accent-glow: rgba(99, 102, 241, 0.35);

  /* Tipografia */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Badges de Status Vibrantes */
  --status-active-bg: rgba(16, 185, 129, 0.15);
  --status-active-text: #34d399;
  --status-warning-bg: rgba(245, 158, 11, 0.15);
  --status-warning-text: #fbbf24;
  --status-danger-bg: rgba(239, 68, 68, 0.15);
  --status-danger-text: #f87171;

  --shadow-card: 0 12px 30px -5px rgba(0, 0, 0, 0.55), 0 4px 10px -2px rgba(0, 0, 0, 0.35);
  --shadow-btn: 0 6px 18px rgba(99, 102, 241, 0.38);
  --radius-capsule: 9999px;
  --radius-card: 18px;
  --radius-btn: 12px;
}

/* Modo Light Alternativo (Caso o utilizador clique no sol) */
[data-theme="light"] {
  --bg-body: #f1f5f9;
  --bg-sidebar: #0f172a;
  --bg-card: #ffffff;
  --bg-card-subtle: #f8fafc;
  --bg-input: #f1f5f9;
  --border-card: #e2e8f0;
  --border-light: rgba(0, 0, 0, 0.06);

  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-dim: #94a3b8;

  --shadow-card: 0 10px 25px -5px rgba(15, 23, 42, 0.06);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-body);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.2s ease;
}

button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; border: 0; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); }
button:disabled { opacity: .55; cursor: not-allowed; }
.hidden { display: none !important; }

/* SHELL PRINCIPAL */
.app {
  display: flex;
  min-height: 100vh;
  background-color: var(--bg-body);
}

/* SIDEBAR MODERNA COM DEGRADÉ SUAVE */
.side {
  width: 255px;
  background: var(--bg-sidebar) !important;
  color: #fff;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  border-right: 1px solid var(--border-card);
  z-index: 30;
}

.logo-area {
  padding: 22px 24px;
  border-bottom: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-area img {
  width: 100%;
  max-width: 175px;
  max-height: 52px;
  object-fit: contain;
  background: transparent;
  padding: 0;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4));
}

.side nav {
  padding: 20px 14px;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.navbtn {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  color: var(--text-muted);
  border-radius: var(--radius-btn);
  padding: 13px 16px;
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}
.navbtn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}
.navbtn.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.22) 0%, rgba(59, 130, 246, 0.15) 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(99, 102, 241, 0.45);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.navbtn b {
  font-size: 17px;
  color: var(--accent-purple);
}

.foot {
  padding: 18px 24px;
  font-size: 11px;
  color: var(--text-dim);
  border-top: 1px solid var(--border-card);
  font-weight: 600;
}

/* HEADER SUPERIOR OMNICHANNEL */
.main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

header {
  height: 72px;
  background: rgba(11, 17, 30, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 20;
}
header #crumb {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.header-actions-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* BOTÃO DE TEMA (SOL/LUA DO PRINT) */
.theme-toggle-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-btn);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: #fbbf24;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.theme-toggle-btn:hover {
  border-color: #fbbf24;
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.3);
}

/* CONTEÚDO PRINCIPAL */
main {
  padding: 32px max(24px, 3.5vw);
  max-width: 1560px;
  width: 100%;
  margin: 0 auto;
}

.headline {
  margin-bottom: 28px;
}
.headline h1 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin: 0 0 6px;
}
.headline p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
}

/* ========================================================
   CARDS DE CADASTRO E NAVEGAÇÃO (.v17-route-grid)
   ======================================================== */
.v17-route-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 20px !important;
  margin-top: 18px !important;
}

.v17-route-tile {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-card) !important;
  border-radius: var(--radius-card) !important;
  padding: 24px 22px !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  color: var(--text-main) !important;
  box-shadow: var(--shadow-card) !important;
  cursor: pointer !important;
  text-align: left !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  overflow: hidden !important;
}
.v17-route-tile::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent-purple-gradient);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.v17-route-tile:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(99, 102, 241, 0.45) !important;
  box-shadow: 0 16px 36px -6px rgba(0, 0, 0, 0.65), 0 0 20px var(--accent-glow) !important;
}
.v17-route-tile:hover::before {
  opacity: 1;
}

.v17-route-icon {
  width: 52px !important;
  height: 52px !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25) 0%, rgba(59, 130, 246, 0.15) 100%) !important;
  border: 1px solid rgba(99, 102, 241, 0.3) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 24px !important;
  color: #818cf8 !important;
  flex-shrink: 0 !important;
}
.v17-route-tile strong {
  display: block !important;
  font-size: 17px !important;
  font-weight: 750 !important;
  color: var(--text-main) !important;
  margin-bottom: 4px !important;
}
.v17-route-tile small {
  display: block !important;
  font-size: 12.5px !important;
  color: var(--text-muted) !important;
  line-height: 1.4 !important;
}
.v17-route-tile [aria-hidden="true"] {
  margin-left: auto !important;
  font-size: 22px !important;
  color: var(--text-dim) !important;
  transition: transform 0.2s ease, color 0.2s ease !important;
}
.v17-route-tile:hover [aria-hidden="true"] {
  transform: translateX(4px) !important;
  color: var(--accent-purple) !important;
}

/* ========================================================
   CARDS DE ESTATÍSTICA (STATS DO DASHBOARD)
   ======================================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}
.stat {
  padding: 22px 24px;
  border-radius: var(--radius-card);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease;
}
.stat::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-purple-gradient);
  opacity: 0.6;
}
.stat:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.4);
}
.stat strong {
  display: block;
  font-size: 34px;
  font-weight: 800;
  color: var(--text-main);
  margin: 8px 0 4px;
  letter-spacing: -0.03em;
}
.stat span {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* CARDS DE ACESSO RÁPIDO & ROTINAS (TILES) */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}
.tile {
  padding: 24px;
  text-align: left;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  min-height: 130px;
  color: var(--text-main);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.tile:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.6);
}
.tile i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.15);
  font-size: 22px;
  margin-bottom: 12px;
  font-style: normal;
  color: #818cf8;
}
.tile strong {
  display: block;
  font-size: 16px;
  font-weight: 750;
  color: var(--text-main);
}
.tile small {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* PAINÉIS GERAIS (.panel) */
.panel {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 26px;
  margin: 20px 0;
  box-shadow: var(--shadow-card);
}
.panel h3, .panel h2 {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
}

/* ========================================================
   BOTÕES VIBRANTES ESTILO CRM
   ======================================================== */
.primary, button.primary {
  background: var(--accent-purple-gradient) !important;
  color: #ffffff !important;
  border-radius: var(--radius-capsule) !important;
  padding: 12px 24px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  box-shadow: var(--shadow-btn) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}
.primary:hover, button.primary:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.55) !important;
}
.primary:active, button.primary:active {
  transform: translateY(1px);
}

.secondary, button.secondary {
  background: var(--bg-card-subtle) !important;
  border: 1px solid var(--border-card) !important;
  color: var(--text-muted) !important;
  border-radius: var(--radius-capsule) !important;
  padding: 12px 20px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}
.secondary:hover, button.secondary:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
}

.small {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-btn);
  padding: 9px 15px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
}
.small:hover {
  border-color: var(--accent-purple);
  color: #ffffff;
}
.small.danger {
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.3);
}
.small.danger:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #ffffff;
}

/* ========================================================
   PAINEL MASTER (BOTÕES E TABS MODERNOS)
   ======================================================== */
.master-header h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
  margin: 0 0 8px;
}
.master-tabs {
  display: flex !important;
  gap: 8px !important;
  overflow-x: auto !important;
  background: var(--bg-card) !important;
  border: 1px solid var(--border-card) !important;
  padding: 6px !important;
  border-radius: var(--radius-capsule) !important;
  margin-bottom: 24px !important;
}
.master-tabs button {
  background: transparent !important;
  border: 0 !important;
  color: var(--text-muted) !important;
  border-radius: var(--radius-capsule) !important;
  padding: 10px 20px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  transition: all 0.2s ease !important;
}
.master-tabs button:hover {
  color: #ffffff !important;
}
.master-tabs button.selected {
  background: var(--accent-purple-gradient) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4) !important;
}

.master-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 20px;
}
.master-card {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-card) !important;
  border-radius: var(--radius-card) !important;
  padding: 24px !important;
  box-shadow: var(--shadow-card) !important;
  transition: transform 0.2s ease, border-color 0.2s ease !important;
}
.master-card:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(99, 102, 241, 0.4) !important;
}
.master-card h3 {
  font-size: 19px !important;
  color: var(--text-main) !important;
  margin: 16px 0 10px !important;
}
.master-card p {
  color: var(--text-muted) !important;
  margin: 8px 0 !important;
  font-size: 13px !important;
}
.master-card p b {
  color: var(--text-main) !important;
}
.price {
  font-family: var(--font-mono) !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  color: #818cf8 !important;
  margin: 8px 0 !important;
}
.price small {
  font-size: 12px !important;
  color: var(--text-muted) !important;
}

/* BADGES & PÍLULAS */
.pill, .badge {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-capsule);
  padding: 5px 12px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.pill {
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.3);
}
.badge {
  background: var(--status-active-bg);
  color: var(--status-active-text);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* INPUTS E FORMULÁRIOS */
label {
  display: block;
  font-size: 11.5px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
input, select, textarea {
  display: block;
  width: 100%;
  border: 1px solid var(--border-card);
  background: var(--bg-input);
  border-radius: var(--radius-btn);
  padding: 13px 16px;
  color: var(--text-main);
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: #111c33;
}

/* TABELAS MODERNAS */
.tablewrap {
  overflow-x: auto;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-card);
  background: var(--bg-card);
}
table {
  width: 100%;
  border-collapse: collapse;
}
th {
  text-align: left;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 15px 18px;
  background: var(--bg-card-subtle);
  border-bottom: 1px solid var(--border-card);
  text-transform: uppercase;
}
td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-main);
}
tbody tr:hover td {
  background: rgba(99, 102, 241, 0.04);
}

/* ========================================================
   TELA DE LOGIN REFORMULADA (DARK GLOW MODERNO)
   ======================================================== */
.login-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 20%, rgba(99, 102, 241, 0.16) 0%, transparent 60%),
              radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.12) 0%, transparent 50%),
              #070b12 !important;
  padding: 24px;
}
.login-panel {
  width: 100%;
  max-width: 440px;
  background: rgba(17, 26, 46, 0.85) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 28px !important;
  padding: 40px 36px !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.login-panel img.logo-large {
  max-width: 220px !important;
  max-height: 70px !important;
  width: auto !important;
  height: auto !important;
  margin: 0 auto 20px auto !important;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.5));
}
.login-panel h1 {
  font-size: 26px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 0 0 6px 0 !important;
  letter-spacing: -0.02em;
}
.login-panel p {
  color: var(--text-muted) !important;
  font-size: 13.5px !important;
  margin: 0 0 24px 0 !important;
}
.login-panel label {
  text-align: left;
  margin-top: 14px;
}
.login-visual {
  display: none !important; /* Removemos a barra azul antiga dividida que quebrava o layout */
}

/* RESPONSIVIDADE */
@media(max-width: 1024px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width: 768px) {
  .side { width: 70px; }
  .logo-area img { display: none; }
  .navbtn { font-size: 0; justify-content: center; padding: 14px 0; }
  .navbtn b { font-size: 20px; }
  .stats, .tiles { grid-template-columns: 1fr; }
  header { padding: 0 16px; }
  main { padding: 20px 14px; }
}



/* ========================================================
   TOTEM KIOSK GLASSMORPHISM 3D
   ======================================================== */
.kiosk {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  background: radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.25) 0px, transparent 55%),
              radial-gradient(at 100% 100%, rgba(59, 130, 246, 0.2) 0px, transparent 55%),
              #070d18 !important;
  color: #f8fafc;
  overflow-y: auto;
}
.kiosk-backdrop-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(50px);
}
.kiosk-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 10;
}
.kiosk-brand-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.kiosk-brand-wrap img.brand-logo {
  max-height: 42px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4));
}
.kiosk-badge-live {
  font-size: 0.75rem;
  font-weight: 700;
  color: #34d399;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  letter-spacing: 0.02em;
}
.kiosk-exit-btn {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #94a3b8 !important;
  padding: 0.5rem 1rem !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: all 0.2s ease;
}
.kiosk-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  position: relative;
  z-index: 10;
}
.kiosk-card.glass-3d {
  width: 100%;
  max-width: 480px;
  background: rgba(17, 26, 46, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 2.25rem 2rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.kiosk-card .clock {
  font-family: var(--font-mono) !important;
  font-size: 3.8rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em !important;
  color: #ffffff !important;
  text-shadow: 0 0 25px rgba(99, 102, 241, 0.65);
  line-height: 1;
}
.kiosk-date-sub {
  font-size: 0.95rem;
  font-weight: 600;
  color: #94a3b8;
  margin-top: 0.5rem;
  text-transform: capitalize;
}
.facial-scanner-orb {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1.25rem 0;
}
.facial-scanner-orb .camera-frame {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  border: 4px solid var(--accent-purple);
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.5), inset 0 0 20px rgba(59, 130, 246, 0.3);
  background: #000;
}
.facial-scanner-orb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}
.facial-scan-radar {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.45) 100%);
  animation: radarSwipe 2.4s infinite ease-in-out;
  pointer-events: none;
}
@keyframes radarSwipe {
  0% { transform: translateY(-100%); }
  50% { transform: translateY(100%); }
  100% { transform: translateY(-100%); }
}
.btn-punch-3d {
  height: 58px !important;
  background: var(--accent-purple-gradient) !important;
  border: none !important;
  border-radius: 9999px !important;
  color: #ffffff !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 0.75rem;
}
.btn-pin-toggle {
  height: 44px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 9999px !important;
  color: #94a3b8 !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  cursor: pointer;
}
.pin-panel.glass-inner {
  margin-top: 1.25rem;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 1.25rem;
  text-align: left;
}
.kiosk-receipt-toast {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  backdrop-filter: blur(16px);
  color: #ffffff;
  padding: 1rem;
  border-radius: 16px;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
