/* ═══════════════════════════════════════════════════════════════
   MESAIRE — Brand integration (web)
   Assets oficiales del Brand Kit. Los logos claros están pensados
   para fondos oscuros: se usan dentro de .brand-chip.
   ═══════════════════════════════════════════════════════════════ */

.brand-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0F1117;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  padding: 5px 10px;
}

/* ── Login ── */
.login-box {
  padding: 0;
  overflow: hidden;
  max-width: 440px;
}
.login-content {
  padding: var(--space-8) var(--space-8) var(--space-6);
}
.brand-hero {
  padding: 30px 24px 26px;
  text-align: center;
  background:
    radial-gradient(120% 130% at 10% 0%, rgba(74, 108, 247, 0.22) 0%, transparent 55%),
    radial-gradient(90% 100% at 100% 100%, rgba(245, 158, 11, 0.12) 0%, transparent 55%),
    #0F1117;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.brand-hero-logo {
  display: block;
  height: 92px;
  width: auto;
  margin: 0 auto 14px;
}
.brand-hero-slogan {
  margin: 0;
  color: #B7BECF;
  font-size: 0.86rem;
  line-height: 1.5;
}
.brand-hero-slogan span {
  color: #F59E0B;
  font-weight: 700;
}
.login-title {
  text-align: center;
  margin-bottom: var(--space-5);
}
.login-title h1 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 4px;
}
.login-title p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.login-foot {
  text-align: center;
  margin-top: var(--space-5);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── Sidebar ── */
.sidebar-brand {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: var(--space-1);
}
.sidebar-brand .brand-chip {
  align-self: flex-start;
  padding: 4px 8px;
}
.sidebar-brand-logo {
  display: block;
  height: 15px;
  width: auto;
}
.sidebar-restaurant {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--text);
  line-height: 1.25;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Topbar ── */
.topbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.topbar-brand .brand-chip {
  padding: 3px 6px;
}
.topbar-brand img {
  height: 12px;
  width: auto;
  display: block;
}

@media (max-width: 640px) {
  .brand-hero-logo { height: 76px; }
  .login-content { padding: var(--space-6) var(--space-5) var(--space-5); }
}

/* Autofill del navegador: mantener el tema */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--input-bg) inset !important;
  -webkit-text-fill-color: var(--text) !important;
  caret-color: var(--text);
  transition: background-color 9999s ease-out 0s;
}