/* =============================================
   VARIABLES
   ============================================= */
:root {
  --primary:       #E63946;
  --primary-dark:  #c1121f;
  --secondary:     #1D3557;
  --secondary-lt:  #2a4a73;
  --accent:        #F4A261;
  --success:       #2a9d4e;
  --danger:        #dc3545;
  --warning:       #f0a500;
  --wapp:          #25D366;
  --wapp-dark:     #1aab53;
  --bg:            #F2F4F7;
  --card:          #ffffff;
  --text:          #2B2D42;
  --text-muted:    #777;
  --border:        #E0E4EC;
  --shadow:        0 2px 10px rgba(0,0,0,.08);
  --shadow-lg:     0 6px 28px rgba(0,0,0,.14);
  --radius:        14px;
  --radius-sm:     8px;
  --font:          -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, sans-serif;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body  { font-family: var(--font); background: var(--bg); color: var(--text);
        min-height: 100vh; -webkit-font-smoothing: antialiased; }
img   { max-width: 100%; height: auto; display: block; }
a     { color: var(--primary); text-decoration: none; }
input, button, select, textarea { font-family: inherit; }

/* =============================================
   ╔══════════════════════════════╗
   ║   PÁGINA PÚBLICA             ║
   ╚══════════════════════════════╝
   ============================================= */

/* ── Header ── */
.site-header {
  background: var(--secondary);
  color: white;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.site-header .logo {
  width: 48px; height: 48px;
  object-fit: contain;
  border-radius: 8px;
  background: white;
  padding: 4px;
  flex-shrink: 0;
}
.header-text h1  { font-size: 1.35rem; font-weight: 700; line-height: 1.2; }
.header-text .fecha-label { font-size: .82rem; opacity: .85; margin-top: 3px; }

/* ── Main ── */
main {
  max-width: 720px;
  margin: 0 auto;
  padding: 18px 14px 130px; /* espacio para carrito bar */
}

/* ── Texto introductorio sobre las ofertas ── */
.oferta-intro {
  text-align: center;
  padding: 24px 16px 8px;
  max-width: 640px;
  margin: 0 auto;
}
.oferta-intro-titulo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 6px;
  letter-spacing: -.01em;
}
.oferta-intro-subtitulo {
  font-size: 0.95rem;
  color: var(--secondary-lt);
}

/* ── Grid — columna única ── */
.ofertas-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

/* ── Tarjeta de oferta ── */
.oferta-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  width: 100%;
  transition: transform .15s, box-shadow .15s;
}
.oferta-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Tarjeta sin precio: imagen ocupa todo, sin margen inferior */
.oferta-sin-precio .oferta-img-wrap {
  border-radius: var(--radius);
}
.oferta-sin-precio .oferta-info {
  padding: 12px 14px 14px;
}

.oferta-img-wrap {
  width: 100%;
  overflow: hidden;
  background: #eee;
}
.oferta-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .35s;
}
.oferta-card:hover .oferta-img-wrap img { transform: scale(1.02); }

.oferta-img-placeholder {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.oferta-info {
  padding: 10px 10px 4px;
  flex: 1;
}
.oferta-nombre {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
  color: var(--text);
}
.oferta-precio {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--primary);
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-items: center;
}
.oferta-precio .precio-antiguo {
  font-size: .95rem;
  font-weight: 600;
  color: #999;
  text-decoration: line-through;
  text-decoration-color: #999;
}
.oferta-unidad {
  font-size: .7rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ── Promoción (sin carrito) ── */
.promocion-card {
  position: relative;
  overflow: hidden;
}
.promocion-card .oferta-img-wrap {
  border-radius: var(--radius);
  aspect-ratio: auto;
}
.promocion-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 165, 0, 0.85) 0%, rgba(230, 57, 70, 0.85) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  gap: 8px;
  opacity: 0;
  transition: opacity .25s ease-out;
  pointer-events: none;
}
.promocion-card:hover .promocion-overlay {
  opacity: 1;
}
.promocion-label {
  display: inline-block;
  background: white;
  color: var(--primary);
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: .75rem;
  white-space: nowrap;
}
.promocion-titulo {
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  max-width: 90%;
  margin: 0;
}

