/* =========================================================
   Panel de administración · Cris Angela
   ========================================================= */
:root {
  --nav: #0a1030;
  --nav-2: #121a45;
  --acento: #7c5cff;
  --acento-2: #ff4fa3;
  --cian: #22d3ee;
  --grad: linear-gradient(120deg, #7c5cff 0%, #b14cff 45%, #ff4fa3 100%);
  --txt: #141a3a;
  --txt-2: #5b6285;
  --txt-3: #8d93b3;
  --borde: #e6e8f3;
  --fondo: #f4f5fb;
  --blanco: #fff;
  --ok: #16a34a;
  --error: #dc2626;
  --wa: #22c55e;
  --radio: 16px;
  --sombra: 0 1px 2px rgba(20, 26, 58, .04), 0 8px 24px -12px rgba(20, 26, 58, .12);
}
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Plus Jakarta Sans', system-ui, 'Segoe UI', sans-serif; color: var(--txt); background: var(--fondo); font-size: 14.5px; line-height: 1.5; }
a { color: var(--acento); }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.gris { color: var(--txt-3); }
.nowrap { white-space: nowrap; }
.der { text-align: right; }

/* ---------- Layout ---------- */
.lateral {
  position: fixed; inset: 0 auto 0 0; width: 256px; z-index: 30; overflow-y: auto;
  background: radial-gradient(400px 300px at 0% 0%, rgba(124, 92, 255, .35), transparent 70%), var(--nav);
  color: #fff; padding: 20px 14px; display: flex; flex-direction: column; transition: transform .25s;
}
.lateral-marca { display: flex; align-items: center; gap: 12px; padding: 4px 8px 22px; }
.lateral-marca strong { display: block; font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.lateral-marca small { color: #a9b1d6; font-size: 12px; font-weight: 600; }
.marca-ico { width: 42px; height: 42px; flex: none; border-radius: 13px; background: var(--grad); display: grid; place-items: center; font-weight: 800; font-size: 20px; color: #fff; box-shadow: 0 8px 20px -6px rgba(177, 76, 255, .8); }
.nav-tit { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #6f78a8; padding: 14px 12px 6px; }
.lateral nav a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; margin-bottom: 2px;
  color: #c9cff0; text-decoration: none; font-weight: 600; transition: background .15s, color .15s;
}
.lateral nav a svg { flex: none; opacity: .85; }
.lateral nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.lateral nav a.activo { background: linear-gradient(120deg, rgba(124, 92, 255, .45), rgba(255, 79, 163, .25)); color: #fff; box-shadow: inset 0 0 0 1px rgba(124, 92, 255, .6); }
.pill { margin-left: auto; background: var(--acento-2); color: #fff; border-radius: 999px; font-size: 11.5px; font-weight: 800; padding: 1px 8px; }
.lateral-pie { margin-top: auto; padding-top: 16px; }
.usuario-card { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .06); }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--cian); color: #04121a; display: grid; place-items: center; font-weight: 800; flex: none; }
.usuario-card b { display: block; font-size: 13.5px; }
.usuario-card small { color: #a9b1d6; font-size: 12px; }
.usuario-card a { margin-left: auto; color: #a9b1d6; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; }
.usuario-card a:hover { background: rgba(255, 79, 163, .2); color: #fff; }

.contenido { margin-left: 256px; min-height: 100vh; }
.barra {
  position: sticky; top: 0; z-index: 10; background: rgba(244, 245, 251, .85); backdrop-filter: blur(10px);
  display: flex; align-items: center; gap: 14px; padding: 16px 30px; border-bottom: 1px solid var(--borde);
}
.barra h1 { font-size: 22px; margin: 0; flex: 1; font-weight: 800; letter-spacing: -.02em; }
.barra .btn { height: 40px; }
.hamburguesa { display: none; width: 40px; height: 40px; border-radius: 12px; background: var(--blanco); border: 1px solid var(--borde); place-items: center; cursor: pointer; }
.capa-menu { display: none; }
.pagina { padding: 26px 30px 70px; max-width: 1400px; }

@media (max-width: 960px) {
  .lateral { transform: translateX(-100%); }
  #menuToggle:checked ~ .lateral { transform: none; }
  #menuToggle:checked ~ .capa-menu { display: block; position: fixed; inset: 0; background: rgba(10, 16, 48, .45); z-index: 25; }
  .contenido { margin-left: 0; }
  .hamburguesa { display: grid; }
  .barra { padding: 12px 16px; }
  .barra h1 { font-size: 18px; }
  .pagina { padding: 16px 16px 70px; }
}

/* ---------- Tarjetas ---------- */
.caja { background: var(--blanco); border: 1px solid var(--borde); border-radius: var(--radio); padding: 22px; box-shadow: var(--sombra); margin-bottom: 20px; min-width: 0; }
.caja-cab { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; }
.caja-cab h2 { font-size: 16.5px; margin: 0; font-weight: 800; }
.caja-cab p { margin: 2px 0 0; color: var(--txt-3); font-size: 13px; }
.caja-cab a { font-size: 13.5px; text-decoration: none; font-weight: 700; }
.vacio { color: var(--txt-3); text-align: center; padding: 30px 10px; margin: 0; }
.conteo { color: var(--txt-3); font-size: 13px; margin: 0 0 12px; font-weight: 600; }
.dos-col { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.dos-col > .caja { margin-bottom: 0; }
@media (max-width: 1100px) { .dos-col { grid-template-columns: 1fr; } }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
@media (max-width: 1100px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat { background: var(--blanco); border: 1px solid var(--borde); border-radius: var(--radio); padding: 18px 20px; text-decoration: none; color: inherit; box-shadow: var(--sombra); display: flex; flex-direction: column; gap: 10px; transition: transform .2s, box-shadow .2s; }
a.stat:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -16px rgba(124, 92, 255, .4); }
.stat-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #efeaff; color: var(--acento); }
.stat b { font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.stat small { color: var(--txt-3); font-weight: 600; font-size: 13px; }
.stat.dest { background: var(--grad); border: 0; color: #fff; }
.stat.dest .stat-ico { background: rgba(255, 255, 255, .2); color: #fff; }
.stat.dest small { color: rgba(255, 255, 255, .85); }

.alerta { padding: 13px 16px; border-radius: 12px; margin-bottom: 18px; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.alerta.ok { background: #e7f8ee; color: #136c34; }
.alerta.error { background: #fdecec; color: #a61b1b; }
.alerta.aviso { background: #fff5dc; color: #8a5a00; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px;
  border-radius: 12px; border: 0; cursor: pointer; font-weight: 700; text-decoration: none; white-space: nowrap; transition: all .15s;
}
.btn-prim { background: var(--grad); color: #fff; box-shadow: 0 8px 20px -10px rgba(124, 92, 255, .9); }
.btn-prim:hover { filter: brightness(1.07); }
.btn-sec { background: var(--blanco); color: var(--txt); border: 1px solid var(--borde); }
.btn-sec:hover { border-color: var(--acento); color: var(--acento); }
.btn-osc { background: var(--nav); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-peligro { background: #fdecec; color: var(--error); }
.btn-peligro:hover { background: var(--error); color: #fff; }
.btn-bloque { width: 100%; }
.btn-link { background: none; color: var(--txt-3); padding: 0; height: auto; }
.btn-link:hover { color: var(--error); }
.btn-ico { border: 1px solid var(--borde); background: var(--blanco); width: 36px; height: 36px; border-radius: 10px; cursor: pointer; display: inline-grid; place-items: center; color: var(--txt-2); text-decoration: none; transition: all .15s; }
.btn-ico:hover { border-color: var(--acento); color: var(--acento); }
.btn-ico.peligro:hover { border-color: var(--error); color: var(--error); background: #fdecec; }

.tag { border: 0; border-radius: 999px; padding: 4px 11px; font-size: 12px; font-weight: 700; cursor: pointer; white-space: nowrap; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag.on { background: #e7f8ee; color: #136c34; }
.tag.off { background: #f1f2f7; color: #8d93b3; }
.tag.dest-on { background: #e0f9fd; color: #0e7490; }
.inline { display: inline; margin: 0; }

/* ---------- Tablas ---------- */
.tabla-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -22px; padding: 0 22px; }
.tabla { width: 100%; border-collapse: collapse; }
.tabla th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--txt-3); font-weight: 800; padding: 10px 12px; border-bottom: 1px solid var(--borde); white-space: nowrap; background: #fafbff; }
.tabla td { padding: 12px; border-bottom: 1px solid var(--borde); vertical-align: middle; }
.tabla tr:last-child td { border-bottom: 0; }
.tabla tr.clic { cursor: pointer; }
.tabla tr.clic:hover td, .tabla tbody tr:hover td { background: #fafaff; }
.tabla tr.apagado td { opacity: .55; }
.tabla tfoot td { border-top: 1px solid var(--borde); padding-top: 14px; font-weight: 700; }
.total { color: var(--acento); font-size: 19px; font-weight: 800; }
.acciones { text-align: right; white-space: nowrap; }
.acciones > * { margin-left: 4px; }
.prod-celda { display: flex; align-items: center; gap: 12px; min-width: 220px; }
.prod-celda b { display: block; font-weight: 700; }
.prod-celda small { color: var(--txt-3); font-weight: 600; }
.mini { width: 52px; height: 52px; border-radius: 12px; object-fit: contain; background: #f2f3fa; padding: 4px; flex: none; }
.mini.sin { display: grid; place-items: center; color: var(--txt-3); }
.dots { display: inline-flex; vertical-align: middle; margin-left: 4px; }
.dot { width: 13px; height: 13px; border-radius: 50%; border: 2px solid #fff; margin-left: -4px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); display: inline-block; }
.dots .dot:first-child { margin-left: 0; }

.estado { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.estado.nuevo { background: #f3edff; color: #6d28d9; }
.estado.atendido { background: #e7f8ee; color: #136c34; }
.estado.cancelado { background: #f1f2f7; color: #8d93b3; }

/* ---------- Filtros ---------- */
.barra-acciones { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.filtros { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.filtros input, .filtros select { height: 42px; border: 1px solid var(--borde); border-radius: 12px; padding: 0 12px; background: var(--blanco); min-width: 0; outline: 0; }
.filtros input { flex: 1; max-width: 340px; min-width: 170px; }
.filtros input:focus, .filtros select:focus { border-color: var(--acento); }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; background: var(--blanco); border: 1px solid var(--borde); padding: 4px; border-radius: 14px; }
.tabs a { padding: 7px 14px; border-radius: 10px; color: var(--txt-2); text-decoration: none; font-weight: 700; font-size: 13.5px; }
.tabs a.activo { background: var(--nav); color: #fff; }
.tabs a b { font-size: 11px; background: var(--acento-2); color: #fff; border-radius: 999px; padding: 0 6px; margin-left: 4px; }
.paginacion { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 18px; justify-content: center; }
.paginacion a { min-width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--blanco); border: 1px solid var(--borde); text-decoration: none; font-weight: 700; color: var(--txt-2); }
.paginacion a.activo { background: var(--nav); border-color: var(--nav); color: #fff; }

/* ---------- Formularios ---------- */
label { display: block; font-weight: 700; margin-bottom: 16px; font-size: 13.5px; color: var(--txt-2); }
label small { font-weight: 500; }
input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=color]), select, textarea {
  display: block; width: 100%; margin-top: 6px; padding: 11px 13px; border: 1px solid var(--borde);
  border-radius: 12px; background: var(--blanco); color: var(--txt); outline: 0; transition: border-color .15s, box-shadow .15s; font-weight: 500;
}
input:focus, select:focus, textarea:focus { border-color: var(--acento) !important; box-shadow: 0 0 0 4px rgba(124, 92, 255, .12); }
textarea { resize: vertical; }
.filtros input, .filtros select { margin-top: 0 !important; width: auto; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; margin-bottom: 12px; color: var(--txt); }
.check input { width: 18px; height: 18px; accent-color: var(--acento); }
.fila-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fila-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .fila-2, .fila-3 { grid-template-columns: 1fr; } }
.ayuda { font-size: 12.5px; color: var(--txt-3); font-weight: 500; margin-top: 5px; display: block; }

.form-producto { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.form-producto .caja { margin: 0 0 20px; }
.form-botones {
  position: sticky; bottom: 0; z-index: 5; grid-column: 1 / -1; display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap;
  background: rgba(244, 245, 251, .92); backdrop-filter: blur(8px); padding: 14px 0; border-top: 1px solid var(--borde);
}
@media (max-width: 1000px) { .form-producto { grid-template-columns: 1fr; } .form-botones .btn { flex: 1; } }
.checks { background: var(--fondo); border-radius: 12px; padding: 14px 16px 4px; margin-bottom: 16px; }

/* Galería */
.galeria { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; margin-bottom: 14px; }
.foto { position: relative; aspect-ratio: 1; border-radius: 14px; background: #f2f3fa; border: 2px solid transparent; overflow: hidden; }
.foto img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.foto.principal { border-color: var(--acento); }
.foto .marca-p { position: absolute; left: 6px; top: 6px; background: var(--acento); color: #fff; font-size: 10.5px; font-weight: 800; padding: 2px 7px; border-radius: 6px; }
.foto-acc { position: absolute; right: 5px; bottom: 5px; display: flex; gap: 4px; opacity: 0; transition: opacity .15s; }
.foto:hover .foto-acc, .foto:focus-within .foto-acc { opacity: 1; }
.foto-acc button { width: 28px; height: 28px; border-radius: 8px; border: 0; background: rgba(10, 16, 48, .8); color: #fff; cursor: pointer; display: grid; place-items: center; font-size: 13px; }
.foto-acc button:hover { background: var(--acento); }
.foto-acc button.borrar:hover { background: var(--error); }
.foto.marcada-borrar { opacity: .35; border-color: var(--error); }
.soltar {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
  border: 2px dashed #cfd3ea; border-radius: 14px; padding: 22px; cursor: pointer; color: var(--txt-2); font-weight: 600; margin: 0;
  transition: border-color .15s, background .15s;
}
.soltar:hover, .soltar.encima { border-color: var(--acento); background: #f6f3ff; }
.soltar small { color: var(--txt-3); font-weight: 500; }
.nuevas { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 8px; margin-top: 10px; }
.nuevas img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #f2f3fa; border-radius: 10px; padding: 4px; }

/* Variantes */
.variantes { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.var-foto { position: relative; }
.var-foto-btn {
  width: 56px; height: 56px; margin: 0; border-radius: 12px; border: 2px dashed #cfd3ea; background: #fff; cursor: pointer;
  display: grid; place-items: center; color: var(--txt-3); overflow: hidden; transition: border-color .15s;
}
.var-foto-btn:hover { border-color: var(--acento); color: var(--acento); }
.var-foto-btn img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.var-foto-btn:has(img:not([hidden])) { border-style: solid; border-color: var(--acento); }
.var-foto-x { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; border: 0; background: var(--error); color: #fff; font-size: 10px; cursor: pointer; display: grid; place-items: center; }
.var-fila { display: grid; grid-template-columns: auto auto minmax(0, 1fr) 150px 100px auto auto; gap: 8px; align-items: center; background: var(--fondo); padding: 8px; border-radius: 12px; }
.var-fila input:not([type=color]):not([type=checkbox]) { margin: 0 !important; height: 40px; padding: 0 10px; }
.colores-var { display: flex; gap: 4px; align-items: center; }
.colores-var input[type=color] { width: 34px; height: 34px; border: 0; padding: 0; background: none; cursor: pointer; border-radius: 50%; }
.colores-var input[type=color]::-webkit-color-swatch-wrapper { padding: 0; }
.colores-var input[type=color]::-webkit-color-swatch { border: 2px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px var(--borde); }
.colores-var input[type=color].apagado { opacity: .25; }
.sin-color { font-size: 11px; font-weight: 700; color: var(--txt-3); background: none; border: 1px dashed var(--borde); border-radius: 8px; height: 34px; padding: 0 6px; cursor: pointer; }
.var-fila .check { margin: 0; font-size: 12.5px; }
@media (max-width: 640px) { .var-fila { grid-template-columns: auto 1fr auto; } .var-fila .colores-var { grid-column: 2; } .var-fila .var-precio, .var-fila .var-medidas { grid-column: 2; } }

/* Categorías */
.fila-crear { display: grid; grid-template-columns: minmax(0, 1fr) 240px auto; gap: 10px; align-items: end; }
.fila-crear label { margin: 0; }
@media (max-width: 760px) { .fila-crear { grid-template-columns: 1fr; } }
.arbol { display: flex; flex-direction: column; gap: 8px; }
.cat-fila { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--borde); border-radius: 14px; background: var(--blanco); }
.cat-fila.hija { margin-left: 34px; position: relative; }
.cat-fila.hija::before { content: ''; position: absolute; left: -22px; top: 50%; width: 14px; border-top: 2px solid var(--borde); }
.cat-fila.apagado { background: #fafafc; opacity: .7; }
.cat-form { display: flex; align-items: center; gap: 10px; flex: 1; flex-wrap: wrap; }
.cat-form .check { margin: 0; }
.cat-form input, .cat-form select { margin: 0 !important; height: 40px; padding: 0 10px !important; }
.cat-nombre { flex: 1; min-width: 150px; }
.cat-orden { width: 76px !important; }
.cat-padre { width: 180px !important; }
.cat-img { width: 40px; height: 40px; border-radius: 10px; background: #f2f3fa; object-fit: contain; padding: 3px; flex: none; }

/* Pedido */
.volver-link { display: inline-flex; gap: 6px; margin-bottom: 16px; text-decoration: none; font-weight: 700; }
.datos { display: grid; grid-template-columns: 96px 1fr; gap: 10px 12px; margin: 0 0 18px; }
.datos dt { color: var(--txt-3); font-size: 13px; font-weight: 600; }
.datos dd { margin: 0; font-weight: 600; word-break: break-word; }
.cambiar-estado { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 8px; }
.cambiar-estado .btn { flex: 1; }
.ranking { list-style: none; margin: 0 0 18px; padding: 0; counter-reset: r; }
.ranking li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--borde); counter-increment: r; }
.ranking li::before { content: counter(r); width: 24px; height: 24px; border-radius: 8px; background: #efeaff; color: var(--acento); font-weight: 800; font-size: 12px; display: grid; place-items: center; flex: none; }
.ranking li span { flex: 1; }
.ranking li b { color: var(--acento); }
.acciones-rapidas { display: flex; flex-direction: column; gap: 8px; }
.item-var { color: var(--txt-3); font-size: 12.5px; font-weight: 600; }

/* ---------- Login ---------- */
.login-body { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: var(--blanco); }
.login-arte {
  position: relative; overflow: hidden; color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between;
  background: radial-gradient(600px 400px at 20% 10%, rgba(124, 92, 255, .55), transparent 60%), radial-gradient(500px 400px at 90% 90%, rgba(255, 79, 163, .45), transparent 60%), var(--nav);
}
.login-arte h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 14px; font-weight: 800; max-width: 520px; }
.login-arte p { color: #c9cff0; max-width: 440px; font-size: 16px; margin: 0; }
.login-fotos { display: grid; grid-template-columns: repeat(3, 120px); gap: 14px; margin: 30px 0; }
.login-fotos span { aspect-ratio: 1; border-radius: 20px; background: rgba(255, 255, 255, .95); display: grid; place-items: center; padding: 12px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); }
.login-fotos span:nth-child(2) { transform: translateY(-18px); }
.login-fotos img { width: 100%; height: 100%; object-fit: contain; }
.login-lado { display: grid; place-items: center; padding: 32px 24px; }
.login-card { width: 100%; max-width: 380px; }
.login-card .marca-ico { width: 52px; height: 52px; font-size: 24px; border-radius: 16px; margin-bottom: 22px; }
.login-card h1 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.login-card .sub { color: var(--txt-3); margin: 4px 0 26px; font-weight: 500; }
.campo-ico { position: relative; }
.campo-ico input { padding-left: 42px !important; height: 50px; }
.campo-ico svg { position: absolute; left: 14px; bottom: 15px; color: var(--txt-3); }
.ver-clave { position: absolute; right: 8px; bottom: 7px; width: 36px; height: 36px; border: 0; background: none; border-radius: 10px; cursor: pointer; color: var(--txt-3); display: grid; place-items: center; }
.ver-clave:hover { background: var(--fondo); color: var(--txt); }
.login-card .btn { height: 50px; margin-top: 8px; font-size: 15.5px; }
.volver { display: block; text-align: center; margin-top: 20px; color: var(--txt-3); text-decoration: none; font-size: 13.5px; font-weight: 600; }
.volver:hover { color: var(--acento); }
@media (max-width: 900px) {
  .login-body { grid-template-columns: 1fr; }
  .login-arte { display: none; }
  .login-lado { min-height: 100vh; background: radial-gradient(500px 300px at 50% 0%, rgba(124, 92, 255, .14), transparent 70%); }
}
/* Instalador (usa la tarjeta de login centrada) */
.login-body.simple { display: grid; place-items: center; grid-template-columns: 1fr; background: var(--fondo); padding: 20px; }
.login-body.simple .login-card { background: #fff; padding: 32px 28px; border-radius: 22px; box-shadow: var(--sombra); max-width: 460px; }

/* Logo */
.logo-panel { background: #fff; border-radius: 16px; padding: 10px 12px 8px; margin: 0 4px 18px; text-align: center; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .6); }
.logo-panel img { width: 100%; height: auto; max-height: 92px; object-fit: contain; display: block; margin: 0 auto; }
.logo-panel small { display: block; margin-top: 4px; color: var(--txt-3); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.login-logo-img { width: 220px; max-width: 100%; height: auto; display: block; margin: 0 0 18px; }

/* Ubicación interna del producto */
.campo-ubicacion { background: #fff7ed; border: 1px dashed #fdba74; border-radius: 14px; padding: 12px 14px; color: #9a3412; }
.campo-ubicacion input { border-color: #fed7aa !important; }
.ubic { display: inline-block; margin-top: 3px; background: #fff7ed; color: #c2410c; font-size: 11.5px; font-weight: 700; padding: 1px 8px; border-radius: 999px; }
