.panel { padding: 20px 16px 80px; }
.panel h1 { font-family: 'Bebas Neue', sans-serif; font-size: 34px; letter-spacing: 1px; }
.panel h2 { font-family: 'Bebas Neue', sans-serif; font-size: 26px; letter-spacing: 1px; margin-bottom: 4px; }
.ayuda { font-size: 13px; color: var(--texto-suave); line-height: 1.45; margin-bottom: 14px; }

.caja {
  background: rgba(6,20,45,.86); border: 1px solid var(--borde); border-radius: 16px;
  padding: 18px; margin-top: 16px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.links { display: flex; gap: 8px; }

label.campo { display: block; font-size: 13px; font-weight: 600; margin: 12px 0 6px; }
input[type=text], input[type=password], input[type=tel], textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--borde);
  background: rgba(255,255,255,.06); color: var(--texto); font: inherit; font-size: 16px;
}
textarea { min-height: 76px; resize: vertical; }
input:focus, textarea:focus { outline: 2px solid var(--acento); outline-offset: 1px; border-color: transparent; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 16px; border-radius: 10px; font-weight: 600; font-size: 14px;
  background: rgba(255,255,255,.1); border: 1px solid var(--borde); transition: background .15s, opacity .15s;
}
.btn:hover { background: rgba(255,255,255,.16); }
.btn.primario { background: var(--acento); color: #111; border-color: transparent; }
.btn.primario:hover { filter: brightness(1.06); }
.btn.peligro { color: #ff8a80; }
.btn.chico { padding: 7px 10px; font-size: 13px; border-radius: 8px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn.ancho { width: 100%; margin-top: 18px; }
.archivo { position: relative; overflow: hidden; }
.archivo input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

.error { color: #ff8a80; font-size: 14px; margin-top: 10px; min-height: 1em; }

/* Logo */
.logo-fila { display: flex; align-items: center; gap: 16px; }
/* vista previa sobre el mismo azul de la app, para ver que el logo quedó sin fondo */
.logo-prev { width: 110px; height: 110px; border-radius: 14px; border: 1px dashed var(--borde); display: grid; place-items: center; padding: 8px; background: var(--fondo-color) url('../assets/fondo.jpg') center / cover; flex: none; }
.casilla { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; color: var(--texto-suave); cursor: pointer; }
.casilla input { width: 18px; height: 18px; accent-color: var(--acento); }
.logo-prev img { width: 100%; height: 100%; object-fit: contain; }
.logo-prev span { font-size: 11px; color: var(--texto-suave); text-align: center; }

/* Menú */
.mini-rejilla { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 14px; }
@media (min-width: 520px) { .mini-rejilla { grid-template-columns: repeat(3, 1fr); } }
.mini { position: relative; border-radius: 10px; transition: transform .15s ease, box-shadow .15s ease, opacity .15s; }
.mini-foto { position: relative; }
.mini img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 8px; background: rgba(255,255,255,.06); user-select: none; -webkit-user-select: none; }
.mini .num { position: absolute; top: 6px; left: 6px; min-width: 26px; text-align: center; background: var(--acento); color: #111; font-size: 13px; font-weight: 800; padding: 3px 8px; border-radius: 999px; box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.asa {
  position: absolute; top: 4px; right: 4px; width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center; background: rgba(0,0,0,.6); color: #fff;
  touch-action: none; cursor: grab;
}
.asa:active { cursor: grabbing; }
.asa-ej { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: rgba(0,0,0,.45); vertical-align: -6px; }
.ordenando .mini:not(.arrastrando) { opacity: .7; }
.mini.arrastrando { transform: scale(1.04); box-shadow: 0 0 0 3px var(--acento), 0 12px 28px rgba(0,0,0,.5); z-index: 2; }
.acciones { display: flex; gap: 5px; margin-top: 7px; justify-content: space-between; }
.acciones .icono { flex: 1; }
.icono { height: 34px; min-width: 32px; border-radius: 8px; display: grid; place-items: center; background: rgba(255,255,255,.1); font-weight: 800; font-size: 13px; }
.icono:hover { background: rgba(255,255,255,.18); }
.icono.primero { color: var(--acento); }
.icono.peligro { color: #ff8a80; }
.icono[disabled] { opacity: .3; pointer-events: none; }

/* Promociones */
.promo-edit { border-top: 1px solid var(--borde); padding-top: 16px; margin-top: 16px; }
.promo-edit:first-child { border-top: 0; margin-top: 8px; padding-top: 0; }
.promo-edit img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 8px; background: rgba(255,255,255,.06); }
.dias { display: flex; gap: 5px; }
.dia {
  flex: 1 1 0; min-width: 0; padding: 9px 0; border-radius: 8px; font-size: 12px; font-weight: 600;
  background: rgba(255,255,255,.06); border: 1px solid var(--borde); color: var(--texto-suave);
}
.dia[aria-pressed="true"] { background: var(--acento); color: #111; border-color: transparent; }
.fila-botones { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; align-items: center; }
.fila-botones .empuja { margin-left: auto; }
.grupo-iconos { display: flex; gap: 4px; margin-left: auto; }
.previa-nueva { margin-top: 12px; }
.previa-nueva img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 8px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0;
  background: #111; border: 1px solid var(--borde); padding: 10px 16px; border-radius: 10px; font-size: 14px;
  transition: all .25s ease; z-index: 100; pointer-events: none; max-width: 90vw;
}
.toast.ver { opacity: 1; transform: translate(-50%, 0); }
.ocupado { position: fixed; inset: 0; background: #0008; display: grid; place-items: center; z-index: 90; }
.ocupado[hidden] { display: none; }
.ocupado .cargando { margin: 0 auto; }
.ocupado-caja { text-align: center; }
#ocupado-txt { margin-top: 14px; font-size: 15px; font-weight: 600; min-height: 1em; }

/* Teléfono con +52 fijo */
.tel { display: flex; align-items: stretch; border-radius: 10px; overflow: hidden; border: 1px solid var(--borde); background: rgba(255,255,255,.06); }
.tel:focus-within { outline: 2px solid var(--acento); outline-offset: 1px; }
.tel-lada { display: flex; align-items: center; padding: 0 12px; font-weight: 700; background: rgba(255,255,255,.08); white-space: nowrap; }
.tel input { border: 0; border-radius: 0; background: transparent; letter-spacing: .5px; }
.tel input:focus { outline: none; }
