/* ============================================================
   THE KINGS BARBEARIA v2 — Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&display=swap');

/* ── Variáveis ───────────────────────────────────────────── */
:root {
  --gold:       #c69a5d;
  --gold-dark:  #a07840;
  --gold-light: #ffe6b4;
  --dark:       #181818;
  --dark2:      #222222;
  --dark3:      #333333;
  --white:      #ffffff;
  --muted:      #aaaaaa;

  --status-aguardando: #24c43a;
  --status-atendendo:  #2986f5;
  --status-finalizado: #c69a5d;
  --status-cancelado:  #e23a3a;
  --status-faltou:     #757575;

  --radius: 14px;
  --shadow: 0 4px 24px rgba(0,0,0,0.35);
  --font:   'Montserrat', Arial, sans-serif;
}

/* ── Base ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font);
  margin: 0;
  background: var(--dark);
  color: #333;
}

/* ── Background com overlay ─────────────────────────────── */
.kings-bg {
  min-height: 100vh;
  background: url('../img/bg-barbearia.jpg') center/cover no-repeat fixed;
  position: relative;
}
.kings-bg::before {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, rgba(18,18,18,0.94) 0%, rgba(198,154,93,0.1) 100%);
  z-index: 0;
  pointer-events: none;
}
.kings-bg > * { position: relative; z-index: 1; }

/* ── LOGIN ───────────────────────────────────────────────── */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  z-index: 1;
}

.login-card {
  background: rgba(20,20,20,0.97);
  border: 1px solid rgba(198,154,93,0.22);
  border-radius: 20px;
  padding: 52px 42px 44px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6), 0 0 0 1px rgba(198,154,93,0.08);
  text-align: center;
}

.login-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 12px rgba(198,154,93,0.25));
}

.login-title {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 6px;
}

.login-subtitle {
  color: var(--muted);
  font-size: 0.82rem;
  margin: 0 0 32px;
}