/* ── Controles de cantidad ── */
.oferta-cantidad {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 10px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,.95);
  margin: 0 auto;
  width: fit-content;
}
.btn-cantidad {
  background: var(--bg);
  border: 2px solid var(--border);
  color: var(--text);
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background .15s, border-color .15s, color .15s;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.btn-cantidad.minus:hover { background: var(--danger);   border-color: var(--danger);   color: white; }
.btn-cantidad.plus:hover  { background: var(--success);  border-color: var(--success);  color: white; }
.btn-cantidad:active      { transform: scale(.92); }

.input-cantidad {
  width: 50px;
  min-width: 50px;
  text-align: center;
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 8px 0;
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  background: white;
  transition: border-color .15s;
}
.input-cantidad:focus { outline: none; border-color: var(--primary); }
/* Ocultar flechas nativas */
.input-cantidad::-webkit-inner-spin-button,
.input-cantidad::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.input-cantidad[type=number] { -moz-appearance: textfield; }

/* ── Carrito bar (sticky bottom) ── */
.carrito-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--secondary);
  color: white;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 -4px 24px rgba(0,0,0,.22);
  z-index: 200;
}

.carrito-resumen { display: flex; flex-direction: column; gap: 2px; }
.carrito-items   { font-size: .75rem; opacity: .7; }
.carrito-total   { font-size: 1.3rem; font-weight: 800; }

.btn-pedido {
  background: var(--wapp);
  color: white;
  border: none;
  padding: 13px 20px;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .15s, transform .1s;
  -webkit-tap-highlight-color: transparent;
}
.btn-pedido:hover:not(:disabled) { background: var(--wapp-dark); transform: scale(1.03); }
.btn-pedido:disabled { opacity: .5; cursor: not-allowed; }

/* ── Modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 500;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
@media (min-width: 520px) { .modal-overlay { align-items: center; } }
.modal-overlay.visible { opacity: 1; pointer-events: all; }

.modal {
  background: white;
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 28px 22px 34px;
  width: 100%;
  max-width: 460px;
  position: relative;
  transform: translateY(50px);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
  max-height: 90vh;
  overflow-y: auto;
}
@media (min-width: 520px) {
  .modal { border-radius: var(--radius); transform: scale(.88); }
}
.modal-overlay.visible .modal { transform: translateY(0) scale(1); }

.modal-close {
  position: absolute;
  top: 10px; right: 12px;
  background: var(--bg);
  border: none;
  border-radius: 50%;
  width: 30px; height: 30px;
  cursor: pointer;
  font-size: .85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.modal-close:hover { background: var(--border); }

.modal h2 { font-size: 1.2rem; margin-bottom: 4px; }
.modal > p { color: var(--text-muted); font-size: .88rem; margin-bottom: 16px; }

.input-nombre {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  margin-bottom: 16px;
  transition: border-color .15s;
}
.input-nombre:focus { outline: none; border-color: var(--primary); }

.modal-resumen { margin-bottom: 16px; }
.resumen-lista {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.resumen-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: .84rem;
  color: var(--text);
  gap: 8px;
}
.resumen-item span:first-child { flex: 1; }
.resumen-item span:last-child  { font-weight: 600; flex-shrink: 0; }
.resumen-total {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  padding-top: 10px;
  margin-top: 6px;
  border-top: 2px solid var(--border);
}

.btn-confirmar {
  width: 100%;
  background: var(--wapp);
  color: white;
  border: none;
  padding: 15px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
}
.btn-confirmar:hover { background: var(--wapp-dark); }

/* ── Empty state ── */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.empty-icon { font-size: 3rem; display: block; margin-bottom: 14px; }
.empty-state p { font-size: 1rem; margin-bottom: 8px; color: var(--text); }
.empty-sub    { font-size: .85rem !important; color: var(--text-muted) !important; }
.btn-whatsapp-contact {
  display: inline-block;
  background: var(--wapp);
  color: white;
  padding: 13px 26px;
  border-radius: 50px;
  font-weight: 600;
  margin-top: 18px;
  font-size: .95rem;
  transition: background .15s;
}
.btn-whatsapp-contact:hover { background: var(--wapp-dark); }

