/* Gokiebox MKT — design system basado en TailAdmin (free-nextjs-admin-dashboard) */

/* Poppins self-hosted (latin cubre es-ES/es-PE completo) */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/poppins-400.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/poppins-500.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/poppins-600.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/poppins-700.woff2') format('woff2'); }

:root {
  --brand-25: #f2f7ff; --brand-50: #ecf3ff; --brand-100: #dde9ff; --brand-200: #c2d6ff;
  --brand-300: #9cb9ff; --brand-400: #7592ff; --brand-500: #465fff; --brand-600: #3641f5;
  --brand-700: #2a31d8;
  --gray-25: #fcfcfd; --gray-50: #f9fafb; --gray-100: #f2f4f7; --gray-200: #e4e7ec;
  --gray-300: #d0d5dd; --gray-400: #98a2b3; --gray-500: #667085; --gray-600: #475467;
  --gray-700: #344054; --gray-800: #1d2939; --gray-900: #101828; --gray-dark: #1a2231;
  --success-50: #ecfdf3; --success-500: #12b76a; --success-600: #039855; --success-700: #027a48;
  --error-50: #fef3f2; --error-500: #f04438; --error-600: #d92d20; --error-700: #b42318;
  --warning-50: #fffaeb; --warning-500: #f79009; --warning-600: #dc6803; --warning-700: #b54708;
  --bluelight-50: #f0f9ff; --bluelight-500: #0ba5ec; --bluelight-700: #026aa2;
  --violet-50: #f4f3ff; --violet-500: #7a5af8; --violet-700: #5925dc;
  --pink-50: #fdf2fa; --pink-700: #c11574;
  --teal-50: #f0fdf9; --teal-700: #107569;
  --orange-50: #fff6ed; --orange-700: #c4320a;
  --shadow-xs: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
  --shadow-sm: 0px 1px 3px 0px rgba(16, 24, 40, 0.1), 0px 1px 2px 0px rgba(16, 24, 40, 0.06);
  --shadow-md: 0px 4px 8px -2px rgba(16, 24, 40, 0.1), 0px 2px 4px -2px rgba(16, 24, 40, 0.06);
  --sidebar-w: 290px;
  --header-h: 70px;
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
body {
  margin: 0; background: var(--gray-50); color: var(--gray-700);
  font: 400 14px/20px 'Poppins', system-ui, -apple-system, sans-serif;
}
a { color: var(--brand-500); text-decoration: none; }
a:hover { text-decoration: none; color: var(--brand-600); }

/* ── Layout: sidebar + header ─────────────────────────────────────────── */
.app-shell { display: flex; min-height: 100vh; }

.sidebar {
  width: var(--sidebar-w); flex-shrink: 0; background: #fff;
  border-right: 1px solid var(--gray-200); padding: 0 20px;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.sidebar .logo {
  display: flex; align-items: center; gap: 10px; height: var(--header-h);
  font-size: 20px; font-weight: 700; color: var(--gray-900); letter-spacing: -0.2px;
}
.sidebar .logo i { color: var(--brand-500); font-size: 22px; }
.sidebar .logo span { color: var(--brand-500); }
.menu-label {
  margin: 18px 0 8px; font-size: 12px; line-height: 18px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .4px; color: var(--gray-400);
}
.menu-item {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; margin-bottom: 4px;
  border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--gray-700);
}
.menu-item i { width: 20px; text-align: center; font-size: 16px; color: var(--gray-500); }
.menu-item:hover { background: var(--gray-100); color: var(--gray-900); }
.menu-item.active { background: var(--brand-50); color: var(--brand-500); }
.menu-item.active i { color: var(--brand-500); }

.main { flex: 1; min-width: 0; }
.header {
  height: var(--header-h); background: #fff; border-bottom: 1px solid var(--gray-200);
  display: flex; align-items: center; gap: 14px; padding: 0 24px;
  position: sticky; top: 0; z-index: 20;
}
.header .spacer { flex: 1; }
.header .chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gray-100); color: var(--gray-700); border-radius: 999px;
  padding: 6px 14px; font-size: 13px; font-weight: 500;
}
.header .chip i { color: var(--gray-500); }
.header .chip.tenant { background: var(--brand-50); color: var(--brand-600); }
.header .chip.tenant i { color: var(--brand-500); }
.header form { margin: 0; }

