/* ===========================================================================
   EasyTable · components.css — módulos reutilizables
   ---------------------------------------------------------------------------
   Piezas de UI compartidas por varias pantallas: banners, stats, donut,
   toggles, pills, miniaturas, pestañas, steppers, segmentos, días, avatares,
   QR, modales, chips, selector de imágenes, spinner, etc.
   =========================================================================== */

/* ---- Banner premium ---- */
.banner {
  background: linear-gradient(110deg, #3b53d6, #5468e6); color: #fff; border-radius: 18px;
  padding: 22px 26px; display: flex; align-items: center; gap: 20px; overflow: hidden; position: relative;
}
.banner h2 { font-size: 24px; margin-bottom: 4px; }
.banner p { margin: 0; opacity: .9; font-size: 14px; max-width: 360px; }
.banner .btn-light { background: #fff; color: var(--navy); border: none; font-weight: 700; padding: 11px 18px; }
.banner img { height: 120px; margin-left: auto; }
/* Ilustración del banner de Inicio */
.banner-ill { height: 110px; margin: 0; }

/* ---- Stat cards ---- */
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; box-shadow: var(--shadow-sm); }
/* Entrada escalonada de cards en dashboards (Inicio y Estadísticas) */
@keyframes card-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.auto-stats .stat, .cards-2 > .card, .est-kpis > .card, .est-grid6 > .card, .est-cards4 > .card { animation: card-in .5s ease backwards; }
.auto-stats > :nth-child(2), .cards-2 > :nth-child(2), .est-kpis > :nth-child(2), .est-grid6 > :nth-child(2), .est-cards4 > :nth-child(2) { animation-delay: .07s; }
.auto-stats > :nth-child(3), .cards-2 > :nth-child(3), .est-kpis > :nth-child(3), .est-grid6 > :nth-child(3), .est-cards4 > :nth-child(3) { animation-delay: .14s; }
.auto-stats > :nth-child(4), .cards-2 > :nth-child(4), .est-kpis > :nth-child(4), .est-grid6 > :nth-child(4), .est-cards4 > :nth-child(4) { animation-delay: .21s; }
.auto-stats > :nth-child(5), .cards-2 > :nth-child(5), .est-grid6 > :nth-child(5) { animation-delay: .28s; }
.auto-stats > :nth-child(6), .cards-2 > :nth-child(6), .est-grid6 > :nth-child(6) { animation-delay: .35s; }
.auto-stats > :nth-child(7) { animation-delay: .42s; }
.stat .label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.stat .value { font-size: 28px; font-weight: 800; margin-top: 6px; color: var(--navy); }
/* Barra de color como pestaña (::before): recta, con inset, sin deformarse
   por el border-radius del card. */
.stat.bar-amber, .stat.bar-green { position: relative; }
.stat.bar-amber::before, .stat.bar-green::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 5px; border-radius: 0 5px 5px 0; }
.stat.bar-amber::before { background: var(--amber); }
.stat.bar-green::before { background: var(--green); }
.stat.center { text-align: center; }
.stat .big { font-size: 30px; font-weight: 800; color: var(--navy); }
/* Icono circular (reloj) sobre el stat de espera promedio */
.stat-ic { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 2px solid var(--green); margin-bottom: 8px; }

/* ---- Donut card (mi negocio) ---- */
.donut-card { display: flex; align-items: center; gap: 16px; }
.donut { width: 64px; height: 64px; border-radius: 50%; position: relative; flex: 0 0 64px; }
.donut::after { content: ""; position: absolute; inset: 12px; background: var(--card); border-radius: 50%; }
.donut .tot { position: absolute; inset: 0; display: grid; place-items: center; font-size: 17px; font-weight: 800; color: var(--ink); z-index: 1; }
/* El punto de color va centrado verticalmente respecto al número (flex). */
.kv { text-align: center; } .kv .n { font-size: 20px; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 6px; } .kv .k { font-size: 11px; color: var(--muted); text-transform: uppercase; }
/* Íconos de encabezado de las cards del dashboard, más visibles */
.cards-2 .tag-ic { width: 28px; height: 28px; }

/* ---- Miniatura genérica ---- */
.thumb { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; font-size: 22px;
  background: var(--surface-soft); border: 1px solid var(--line-2); flex: 0 0 44px; }
.qty { font-weight: 800; color: var(--navy); }