/* Inputs */
.kings-field {
  position: relative;
  margin-bottom: 14px;
  text-align: left;
}
.kings-field i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 0.88rem;
  pointer-events: none;
}
.kings-input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(198,154,93,0.18);
  border-radius: 10px;
  color: #f0f0f0;
  padding: 13px 14px 13px 42px;
  font-size: 0.95rem;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.kings-input:focus {
  border-color: var(--gold);
  background: rgba(198,154,93,0.06);
}
.kings-input::placeholder { color: #555; }

/* Botões */
.kings-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gold);
  color: #111;
  border: none;
  border-radius: 10px;
  padding: 14px 24px;
  font-size: 0.92rem;
  font-weight: 700;
  font-family: var(--font);
  letter-spacing: 0.06em;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s, transform 0.1s, color 0.18s;
  width: 100%;
  margin-top: 8px;
}
.kings-btn:hover { background: var(--gold-dark); color: #fff; transform: translateY(-1px); }
.kings-btn:active { transform: none; }

.kings-btn-secondary {
  background: rgba(255,255,255,0.07);
  color: var(--muted);
  border: 1px solid rgba(255,255,255,0.1);
}
.kings-btn-secondary:hover { background: rgba(255,255,255,0.12); color: #fff; }

.kings-btn-danger { background: #c0392b; color: #fff; }
.kings-btn-danger:hover { background: #a93226; color: #fff; }

.kings-btn-sm {
  padding: 7px 14px;
  font-size: 0.8rem;
  width: auto;
  margin-top: 0;
  border-radius: 8px;
}

/* Alertas */
.kings-alert {
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.88rem;
  margin-bottom: 20px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
}
.kings-alert-error   { background: rgba(226,58,58,0.14); border: 1px solid rgba(226,58,58,0.35); color: #ff8888; }
.kings-alert-success { background: rgba(36,196,58,0.12); border: 1px solid rgba(36,196,58,0.3);  color: #6dff7e; }
.kings-alert-info    { background: rgba(198,154,93,0.1); border: 1px solid rgba(198,154,93,0.25); color: var(--gold); }

/* Login divider */
.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: #444;
  font-size: 0.8rem;
}
.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.07);
}

/* ── PAINEL: inputs e labels em contexto claro ───────────── */
.kings-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 5px;
}
.kings-shell .kings-input {
  background: #fff;
  border: 1px solid #ddd;
  color: #222;
  padding: 10px 12px;
}
.kings-shell .kings-input:focus { border-color: var(--gold); background: #fff; }
.kings-shell .kings-input::placeholder { color: #aaa; }
.kings-field .kings-input { padding-left: 40px; }
.kings-shell .kings-btn-secondary {
  background: #f0f0f0;
  color: #555;
  border: 1px solid #ddd;
}
.kings-shell .kings-btn-secondary:hover { background: #e0e0e0; color: #333; }
.kings-alert-success { color: #1a7a2e !important; background: rgba(36,196,58,0.09) !important; border-color: rgba(36,196,58,0.3) !important; }
.kings-alert-error   { color: #c0392b !important; background: rgba(226,58,58,0.08) !important; border-color: rgba(226,58,58,0.3) !important; }

/* ── PAINEL SHELL ────────────────────────────────────────── */
.kings-shell {
  min-height: 100vh;
  background: #f2f2f2;
  display: flex;
  flex-direction: column;
}

/* Top bar */
.kings-topbar {
  background: var(--dark);
  border-bottom: 2px solid var(--gold);
  padding: 0 24px;
  height: 62px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.kings-topbar-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
}
.kings-topbar-brand {
  color: var(--gold);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex: 1;
}
.kings-clock {
  color: var(--gold);
  font-size: 1.05rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  background: rgba(255,255,255,0.04);
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(198,154,93,0.18);
  min-width: 88px;
  text-align: center;
  letter-spacing: 0.04em;
}
.kings-topbar-user {
  color: #bbb;
  font-size: 0.84rem;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}
.kings-topbar-user i { color: var(--gold); }
.kings-logout {
  background: rgba(226,58,58,0.12);
  border: 1px solid rgba(226,58,58,0.28);
  color: #ff8888;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
  font-family: var(--font);
}
.kings-logout:hover { background: rgba(226,58,58,0.28); color: #fff; }

/* Navigation bar */
.kings-navbar {
  background: var(--dark2);
  border-bottom: 1px solid rgba(198,154,93,0.1);
  display: flex;
  overflow-x: auto;
  padding: 0 20px;
  scrollbar-width: none;
  flex-shrink: 0;
}
.kings-navbar::-webkit-scrollbar { display: none; }
.kings-navbar a {
  color: var(--muted);
  text-decoration: none;
  padding: 15px 17px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: color 0.18s, border-color 0.18s;
  flex-shrink: 0;
}
.kings-navbar a:hover { color: #ddd; }
.kings-navbar a.ativo { color: var(--gold); border-bottom-color: var(--gold); }
.kings-navbar .notif-badge {
  background: #e23a3a;
  color: #fff;
  border-radius: 12px;
  font-size: 0.7rem;
  padding: 2px 7px;
  font-weight: 700;
  min-width: 20px;
  text-align: center;
}

/* Content */
.kings-content {
  flex: 1;
  padding: 28px 24px;
}

/* ── CARDS ───────────────────────────────────────────────── */
.kings-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 14px rgba(0,0,0,0.07);
  padding: 24px;
  margin-bottom: 24px;
}
.kings-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0f0f0;
}
.kings-card-title i { color: var(--gold); font-size: 1.1rem; }

/* KPI cards */
.kings-kpi {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 24px;
  text-align: center;
  box-shadow: 0 2px 14px rgba(0,0,0,0.07);
  border-top: 4px solid var(--gold);
}
.kings-kpi-value {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 6px;
}
.kings-kpi-label {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.kings-kpi-icon {
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 10px;
}

/* ── STATUS BADGES ───────────────────────────────────────── */
.kings-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 20px;
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.kings-badge-aguardando { background: rgba(36,196,58,0.12);   color: #1aa832; border: 1px solid rgba(36,196,58,0.25); }
.kings-badge-atendendo  { background: rgba(41,134,245,0.12);  color: #2986f5; border: 1px solid rgba(41,134,245,0.25); }
.kings-badge-finalizado { background: rgba(198,154,93,0.12);  color: #a07840; border: 1px solid rgba(198,154,93,0.25); }
.kings-badge-cancelado  { background: rgba(226,58,58,0.1);    color: #c0392b; border: 1px solid rgba(226,58,58,0.2); }
.kings-badge-faltou     { background: rgba(117,117,117,0.1);  color: #757575; border: 1px solid rgba(117,117,117,0.2); }

/* Status dot (cor do barbeiro) */
.status-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.3);
}

/* ── FORMAS DE PAGAMENTO ─────────────────────────────────── */
.forma-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #f8f8f8;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 16px 10px;
  cursor: pointer;
  transition: all 0.18s;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font);
  color: #555;
}
.forma-btn i { font-size: 1.4rem; }
.forma-btn:hover { border-color: var(--gold); color: var(--gold-dark); background: var(--gold-light); }
.forma-btn.selecionado { border-color: var(--gold); background: var(--gold); color: #111; }

/* ── MODAL ───────────────────────────────────────────────── */
.kings-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.kings-modal {
  background: #fff;
  border-radius: 18px;
  padding: 32px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
  position: relative;
}
.kings-modal-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--dark);
}

/* ── TOAST ───────────────────────────────────────────────── */
.kings-toast-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}
.kings-toast {
  background: var(--dark);
  border: 1px solid rgba(198,154,93,0.3);
  border-left: 4px solid var(--gold);
  color: #eee;
  border-radius: 12px;
  padding: 16px 20px;
  min-width: 280px;
  max-width: 340px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.4);
  font-size: 0.88rem;
  pointer-events: all;
  animation: slideIn 0.3s ease;
}
.kings-toast-title { font-weight: 700; color: var(--gold); margin-bottom: 4px; }
@keyframes slideIn {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: none; }
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .kings-topbar        { padding: 0 14px; height: 54px; gap: 10px; }
  .kings-topbar-brand  { font-size: 0.82rem; }
  .kings-clock         { font-size: 0.88rem; padding: 5px 10px; min-width: 74px; }
  .kings-topbar-user span { display: none; }
  .kings-logout span   { display: none; }
  .kings-navbar        { padding: 0 10px; }
  .kings-navbar a      { padding: 12px 12px; font-size: 0.78rem; }
  .kings-content       { padding: 16px 12px; }
  .login-card          { padding: 36px 24px 28px; }
  .login-logo          { width: 80px; height: 80px; }
}

@media (max-width: 480px) {
  .kings-topbar-brand { display: none; }
}

/* ── APP PWA ─────────────────────────────────────────────── */
.app-wrap {
  min-height: 100vh;
  background: #141414;
  color: #eee;
  padding-bottom: 70px;
  font-family: var(--font);
}

.app-header {
  background: #1a1a1a;
  border-bottom: 1px solid rgba(198,154,93,0.15);
  padding: 0 18px;
  height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,0.5);
}
.app-header-logo { width: 34px; height: 34px; object-fit: contain; }
.app-header-title {
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.app-header-greeting { color: #888; font-size: 0.73rem; margin-top: 2px; }

/* Bottom navigation */
.app-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #1a1a1a;
  border-top: 1px solid rgba(198,154,93,0.12);
  display: flex;
  height: 62px;
  z-index: 200;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
}
.app-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #555;
  text-decoration: none;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.18s;
}
.app-nav a i { font-size: 1.2rem; line-height: 1; }
.app-nav a.ativo,
.app-nav a:hover { color: var(--gold); }

/* Dark card */
.app-card {
  background: #1e1e1e;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 14px;
}
.app-card-title {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Date strip */
.date-strip-wrap {
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 -18px;
  padding: 4px 18px 10px;
  scroll-snap-type: x mandatory;
}
.date-strip-wrap::-webkit-scrollbar { display: none; }
.date-strip { display: flex; gap: 10px; }

.date-item {
  flex-shrink: 0;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  width: 52px;
  height: 70px;
  background: #252525;
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.15s;
}
.date-item .dow { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #666; }
.date-item .day { font-size: 1.3rem; font-weight: 800; line-height: 1; color: #ddd; }
.date-item .mon { font-size: 0.58rem; font-weight: 600; color: #555; text-transform: uppercase; }
.date-item:hover  { border-color: rgba(198,154,93,0.35); }
.date-item.ativo  { border-color: var(--gold); background: rgba(198,154,93,0.1); }
.date-item.ativo .dow,
.date-item.ativo .day,
.date-item.ativo .mon { color: var(--gold); }
.date-item.indisponivel { opacity: 0.32; cursor: not-allowed; }
.date-item.indisponivel:hover { border-color: transparent; }
.date-item.especial { border-color: rgba(198,154,93,0.22); }
.date-item.especial .disp-dot { display: block; }
.date-item .disp-dot { display: none; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); margin: 2px auto 0; }

/* Slot grid */
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 10px; }
.slot-btn {
  background: #252525;
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 11px 6px;
  color: #ccc;
  font-size: 0.92rem;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
}
.slot-btn:hover { border-color: rgba(198,154,93,0.4); }
.slot-btn.ativo  { border-color: var(--gold); background: rgba(198,154,93,0.14); color: var(--gold); }

/* Wizard */
.wizard-steps { display: flex; gap: 6px; margin-bottom: 22px; }
.wizard-dot { flex: 1; height: 3px; border-radius: 2px; background: #2a2a2a; transition: background 0.3s; }
.wizard-dot.feito { background: var(--gold); }
.wizard-dot.atual { background: rgba(198,154,93,0.4); }

/* Select cards (service / barber) */
.select-card {
  background: #252525;
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.select-card:hover { border-color: rgba(198,154,93,0.35); }
.select-card.ativo  { border-color: var(--gold); background: rgba(198,154,93,0.07); }
.select-card-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 800; color: #111;
}
.select-card-info { flex: 1; min-width: 0; }
.select-card-name { font-weight: 700; font-size: 0.92rem; color: #eee; }
.select-card-meta { font-size: 0.78rem; color: #777; margin-top: 3px; }

/* Appointment card */
.ag-card {
  background: #1e1e1e;
  border: 1px solid rgba(255,255,255,0.06);
  border-left: 4px solid #333;
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 10px;
}
.ag-card.s-aguardando { border-left-color: #24c43a; }
.ag-card.s-atendendo  { border-left-color: #2986f5; }
.ag-card.s-finalizado { border-left-color: var(--gold); }
.ag-card.s-cancelado  { border-left-color: #e23a3a; }
.ag-card.s-faltou     { border-left-color: #555; }

.ag-card-top   { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 6px; }
.ag-card-date  { color: var(--gold); font-weight: 700; font-size: 0.82rem; }
.ag-card-hora  { color: #fff; font-size: 1.2rem; font-weight: 800; }
.ag-card-serv  { color: #ccc; font-size: 0.88rem; font-weight: 600; }
.ag-card-barb  { color: #777; font-size: 0.78rem; margin-top: 2px; }
.ag-card-foot  { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.05); }

/* Dark badges */
.app-badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 20px; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.app-badge-aguardando { background: rgba(36,196,58,0.14); color: #4fe465; }
.app-badge-atendendo  { background: rgba(41,134,245,0.14); color: #5aaaff; }
.app-badge-finalizado { background: rgba(198,154,93,0.14); color: var(--gold); }
.app-badge-cancelado  { background: rgba(226,58,58,0.14); color: #ff6b6b; }
.app-badge-faltou     { background: rgba(117,117,117,0.12); color: #999; }

/* Confirm box */
.confirm-box {
  background: #252525;
  border: 1px solid rgba(198,154,93,0.18);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 16px;
}
.confirm-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.confirm-row:last-child { border-bottom: none; padding-bottom: 0; }
.confirm-label { color: #777; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.confirm-value { color: #eee; font-size: 0.9rem; font-weight: 700; text-align: right; }
.confirm-value.gold { color: var(--gold); }

/* Success */
.success-wrap {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 50px 20px;
  min-height: 65vh;
}
.success-icon {
  width: 88px; height: 88px;
  background: rgba(36,196,58,0.1);
  border: 2px solid rgba(36,196,58,0.28);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.6rem; color: #24c43a;
  margin-bottom: 22px;
}
.success-title { font-size: 1.35rem; font-weight: 800; color: #eee; margin-bottom: 8px; }
.success-sub   { font-size: 0.88rem; color: #777; margin-bottom: 28px; }

/* App inputs (dark context) */
.app-wrap .kings-input {
  background: #252525;
  border-color: rgba(255,255,255,0.1);
  color: #eee;
  padding: 13px 14px 13px 42px;
}
.app-wrap .kings-input:focus { border-color: var(--gold); background: #2d2d2d; }
.app-wrap .kings-input::placeholder { color: #444; }
.app-wrap .kings-input.sem-icone { padding-left: 14px; }

/* Empty state */
.app-empty { text-align: center; padding: 48px 20px; color: #555; }
.app-empty i { font-size: 2.8rem; color: #2a2a2a; display: block; margin-bottom: 14px; }
.app-empty p { font-size: 0.86rem; }

/* Toast acima da bottom nav */
.app-wrap + .kings-toast-wrap,
.app-wrap .kings-toast-wrap { bottom: 76px; }

/* Títulos de seção dentro do app */
.app-section-h { font-size: 1.15rem; font-weight: 800; color: #eee; margin: 0 0 4px; }
.app-section-sub { font-size: 0.82rem; color: #777; margin: 0 0 18px; }