.content { padding: 24px; max-width: 1400px; }

/* ── Tipografía ───────────────────────────────────────────────────────── */
h1 { font-size: 24px; line-height: 32px; font-weight: 600; color: var(--gray-900); margin: 0 0 20px; }
h2 { font-size: 18px; line-height: 28px; font-weight: 600; color: var(--gray-800); margin: 28px 0 12px; }
h3 { font-size: 16px; line-height: 24px; font-weight: 600; color: var(--gray-800); margin: 0 0 6px; }
h3 a { color: var(--gray-800); }
h3 a:hover { color: var(--brand-500); }
.muted { color: var(--gray-500); font-size: 13px; line-height: 19px; }

/* ── Componentes ──────────────────────────────────────────────────────── */
.grid { display: grid; gap: 20px; }
.grid.cols { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.mt { margin-top: 16px; }

.card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: 16px;
  padding: 20px; box-shadow: var(--shadow-xs);
}
/* Card completa clickeable: el link del título se estira sobre toda la card */
.card.clickable { position: relative; transition: border-color .15s, box-shadow .15s, transform .15s; }
.card.clickable > h3 a::after { content: ''; position: absolute; inset: 0; border-radius: 16px; }
.card.clickable:hover { border-color: var(--brand-300); box-shadow: var(--shadow-md); transform: translateY(-1px); cursor: pointer; }
.card.clickable:hover h3 a { color: var(--brand-500); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--brand-500); color: #fff !important; border: 1px solid var(--brand-500);
  border-radius: 8px; padding: 9px 16px; font: 500 14px/20px 'Poppins', sans-serif;
  cursor: pointer; box-shadow: var(--shadow-xs); transition: background .15s, border-color .15s;
}
.btn:hover { background: var(--brand-600); border-color: var(--brand-600); }
.btn.sec { background: #fff; border-color: var(--gray-300); color: var(--gray-700) !important; }
.btn.sec:hover { background: var(--gray-50); }
.btn.ok { background: var(--success-600); border-color: var(--success-600); }
.btn.ok:hover { background: var(--success-700); border-color: var(--success-700); }
.btn.danger { background: #fff; border-color: var(--error-500); color: var(--error-600) !important; }
.btn.danger:hover { background: var(--error-50); }
.btn.sm { padding: 6px 12px; font-size: 13px; line-height: 18px; }
.btn i { font-size: 13px; }

input[type=text], input[type=email], input[type=password], input[type=date], input[type=number], textarea, select {
  width: 100%; padding: 10px 14px; border: 1px solid var(--gray-300); border-radius: 8px;
  font: 400 14px/20px 'Poppins', sans-serif; background: #fff; color: var(--gray-800);
  box-shadow: var(--shadow-xs); transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--brand-300); box-shadow: 0 0 0 3px rgba(70, 95, 255, 0.12);
}
input::placeholder, textarea::placeholder { color: var(--gray-400); }
textarea { resize: vertical; }
label { font-size: 13px; font-weight: 500; color: var(--gray-700); display: block; margin: 12px 0 6px; }
form.inline { display: inline; }

/* ── Tablas ───────────────────────────────────────────────────────────── */
.table-wrap { background: #fff; border: 1px solid var(--gray-200); border-radius: 16px; overflow-x: auto; box-shadow: var(--shadow-xs); }
table { width: 100%; border-collapse: collapse; }
th {
  text-align: left; font-size: 12px; line-height: 18px; font-weight: 500;
  color: var(--gray-500); padding: 12px 20px; border-bottom: 1px solid var(--gray-200);
  background: var(--gray-25); white-space: nowrap;
}
td { padding: 14px 20px; border-bottom: 1px solid var(--gray-100); vertical-align: top; font-size: 14px; color: var(--gray-600); }
tr:last-child td { border-bottom: 0; }

/* ── Badges ───────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 5px; border-radius: 999px;
  padding: 3px 10px; font-size: 12px; line-height: 18px; font-weight: 500;
}
.badge i { font-size: 10px; }
.badge.gray { background: var(--gray-100); color: var(--gray-600); }
.badge.blue { background: var(--brand-50); color: var(--brand-600); }
.badge.green { background: var(--success-50); color: var(--success-700); }
.badge.amber { background: var(--warning-50); color: var(--warning-700); }
.badge.red { background: var(--error-50); color: var(--error-700); }
.badge.violet { background: var(--violet-50); color: var(--violet-700); }

.fmt-Flyer { background: var(--bluelight-50); color: var(--bluelight-700); }
.fmt-Portada { background: var(--teal-50); color: var(--teal-700); }
.fmt-Reels { background: var(--violet-50); color: var(--violet-700); }
.fmt-Video { background: var(--pink-50); color: var(--pink-700); }
.fmt-Story { background: var(--warning-50); color: var(--warning-700); }
.fmt-Carrusel { background: var(--success-50); color: var(--success-700); }
.fmt-GIF { background: var(--orange-50); color: var(--orange-700); }

/* ── Alerts / paneles ─────────────────────────────────────────────────── */
.flash { border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; font-size: 14px; display: flex; gap: 10px; align-items: flex-start; border: 1px solid transparent; }
.flash.ok { background: var(--success-50); color: var(--success-700); border-color: #a6f4c5; }
.flash.err { background: var(--error-50); color: var(--error-700); border-color: #fecdca; }

details.panel { background: #fff; border: 1px solid var(--gray-200); border-radius: 16px; margin-bottom: 16px; box-shadow: var(--shadow-xs); }
details.panel > summary { cursor: pointer; padding: 16px 20px; font-weight: 600; color: var(--gray-800); list-style: none; display: flex; align-items: center; gap: 10px; }
details.panel > summary i:first-child { color: var(--brand-500); width: 20px; text-align: center; }
details.panel > summary::-webkit-details-marker { display: none; }
details.panel > summary::after { content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 11px; color: var(--gray-400); margin-left: auto; transition: transform .15s; }
details.panel[open] > summary::after { transform: rotate(180deg); }
details.panel > .inner { padding: 0 20px 20px; }

/* ── Piezas / flyers ──────────────────────────────────────────────────── */
.copycell { white-space: pre-wrap; max-width: 460px; font-size: 13px; line-height: 19px; }
.flyertext { background: var(--warning-50); border: 1px solid #fedf89; border-radius: 8px; padding: 8px 12px; margin-top: 8px; white-space: pre-wrap; font-size: 13px; font-weight: 600; color: var(--warning-700); }
.indicaciones { background: var(--violet-50); border: 1px solid #d9d6fe; border-radius: 8px; padding: 8px 12px; margin-top: 8px; white-space: pre-wrap; font-size: 12.5px; color: var(--violet-700); }

.flyer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.flyer-card { background: #fff; border: 1px solid var(--gray-200); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-xs); }
.flyer-card img { width: 100%; display: block; }
.flyer-card .meta { padding: 12px 14px; font-size: 12.5px; }

.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 12px; }
.login-shell { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--gray-50); }
.login-box { width: 400px; max-width: 92vw; }
.login-box .card { padding: 32px; }
.login-logo { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 24px; font-weight: 700; color: var(--gray-900); margin-bottom: 24px; }
.login-logo i { color: var(--brand-500); }
.login-logo span { color: var(--brand-500); }

.spin { display: inline-block; width: 13px; height: 13px; border: 2px solid currentColor; border-top-color: transparent; border-radius: 50%; animation: sp .8s linear infinite; vertical-align: -2px; opacity: .7; }
@keyframes sp { to { transform: rotate(360deg); } }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1023px) {
  .sidebar { position: fixed; z-index: 40; left: calc(-1 * var(--sidebar-w) - 10px); transition: left .2s; box-shadow: var(--shadow-md); }
  .sidebar.open { left: 0; }
  .menu-toggle { display: inline-flex !important; }
}
.menu-toggle { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--gray-300); border-radius: 8px; background: #fff; color: var(--gray-600); cursor: pointer; }

/* ── Stat cards (dashboard) ───────────────────────────────────────────── */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-bottom: 22px; }
.stat-card { background: #fff; border: 1px solid var(--gray-200); border-radius: 16px; padding: 18px 20px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow-xs); }
.stat-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.stat-icon.blue { background: var(--brand-50); color: var(--brand-500); }
.stat-icon.violet { background: var(--violet-50); color: var(--violet-500); }
.stat-icon.green { background: var(--success-50); color: var(--success-600); }
.stat-icon.amber { background: var(--warning-50); color: var(--warning-600); }
.stat-value { font-size: 22px; line-height: 28px; font-weight: 700; color: var(--gray-900); }
.stat-label { font-size: 13px; color: var(--gray-500); }

/* ── Calendario ───────────────────────────────────────────────────────── */
.cal-wrap { background: #fff; border: 1px solid var(--gray-200); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-xs); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-head { border-bottom: 1px solid var(--gray-200); background: var(--gray-25); }
.cal-dow { padding: 10px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .4px; color: var(--gray-500); text-align: center; }
.cal-cell { min-height: 108px; border-right: 1px solid var(--gray-100); border-bottom: 1px solid var(--gray-100); padding: 6px; }
.cal-cell:nth-child(7n) { border-right: 0; }
.cal-cell.off { background: var(--gray-25); }
.cal-cell.off .cal-num { color: var(--gray-300); }
.cal-cell.today { background: var(--brand-25); }
.cal-cell.today .cal-num { background: var(--brand-500); color: #fff; }
.cal-num { font-size: 12px; font-weight: 600; color: var(--gray-500); width: 22px; height: 22px; border-radius: 999px; display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.cal-item { display: block; font-size: 11.5px; line-height: 16px; font-weight: 600; border-radius: 6px; padding: 3px 7px; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-item i { font-size: 9px; }
.cal-item-marca { opacity: .65; font-weight: 500; margin-right: 3px; }

/* ── Botón de icono (header) ──────────────────────────────────────────── */
.icon-btn { width: 40px; height: 40px; border: 1px solid var(--gray-300); border-radius: 999px; background: #fff; color: var(--gray-600); cursor: pointer; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; }
.icon-btn:hover { background: var(--gray-50); }
.dark-show { display: none; }
html.dark .dark-show { display: inline; }
html.dark .dark-hide { display: none; }

/* ── Modo oscuro (paleta TailAdmin dark) ──────────────────────────────── */
html.dark body { background: var(--gray-900); color: var(--gray-300); }
html.dark .sidebar, html.dark .header { background: var(--gray-dark); border-color: var(--gray-800); }
html.dark .sidebar .logo { color: #fff; }
html.dark .menu-item { color: var(--gray-300); }
html.dark .menu-item:hover { background: var(--gray-800); color: #fff; }
html.dark .menu-item.active { background: rgba(70, 95, 255, 0.14); color: var(--brand-400); }
html.dark .menu-item.active i { color: var(--brand-400); }
html.dark .card, html.dark .stat-card, html.dark details.panel, html.dark .table-wrap,
html.dark .flyer-card, html.dark .cal-wrap { background: var(--gray-dark); border-color: var(--gray-800); }
html.dark h1, html.dark h2, html.dark h3, html.dark h3 a, html.dark .stat-value,
html.dark details.panel > summary { color: #fff; }
html.dark .muted, html.dark .stat-label { color: var(--gray-400); }
html.dark th { background: rgba(255, 255, 255, 0.03); color: var(--gray-400); border-color: var(--gray-800); }
html.dark td { color: var(--gray-300); border-color: var(--gray-800); }
html.dark input[type=text], html.dark input[type=email], html.dark input[type=password],
html.dark input[type=date], html.dark input[type=number], html.dark textarea, html.dark select {
  background: var(--gray-900); border-color: var(--gray-700); color: var(--gray-200);
}
html.dark .btn.sec, html.dark .icon-btn, html.dark .menu-toggle { background: var(--gray-800); border-color: var(--gray-700); color: var(--gray-200) !important; }
html.dark .btn.sec:hover, html.dark .icon-btn:hover { background: var(--gray-700); }
html.dark .btn.danger { background: transparent; }
html.dark .header .chip { background: var(--gray-800); color: var(--gray-300); }
html.dark .header .chip.tenant { background: rgba(70, 95, 255, 0.14); color: var(--brand-400); }
html.dark .badge.gray { background: var(--gray-800); color: var(--gray-300); }
html.dark .flash.ok { background: rgba(18, 183, 106, 0.12); border-color: rgba(18, 183, 106, 0.35); color: #6ce9a6; }
html.dark .flash.err { background: rgba(240, 68, 56, 0.12); border-color: rgba(240, 68, 56, 0.35); color: #fda29b; }
html.dark .flyertext { background: rgba(247, 144, 9, 0.10); border-color: rgba(247, 144, 9, 0.30); }
html.dark .indicaciones { background: rgba(122, 90, 248, 0.10); border-color: rgba(122, 90, 248, 0.30); }
html.dark .cal-head { background: rgba(255, 255, 255, 0.03); }
html.dark .cal-cell { border-color: var(--gray-800); }
html.dark .cal-cell.off { background: rgba(255, 255, 255, 0.02); }
html.dark .cal-cell.today { background: rgba(70, 95, 255, 0.10); }
html.dark .card.clickable:hover { border-color: var(--brand-700); }
html.dark .login-shell { background: var(--gray-900); }
html.dark .login-logo { color: #fff; }

/* ── Calendario: color por MARCA (id % 10) ────────────────────────────── */
.mk-0 { background: rgba(70, 95, 255, 0.12); color: #3641f5; }
.mk-1 { background: rgba(18, 183, 106, 0.14); color: #027a48; }
.mk-2 { background: rgba(247, 144, 9, 0.16); color: #b54708; }
.mk-3 { background: rgba(122, 90, 248, 0.13); color: #5925dc; }
.mk-4 { background: rgba(11, 165, 236, 0.13); color: #026aa2; }
.mk-5 { background: rgba(238, 70, 188, 0.12); color: #c11574; }
.mk-6 { background: rgba(240, 68, 56, 0.12); color: #b42318; }
.mk-7 { background: rgba(15, 183, 159, 0.15); color: #107569; }
.mk-8 { background: rgba(196, 50, 10, 0.13); color: #c4320a; }
.mk-9 { background: rgba(78, 91, 166, 0.15); color: #3e4784; }
html.dark .mk-0 { color: #9cb9ff; } html.dark .mk-1 { color: #6ce9a6; }
html.dark .mk-2 { color: #fec84b; } html.dark .mk-3 { color: #bdb4fe; }
html.dark .mk-4 { color: #7cd4fd; } html.dark .mk-5 { color: #faa7e0; }
html.dark .mk-6 { color: #fda29b; } html.dark .mk-7 { color: #5fe9d0; }
html.dark .mk-8 { color: #f7b27a; } html.dark .mk-9 { color: #aab8e8; }
.cal-legend { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.cal-legend .badge { border-radius: 8px; }

/* Botones de formato de flyer (1:1 / vertical / horizontal) */
.size-btns { display: flex; gap: 4px; margin-top: 6px; }
.size-btns .btn { padding: 3px 8px; font-size: 11px; line-height: 16px; }

/* ── Login hero: negro + partículas + glassmorphism ───────────────────── */
.hero-login {
  position: relative; min-height: 100vh; overflow: hidden;
  background: #05070f;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: 'Poppins', system-ui, sans-serif;
}
#particles { position: absolute; inset: 0; }
.hero-bg {
  position: absolute; inset: -6%;
  background: url('/media/login-robot.png') center right / cover no-repeat;
  animation: kenburns 36s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kenburns {
  0%   { transform: scale(1) translate(0, 0); }
  50%  { transform: scale(1.07) translate(-1.2%, -0.8%); }
  100% { transform: scale(1.12) translate(1.2%, 0.6%); }
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(5, 7, 15, 0.15) 0%, rgba(5, 7, 15, 0.55) 75%, rgba(5, 7, 15, 0.85) 100%),
    linear-gradient(180deg, rgba(5, 7, 15, 0.35) 0%, transparent 30%, transparent 70%, rgba(5, 7, 15, 0.6) 100%);
}
.hero-card {
  position: relative; z-index: 2; width: 420px; max-width: 92vw;
  background: rgba(13, 17, 33, 0.72);
  border: 1px solid rgba(70, 95, 255, 0.35);
  border-radius: 20px; padding: 40px 36px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 0 60px rgba(70, 95, 255, 0.18), 0 30px 60px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.hero-logo {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  font-size: 26px; font-weight: 700; color: #fff; letter-spacing: -0.3px;
}
.hero-logo b { background: linear-gradient(90deg, #7592ff, #36bffa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-logo-icon {
  width: 46px; height: 46px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #465fff, #0ba5ec); color: #fff; font-size: 20px;
  box-shadow: 0 0 24px rgba(70, 95, 255, 0.55);
}
.hero-tagline { text-align: center; color: #8fa3c8; font-size: 13.5px; margin: 10px 0 26px; }
.hero-label { display: block; font-size: 12.5px; font-weight: 500; color: #aab8d8; margin: 14px 0 6px; letter-spacing: .2px; }
.hero-field { position: relative; }
.hero-field i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #5b6a8f; font-size: 14px; }
.hero-login input {
  width: 100%; padding: 12px 14px 12px 40px; border-radius: 10px;
  background: rgba(5, 8, 18, 0.75); border: 1px solid rgba(90, 110, 170, 0.35);
  color: #e6ecff; font: 400 14px/20px 'Poppins', sans-serif; box-shadow: none;
  transition: border-color .2s, box-shadow .2s;
}
.hero-login input::placeholder { color: #4c5a7d; }
.hero-login input:focus { outline: none; border-color: #465fff; box-shadow: 0 0 0 3px rgba(70, 95, 255, 0.25), 0 0 18px rgba(70, 95, 255, 0.25); }
.hero-btn {
  width: 100%; margin-top: 24px; padding: 13px 16px; border: 0; border-radius: 10px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(90deg, #465fff, #0ba5ec); color: #fff;
  font: 600 15px/20px 'Poppins', sans-serif; letter-spacing: .2px;
  box-shadow: 0 8px 28px rgba(70, 95, 255, 0.45);
  transition: transform .15s, box-shadow .15s, filter .15s;
}
.hero-btn:hover { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 12px 36px rgba(70, 95, 255, 0.6); }
.hero-btn:active { transform: translateY(0); }
.hero-error {
  background: rgba(240, 68, 56, 0.12); border: 1px solid rgba(240, 68, 56, 0.4); color: #fda29b;
  border-radius: 10px; padding: 10px 14px; font-size: 13px; margin-bottom: 4px;
  display: flex; gap: 8px; align-items: center;
}
.hero-foot { position: relative; z-index: 2; margin-top: 26px; color: #44506e; font-size: 12.5px; letter-spacing: .3px; }
@media (max-width: 480px) { .hero-card { padding: 30px 22px; } }