/* ---- Pestañas de línea (filtros) ---- */
.tabs-line { display: flex; gap: 18px; overflow-x: auto; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.tabs-line button { border: none; background: none; padding: 8px 2px; color: var(--muted); border-radius: 0; border-bottom: 2px solid transparent; white-space: nowrap; display: inline-flex; align-items: center; }
.tabs-line button.active { color: var(--crimson); border-bottom-color: var(--crimson); font-weight: 700; }
.tab-ico { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; overflow: hidden; background: var(--surface-soft); margin-right: 6px; font-size: 12px; flex: 0 0 22px; }
.tab-ico img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Toggle ---- */
.toggle { width: 42px; height: 24px; border-radius: 999px; background: #d6dae3; position: relative; border: none; padding: 0; transition: background .15s; }
.toggle.on { background: var(--green); }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: left .15s; }
.toggle.on::after { left: 21px; }

/* ---- Pill / punto ---- */
.pill { font-size: 12px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.pill.green { color: var(--green-d); border-color: #bce9cf; background: #f3fbf6; }
[data-theme="dark"] .pill.green { border-color: rgba(31, 191, 108, .35); background: rgba(31, 191, 108, .14); }
.dot-g { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; }

/* ---- Días (disponibilidad) ---- */
.day-pills { display: inline-flex; gap: 4px; }
.day-pill { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--surface-soft); color: #b6bccb; }
.day-pill.on { background: var(--crimson); color: #fff; }
.day-diario { display: inline-block; background: #e7f7ee; color: var(--green-d); font-weight: 700; font-size: 12px; padding: 5px 14px; border-radius: 999px; }
[data-theme="dark"] .day-diario { background: rgba(31, 191, 108, .16); }
.day-pick { display: flex; gap: 8px; flex-wrap: wrap; }
.day-pill.big { width: 40px; height: 40px; border-radius: 10px; font-size: 14px; border: none; cursor: pointer; }

/* ---- Segmento Diario / Personalizado ---- */
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; }
.seg button { border: none; background: var(--card); padding: 9px 20px; cursor: pointer; color: var(--ink); font-weight: 600; }
.seg button.sel { background: var(--crimson); color: #fff; }

/* ---- Hovers de selectores e ítems interactivos ---- */
.shape-pick, .mc-type, .mesa-chip, .swatch, .av-opt, .crear-mesa, .day-pill.big, .tabs-line button { transition: border-color .12s, background .12s, color .12s, transform .12s; }
.shape-pick:hover:not(.sel), .mc-type:hover:not(.sel), .mesa-chip:hover:not(.sel) { border-color: var(--navy); }
.seg button:hover:not(.sel) { background: var(--surface-soft); }
.day-pill.big:hover:not(.on) { background: var(--surface-soft); }
.swatch:hover { transform: scale(1.12); }
.av-opt:hover:not(.sel) { border-color: var(--line); }
.crear-mesa:hover { background: #f3fbf6; border-style: solid; }
[data-theme="dark"] .crear-mesa:hover { background: rgba(31, 191, 108, .14); }
.tabs-line button:hover:not(.active) { color: var(--ink); }

/* ---- Steppers (− valor +) ---- */
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: var(--surface-soft); }
.stepper button { border: none; background: transparent; width: 46px; height: 44px; font-size: 20px; cursor: pointer; color: var(--ink); padding: 0; }
.stepper button:hover { background: var(--line-2); }
.stepper > span { min-width: 58px; text-align: center; font-weight: 800; font-size: 16px; color: var(--navy); }
.stepper.circle { border: none; background: none; gap: 14px; }
.stepper.circle button { width: 46px; height: 46px; border-radius: 50%; background: var(--surface-soft); }
.stepper.circle > span { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; min-width: auto; }

/* ---- Swatches de color / chips de mesa ---- */
/* Aviso de privacidad en Config: discreto, en gris, para que no resalte */
.priv-preview { filter: grayscale(1); opacity: .72; }
.priv-row { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--muted); line-height: 1.4; cursor: default; }
.priv-row input { margin-top: 1px; width: 16px; height: 16px; flex: 0 0 16px; accent-color: var(--muted); }
.priv-row a { color: var(--muted); font-weight: 600; text-decoration: underline; }
.color-swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch { width: 28px; height: 28px; flex: 0 0 28px; box-sizing: border-box; padding: 0; border-radius: 50%; border: 2px solid var(--card); box-shadow: 0 0 0 1px var(--line-2); cursor: pointer; }
.swatch.sel { box-shadow: 0 0 0 2px var(--navy); transform: scale(1.1); }
.mesa-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mesa-chip { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--card); font-weight: 700; color: var(--ink); cursor: pointer; }
.mesa-chip.sel { background: var(--green); border-color: var(--green); color: #fff; }

/* ---- Avatares: selector simple y carrusel ---- */
.av-pick { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0; }
.av-opt { flex: 0 0 auto; border: 2px solid transparent; border-radius: 50%; background: none; padding: 2px; cursor: pointer; }
.av-opt img { width: 42px; height: 42px; border-radius: 50%; display: block; }
.av-opt.sel { border-color: var(--crimson); }
/* El carrusel de avatares vive ahora en css/carousel.css (.bcar*) — Blossom */
/* Lista de renumeración en el modal de confirmación al mover una mesa */
.move-changes { display: flex; flex-direction: column; gap: 5px; margin-top: 10px; }
.move-row { font-weight: 600; color: var(--navy); background: var(--surface-soft); border-radius: 8px; padding: 5px 12px; }

/* ---- QR de mesa ---- */
.qr-block { text-align: center; background: var(--surface-soft); border: 1px solid var(--line-2); border-radius: 14px; padding: 14px; }
.qr-block img { border-radius: 10px; background: #fff; }
.qr-url { word-break: break-all; margin-top: 6px; }

/* ---- Modales ---- */
.overlay { position: fixed; inset: 0; background: var(--overlay); display: grid;
  place-items: center; z-index: 100; padding: 20px; }
.modal { background: var(--card); border-radius: 18px; width: min(460px, 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35); overflow: hidden; position: relative; }
.modal-pad { padding: 26px; }
.modal h3 { font-size: 22px; color: var(--navy); margin-bottom: 8px; }
.modal label { display: block; font-size: 14px; color: var(--ink-soft); margin: 16px 0 6px; }
.modal-head { padding: 18px 20px; color: #fff; display: flex; justify-content: space-between; align-items: center; }
.modal-head.green { background: var(--green); }
/* Círculo con el ícono del recurso (tipo de mesa, etc.) en el encabezado */
.modal-head .mh-ic { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.22);
  display: grid; place-items: center; flex: 0 0 44px; }

/* ---- Modal de mesa: datos rápidos, advertencia y botones píldora ---- */
.mesa-stats { display: flex; gap: 8px; margin: 0 0 14px; }
.mesa-stat { flex: 1; display: flex; align-items: center; gap: 8px; min-width: 0; }
.mesa-stat .ms-ic { width: 34px; height: 34px; border-radius: 50%; background: #e7f7ee; color: var(--green-d);
  display: grid; place-items: center; flex: 0 0 34px; }
[data-theme="dark"] .mesa-stat .ms-ic { background: rgba(31, 191, 108, .16); }
.mesa-stat .ms-l { font-size: 11px; color: var(--muted); line-height: 1.2; }
.mesa-stat .ms-v { font-size: 13px; font-weight: 800; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Aviso: cuenta abierta bloquea editar/eliminar */
.mesa-warn { display: flex; align-items: center; gap: 10px; background: #fde8ea; border-radius: 14px;
  padding: 10px 14px; margin: 12px 0 0; color: var(--ink); }
[data-theme="dark"] .mesa-warn { background: rgba(239, 17, 73, .14); }
.mesa-warn .mw-ic { width: 32px; height: 32px; border-radius: 50%; background: var(--card); color: var(--crimson);
  display: grid; place-items: center; flex: 0 0 32px; }
/* Botones píldora del modal: relleno (navy/crimson) y contorno (neutro/peligro),
   con estados hover / active / disabled consistentes. */
.pill-btn { border: none; border-radius: 999px; padding: 11px 18px; font: inherit; font-weight: 700; font-size: 13.5px;
  cursor: pointer; transition: filter .12s, background .12s, transform .05s, opacity .12s; }
.pill-btn:hover:not(:disabled) { filter: brightness(1.08); }
.pill-btn:active:not(:disabled) { transform: scale(.97); }
.pill-btn:disabled { opacity: .45; cursor: not-allowed; }
.pill-navy { background: var(--navy-solid, #29274b); color: #fff; }
.pill-crimson { background: var(--crimson); color: #fff; }
.pill-outline { background: var(--card); border: 1.5px solid var(--line-2); color: var(--navy); }
.pill-outline:hover:not(:disabled) { filter: none; background: var(--surface-soft); }
.pill-outline-danger { background: var(--card); border: 1.5px solid #f6c6d1; color: var(--crimson); }
.pill-outline-danger:hover:not(:disabled) { filter: none; background: #fff3f5; }
[data-theme="dark"] .pill-outline-danger { border-color: rgba(239, 17, 73, .4); }
[data-theme="dark"] .pill-outline-danger:hover:not(:disabled) { background: rgba(239, 17, 73, .16); }
.modal-x { position: absolute; top: 14px; right: 16px; border: none; background: none;
  font-size: 16px; color: var(--muted); cursor: pointer; padding: 4px; }
.modal-x.light { position: static; color: #fff; }
.btn-row { display: flex; gap: 12px; margin-top: 24px; }
.btn-row .round { border-radius: 999px; }
.ic-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.modal.wide { width: min(560px, 100%); }

/* ---- Formulario: rejilla y etiquetas (reutilizable) ---- */
.form-grid { display: grid; grid-template-columns: 1fr 220px; gap: 16px; align-items: start; }
.flabel { display: block; font-size: 14px; color: var(--ink-soft); margin-bottom: 10px; }

/* ---- Pila de tarjetas: separa bloques de tipo .card por sección (imágenes,
   categorías, variantes, info general…) con gap en vez de margin. ---- */
.block-stack { display: flex; flex-direction: column; gap: 20px; }

/* ---- Fila de una variante de precio dentro de su bloque ---- */
.variant-row { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-2);
  border-radius: 12px; padding: 10px 12px; }

/* ---- Referencia (solo lectura) del precio regular dentro del modal de variantes ---- */
.price-reg-ref { background: var(--surface-soft); border-radius: 10px; padding: 10px 12px; }

/* ---- Chips de categoría / selección ---- */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px;
  border: 1px solid var(--line-2); border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--navy); }
.chip-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-sel { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1.5px solid var(--line-2);
  border-radius: 999px; background: var(--card); cursor: pointer; font-weight: 600; color: var(--ink); }
.chip-sel.on { border-color: var(--navy-solid); background: var(--navy-solid); color: #fff; }
.chip-add { padding: 8px 16px; border: 1.5px dashed var(--green); border-radius: 999px; background: #f3fbf6;
  color: var(--green-d); cursor: pointer; font-weight: 600; flex: 0 0 auto; }
[data-theme="dark"] .chip-add { background: rgba(31, 191, 108, .14); }
/* ---- Número de variante de precio, junto al input de título ---- */
.variant-num { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: var(--navy-solid); color: #fff;
  font-size: 12px; font-weight: 700; display: grid; place-items: center; }

.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); cursor: pointer; }
.check-row input { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 18px; }
.choose-row { display: flex; align-items: center; gap: 12px; width: 100%; background: var(--card);
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; cursor: pointer; box-shadow: var(--shadow-sm); }
.choose-row:hover { border-color: var(--green); }
.radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); flex: 0 0 22px; position: relative; }
.radio.on { border-color: var(--green); background: var(--green); }
.radio.on::after { content: "✓"; color: #fff; font-size: 13px; position: absolute; inset: 0; display: grid; place-items: center; }

/* ---- Chips de imagen seleccionada ---- */
.img-chip { position: relative; width: 56px; height: 56px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-2); }
.img-chip img { width: 100%; height: 100%; object-fit: cover; }
.img-chip.lg { width: 76px; height: 76px; }
.img-main { position: absolute; bottom: 0; left: 0; right: 0; background: var(--green); color: #fff;
  font-size: 9px; text-align: center; padding: 1px 0; }

/* ---- Botón "+" para agregar imágenes (mismo tamaño que .img-chip.lg) ---- */
.img-add-btn { width: 76px; height: 76px; border-radius: 10px; border: 1.5px dashed var(--green);
  background: #f3fbf6; color: var(--green-d); font-size: 26px; font-weight: 600; line-height: 1;
  display: grid; place-items: center; padding: 0; flex: 0 0 auto; }
.img-add-btn:hover:not(:disabled) { background: #e4f5ec; border-color: var(--green); }
[data-theme="dark"] .img-add-btn { background: rgba(31, 191, 108, .14); }
[data-theme="dark"] .img-add-btn:hover:not(:disabled) { background: rgba(31, 191, 108, .22); }

/* ---- Grid del selector de imágenes ---- */
.img-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; max-height: 360px; overflow: auto; }
.img-tile { position: relative; border: 2px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.img-tile.sel { border-color: var(--green); }
.img-tile img { width: 100%; height: 96px; object-fit: cover; display: block; cursor: pointer; }
.img-order { position: absolute; top: 6px; left: 6px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.img-makemain { position: absolute; bottom: 0; left: 0; right: 0; border: none; border-radius: 0;
  background: rgba(0,0,0,.55); color: #fff; font-size: 11px; padding: 4px; cursor: pointer; }
.img-makemain.on { background: var(--green); }

/* ---- Cargador de pantalla ("Espera un momento") ---- */
.et-loader { position: fixed; inset: 0; display: grid; place-items: center; background: var(--bg); z-index: 50; }
.et-loader-card { background: var(--card); border-radius: 18px; box-shadow: var(--shadow);
  padding: 38px 56px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.et-loader-box { width: 64px; height: 64px; border: 4px solid var(--crimson); border-radius: 20px;
  position: relative; animation: et-rot 1.5s cubic-bezier(.65, .1, .35, .9) infinite; }
.et-loader-box::after { content: ""; position: absolute; inset: 0; margin: auto; width: 8px; height: 8px;
  border-radius: 50%; background: var(--crimson); animation: et-dot 1.5s ease-in-out infinite; }
.et-loader-lbl { color: var(--navy); font-weight: 600; font-size: 15px; }
@keyframes et-rot { 0% { transform: rotate(45deg); } 50% { transform: rotate(225deg); } 100% { transform: rotate(405deg); } }
@keyframes et-dot { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.7); opacity: .4; } }

/* Llamadas al mesero dentro del menú de notificaciones */
.notif-item.call { display: flex; align-items: center; gap: 10px; }
.notif-item.call .ci { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  background: #fdeef2; flex: 0 0 26px; }
.notif-item.call .call-btn { padding: 5px 12px; font-size: 12px; border-radius: 999px; flex: 0 0 auto; }
[data-theme="dark"] .notif-item.call .ci { background: rgba(239, 17, 73, .16); }
/* Solicitud "pedir mesa": texto arriba, y abajo selector + asignar (única
   acción posible). En bloque porque el menú de notificaciones es angosto. */
.notif-item.call.notif-mesa { display: block; }
.notif-mesa .nm-head { display: flex; align-items: center; gap: 10px; }
.notif-mesa .nm-assign { display: flex; align-items: center; gap: 8px; margin-top: 9px; flex-wrap: wrap; }
.assign-sel { flex: 1; min-width: 0; padding: 7px 8px; font-size: 12.5px; border-radius: 10px; border: 1px solid var(--line-2);
  background: var(--card); color: var(--ink); font: inherit; }
.notif-mesa .call-btn:disabled { opacity: .45; cursor: not-allowed; }

/* Botón "Rechazar" (outline sobrio), reutilizado en la campana y en Mesas. */
.btn-reject { background: transparent; border: 1px solid var(--line-2); color: var(--muted); }
.btn-reject:hover:not(:disabled) { border-color: var(--crimson); color: var(--crimson); }

/* Peticiones de mesa en la vista Mesas: mismo dato que la campana, pero con
   acción de rechazar además de asignar. Cards angostas que fluyen en filas. */
.pet-mesa-list { display: flex; flex-wrap: wrap; gap: 12px; }
.pet-row { width: 300px; max-width: 100%; padding: 13px 14px;
  border: 1px solid var(--line-2); border-radius: 14px; }
.pet-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.pet-row .ci { display: grid; place-items: center; width: 30px; height: 30px;
  border-radius: 50%; background: #fdeef2; flex: 0 0 30px; }
[data-theme="dark"] .pet-row .ci { background: rgba(239, 17, 73, .16); }
.pet-row .pet-txt { min-width: 0; font-size: 14px; }
.pet-row .assign-sel { width: 100%; margin-bottom: 10px; }
.pet-btns { display: flex; gap: 8px; }
.pet-btns .call-btn { flex: 1; padding: 8px 12px; font-size: 13px; border-radius: 999px; }
.pet-row .call-btn:disabled { opacity: .45; cursor: not-allowed; }
.pet-empty { color: var(--muted); font-size: 14px; padding: 4px 2px; }
.pet-title { font-weight: 800; color: var(--navy); font-size: 15px; }

/* ---- Feedback: éxito / cargando ---- */
.ok-badge { width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: #fff;
  display: grid; place-items: center; font-size: 28px; margin: 0 auto 14px; }
.ok-msg { background: #eafaf1; color: var(--green-d); border: 1px solid #bce9cf;
  border-radius: 10px; padding: 10px 12px; font-size: 14px; margin-bottom: 12px; }
[data-theme="dark"] .ok-msg { background: rgba(31, 191, 108, .14); border-color: rgba(31, 191, 108, .35); }
.spinner { width: 40px; height: 40px; margin: 0 auto; border: 4px solid var(--line-2);
  border-top-color: var(--crimson); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