/* ── Lightbox / Modal imagen ── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease-out;
  padding: 20px;
}
.lightbox-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
  animation: zoomIn .3s ease-out;
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lightbox-caption {
  color: white;
  text-align: center;
  margin-top: 16px;
  font-size: 1rem;
  font-weight: 600;
  max-width: 90vw;
  line-height: 1.4;
}

.lightbox-close {
  position: fixed;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 610;
  transition: all .15s;
  -webkit-tap-highlight-color: transparent;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: white;
}
.lightbox-close:active {
  transform: scale(0.9);
}

/* =============================================
   ╔══════════════════════════════╗
   ║   PANEL ADMIN                ║
   ╚══════════════════════════════╝
   ============================================= */
.admin-body { background: #eef0f5; }

/* ── Login ── */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.login-card {
  background: white;
  border-radius: var(--radius);
  padding: 36px 30px 32px;
  width: 100%;
  max-width: 340px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.login-icon { font-size: 2.2rem; margin-bottom: 10px; }
.login-card h2 { font-size: 1.2rem; color: var(--secondary); margin-bottom: 22px; }
.login-card label {
  display: block;
  text-align: left;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.login-card input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  margin-bottom: 16px;
  transition: border-color .15s;
  text-align: left;
}
.login-card input:focus { outline: none; border-color: var(--primary); }

/* ── Wrapper ── */
.admin-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 20px 14px 60px;
}

/* ── Admin header ── */
.admin-header {
  background: var(--secondary);
  color: white;
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.admin-logo {
  width: 46px; height: 46px;
  object-fit: contain;
  border-radius: 8px;
  background: white;
  padding: 4px;
  flex-shrink: 0;
}
.admin-header-info h1 { font-size: 1.15rem; font-weight: 700; }
.admin-header-info p  { font-size: .75rem; opacity: .7; margin-top: 2px; }
.admin-header-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }

.btn-header-outline {
  color: white;
  border: 1.5px solid rgba(255,255,255,.5);
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: background .15s;
  white-space: nowrap;
}
.btn-header-outline:hover { background: rgba(255,255,255,.12); }

.btn-header-danger {
  color: #ff7b7b;
  border: 1.5px solid rgba(255,123,123,.35);
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background .15s;
  white-space: nowrap;
}
.btn-header-danger:hover { background: rgba(255,107,107,.12); }

/* ── Secciones ── */
.admin-section {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px 20px;
  margin-bottom: 18px;
  box-shadow: var(--shadow);
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 10px;
  flex-wrap: wrap;
}
.admin-section > h2 {
  font-size: 1rem;
  color: var(--secondary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.admin-section h3 {
  font-size: .9rem;
  color: var(--text-muted);
  margin: 22px 0 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.badge {
  background: var(--primary);
  color: white;
  font-size: .7rem;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 700;
}

/* ── Lista de ofertas admin ── */
.admin-ofertas-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.admin-oferta-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  flex-wrap: wrap;
}
.admin-oferta-thumb {
  width: 54px; height: 54px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.admin-oferta-thumb.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: var(--border);
}
.admin-oferta-data {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.admin-oferta-data strong { font-size: .88rem; color: var(--text); }
.precio-badge {
  background: var(--primary);
  color: white;
  font-size: .75rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 20px;
  white-space: nowrap;
}
.old-price-badge {
  background: var(--text-muted);
  color: white;
  font-size: .70rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 20px;
  white-space: nowrap;
}
.tipo-badge {
  font-size: .75rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 20px;
  white-space: nowrap;
}
.tipo-promocion {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: white;
}
.tipo-destacado {
  background: linear-gradient(135deg, #FFD166, #EF476F);
  color: white;
}
.destacado-badge {
  display: inline-block;
  background: rgba(255, 209, 102, .18);
  color: #FFB703;
  border: 1px solid rgba(255, 167, 38, .35);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.unidad-label { font-size: .72rem; color: var(--text-muted); }

/* ── Formulario agregar oferta ── */
.admin-add-form {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 18px 18px 20px;
  margin-top: 4px;
}
.admin-add-form h3 {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
  margin-bottom: 14px;
  color: var(--secondary);
}

/* ── Formularios genéricos ── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 18px;
}
@media (min-width: 520px) {
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .form-group.span-2 { grid-column: 1 / -1; }
}
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-muted);
}
.form-group small { font-size: .73rem; color: var(--text-muted); line-height: 1.4; }
.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="password"] {
  padding: 10px 13px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .93rem;
  color: var(--text);
  background: white;
  transition: border-color .15s;
  width: 100%;
}
.form-group input:focus { outline: none; border-color: var(--primary); }
.input-file { font-size: .82rem; color: var(--text-muted); cursor: pointer; }
.input-select {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  background: white;
  color: var(--text);
  cursor: pointer;
  transition: border-color .15s;
  font-family: inherit;
}
.input-select:focus { outline: none; border-color: var(--primary); }
.logo-preview {
  width: 64px; height: 64px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--border);
  padding: 4px;
  background: var(--bg);
}

/* ── Botones ── */
.btn-primary {
  background: var(--primary);
  color: white;
  border: none;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-size: .93rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, transform .1s;
  display: inline-block;
}
.btn-primary:hover  { background: var(--primary-dark); }
.btn-primary:active { transform: scale(.97); }
.btn-block { width: 100%; }

.btn-danger-sm {
  background: transparent;
  color: var(--danger);
  border: 1.5px solid var(--danger);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: .76rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.btn-danger-sm:hover { background: var(--danger); color: white; }

.btn-edit-sm {
  background: transparent;
  color: var(--secondary);
  border: 1.5px solid var(--secondary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: .8rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.btn-edit-sm:hover { background: var(--secondary); color: white; }

.btn-secondary-sm {
  background: transparent;
  color: var(--text-muted);
  border: 1.5px solid var(--border);
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  cursor: pointer;
  transition: border-color .15s;
}
.btn-secondary-sm:hover { border-color: var(--text-muted); }

.admin-edit-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.55);
  z-index: 9999;
  overflow-y: auto;
  padding: 24px 16px;
}
.admin-edit-overlay.active { display: block; }
.admin-edit-modal {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.admin-edit-modal h3 { margin-bottom: 16px; font-size: 1.1rem; }
.admin-edit-close {
  position: absolute;
  top: 12px; right: 14px;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
}

/* ── Alertas ── */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: .88rem;
  line-height: 1.4;
}
.alert-success { background: #d4edda; color: #155724; border: 1px solid #b8dbc4; }
.alert-error   { background: #f8d7da; color: #721c24; border: 1px solid #f1b0b7; }
.alert-info    { background: #d1ecf1; color: #0c5460; border: 1px solid #b0d8e0; }

.empty-msg {
  color: var(--text-muted);
  font-size: .88rem;
  text-align: center;
  padding: 20px 10px;
  font-style: italic;
}

/* ── Link del día ── */
.link-box {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.link-box input[type="text"] {
  flex: 1;
  min-width: 180px;
  padding: 10px 13px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .85rem;
  background: var(--bg);
  color: var(--text);
  font-family: monospace;
}
.btn-copy {
  background: var(--secondary);
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s;
  flex-shrink: 0;
}
.btn-copy:hover { background: var(--secondary-lt); }

.hint {
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: 10px;
  line-height: 1.6;
}
.hint strong { color: var(--text); }
