/* =========================================================
   SAFEPETS — CSS ÚNICO Y DEFINITIVO
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&display=swap');


/* ================= PALETA ================= */
:root{
  --sp-primary:#00ffde;
  --sp-secondary:#00a8a3;
  --sp-soft:#a9ffe6;
  --sp-active:#00959e;
  --sp-hover:#009199;
  --sp-danger:#ff3b3b;
}

/* ================= RESET / BASE ================= */
*{ box-sizing:border-box; }

html, body{
  margin:0;
  padding:0;
  min-height:100vh;
  background:#ffffff;
  color:#003b38;
  font-family:'Poppins', system-ui, -apple-system, sans-serif;
}

/* ================= CONTENEDORES ================= */
.page{
  max-width:520px;
  margin:0 auto;
  background:#ffffff;   /* 👈 fuerza blanco */
}

.card,
.preview{
  background:#fff;
  max-width:480px;
  margin:24px auto;
  padding:24px 20px;
  border-radius:24px;
  box-shadow:0 14px 40px rgba(12,35,27,.15);
}

/* ================= HERO / IMÁGENES ================= */

.logo{
  width:120px;
  margin:8px auto 16px;
  display:block;
}

/* ================= TEXTOS ================= */
h1{
  font-size:1.45rem;
  font-weight:800;
  margin:8px 0 12px;
  text-align:center;
}
h2,h3{
  text-align:center;
  margin:8px 0;
}
p{ opacity:.9; }

.section-title{
  font-size:.8rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.6px;
  color:var(--sp-active);
  margin:22px 0 10px;
}

/* ================= GRID INFO ================= */
.grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
}

.info{
  background:#f0fffd;
  padding:14px;
  border-radius:16px;
}
.info-label{
  font-size:.75rem;
  color:#6b8f8b;
}
.info-value{
  font-weight:800;
}

/* ================= BOTONES ================= */
.btn{
  width:100%;
  height:52px;
  border-radius:16px;
  border:none;
  font-size:1rem;
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  cursor:pointer;
  text-decoration:none;
}

/* Principal */
.btn.primary{
  background:linear-gradient(135deg,var(--sp-primary),var(--sp-secondary));
  color:#003b38;
  box-shadow:0 10px 26px rgba(0,255,222,.35);
}

/* Secundario */
.btn.secondary{
  background:#f0fffd;
  color:var(--sp-active);
  border:2px solid var(--sp-primary);
}

/* Peligro */
.btn.danger{
  background:var(--sp-danger);
  color:#fff;
}

/* Outline */
.btn.outline{
  background:#fff;
  border:2px solid var(--sp-primary);
  color:var(--sp-active);
}

/* Grupo botones */
.btn-group{
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:14px;
}
/* =========================
   BOTÓN VETERINARIO
========================= */
/* =========================
   BOTÓN VETERINARIO (DESTACADO)
========================= */

.action-vet{
  background:linear-gradient(135deg,#4f46e5,#6366f1);
  color:#ffffff;
  box-shadow:0 10px 26px rgba(79,70,229,.45);
  position:relative;
  overflow:hidden;
}

/* brillo sutil */
.action-vet::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,.35) 50%,
    transparent 100%
  );
  opacity:.35;
}

/* icono */
.action-vet .ico{
  font-size:22px;
}

/* hover */
.action-vet:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 32px rgba(79,70,229,.6);
}


/* ================= FORMULARIOS ================= */
label{
  font-size:.85rem;
  font-weight:700;
  margin-top:12px;
  display:block;
}

input, textarea{
  width:100%;
  padding:12px;
  border-radius:14px;
  border:1px solid #b8d7cc;
  font-size:16px;
}

input:focus, textarea:focus{
  outline:none;
  border-color:var(--sp-primary);
  box-shadow:0 0 0 2px rgba(0,255,222,.25);
}

/* ================= UTILIDADES ================= */
.hidden{ display:none !important; }
/* =========================================================
   SAFEPETS — EXTRAS (espaciados, variantes de botones, docs)
   ========================================================= */

/* --- Formularios: aire entre campos y botones --- */
label { margin-top: 14px; }
input, textarea, select { margin-top: 6px; }
.form-actions { margin-top: 16px; }
.btn-group { margin-top: 16px; gap: 12px; }

/* --- Inputs tipo fecha más grandes y centrados --- */
input[type="date"]{
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  font-size: 16px;
  text-align: center;
}

/* --- Centrado rápido --- */
.center { text-align: center; }
.center img { display:block; margin-left:auto; margin-right:auto; }

/* --- Variantes de botón para llamadas / WhatsApp --- */
.btn.call{
  background: var(--sp-hover);
  color: #fff;
}

.btn.whatsapp{
  background: linear-gradient(135deg, var(--sp-secondary), var(--sp-hover));
  color:#fff;
  box-shadow: 0 10px 26px rgba(0,168,163,.25);
}

/* --- Documentos (listas bonitas) --- */
.docs-list{
  width:100%;
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-top:10px;
}

.doc-item{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 16px;
  border-radius:14px;
  background:#f0fffd;
  border:1.5px solid rgba(0,255,222,.45);
  text-decoration:none;
  color:#003b38;
  font-weight:800;
}

.doc-item:hover{
  background:#e6fffb;
}

.doc-left{
  display:flex;
  align-items:center;
  gap:10px;
}

.doc-arrow{
  color:var(--sp-active);
  font-size:1.2rem;
}
/* ===============================
   PROTECT PET – ESPACIADOS
=============================== */

/* Más aire entre formulario y botones */
.owner-form {
  margin-top: 20px;
}

/* Separación clara entre inputs y botón */
.owner-form form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Inputs un poco más altos y cómodos */
.owner-input {
  height: 48px;
  font-size: 1rem;
}

/* Grupo de botones: más respiración */
.btn-group {
  margin-top: 22px;
  gap: 14px;
}

/* Botones: tacto móvil más cómodo */
.btn {
  min-height: 54px;
}

/* =========================
   HEADER ACTIVATE PET
========================= */

.header-row{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:18px;
  margin:24px 0;
}

/* MISMA CAJA PARA LOS 3 */
.header-box{
  width:78px;
  height:78px;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* LOGO SAFEPETS */
.header-box img.logo{
  width:100%;
  height:100%;
  object-fit:contain;
  background:#fff;
  padding:8px;
  border-radius:16px;
  border:3px solid var(--sp-active);
}

/* ICONO ENLACE */
.header-box img.enlazar{
  width:36px;
  height:36px;
  object-fit:contain;
  opacity:.85;
}

/* FOTO MASCOTA */
.header-box img.pet{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:16px;
  border:3px solid var(--sp-active);
}
/* =========================
   PET PREVIEW – AVISO
========================= */

.preview-warning{
  display:flex;
  align-items:center;
  gap:14px;
  padding:16px 18px;
  margin-bottom:18px;
  border-radius:18px;
  background:#fff7d6;          /* amarillo suave */
  border:2px solid #facc15;    /* amarillo aviso */
}
.preview-warning{
  max-width: 420px;     /* 👈 límite de ancho */
  margin: 18px auto;    /* 👈 centra el bloque */
}

.preview-icon{
  font-size:1.6rem;
  line-height:1;
}

.preview-text{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.preview-text strong{
  font-size:0.95rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.4px;
  color:#92400e;
}

.preview-text span{
  font-size:0.9rem;
  line-height:1.35;
  color:#7c4a03;
}

/* =========================
   PET PREVIEW – ACCIONES
========================= */

.pet-actions{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top:16px;
}

/* separación extra para la parte inferior */
.pet-actions.bottom-actions{
  margin-top:26px;
}

/* LLAMAR */
.btn.action-call{
  background:linear-gradient(
    135deg,
    var(--sp-primary),
    var(--sp-secondary)
  );
  color:#003b38;
  box-shadow:0 10px 26px rgba(0,168,163,.25);
}

/* UBICACIÓN */
.btn.action-location{
  background:linear-gradient(
    135deg,
    var(--sp-active),
    var(--sp-hover)
  );
  color:#ffffff;
  box-shadow:0 10px 26px rgba(0,149,158,.25);
}

/* EDITAR */
.btn.action-edit{
  background:#ffffff;
  border:2px solid var(--sp-secondary);
  color:var(--sp-active);
}

/* GRABAR CHAPITA */
.btn.action-chip{
  background:linear-gradient(
    135deg,
    var(--sp-secondary),
    var(--sp-primary)
  );
  color:#003b38;
  box-shadow:0 10px 26px rgba(0,255,222,.28);
}

/* Iconos */
.btn .ico{
  font-size:1.15rem;
}
/* ===============================
   GESTIÓN MASCOTA – PET PREVIEW
=============================== */

.manage-box{
  margin-top:28px;
  display:flex;
  flex-direction:column;
  gap:14px;
  text-align:center;
}

/* Editar datos → link elegante */
.manage-link.edit{
  font-weight:800;
  color:var(--sp-active);
  text-decoration:none;
  font-size:1rem;
}

.manage-link.edit:hover{
  text-decoration:underline;
}

/* Volver a activar chapita → botón outline */
.manage-link.reactivate{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  height:52px;
  border-radius:16px;
  border:2px solid var(--sp-primary);
  background:#fff;
  color:var(--sp-active);
  font-weight:800;
  text-decoration:none;
  transition:.2s;
}

.manage-link.reactivate:hover{
  background:#f0fffd;
  border-color:var(--sp-hover);
}

/* ===============================
   PET HERO + MARCA SAFEPETS
=============================== */

.pet-hero{
  position:relative;
}

.pet-hero img:first-child{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* Logo SafePets */
.pet-brand{
  position:absolute;
  bottom:12px;
  right:12px;
  width:42px;
  height:42px;
  background:#fff;
  border-radius:12px;
  padding:6px;
  box-shadow:0 6px 16px rgba(0,0,0,.2);
}

/* ===============================
   LOGO SAFEPETS SOBRE FOTO
=============================== */

.pet-logo-top{
  width:90px;
  display:block;
  margin:12px auto 6px;
  opacity:.95;
}


/* ================= UTILIDADES ================= */
.hidden{
  display: none !important;
}

/* ===============================
   SOY EL DUEÑO – FORMULARIO
=============================== */

.manage-box{
  margin-top:24px;
}

.owner-form{
  margin-top:16px;
  padding:16px;
  background:#f8fffd;
  border-radius:16px;
  border:2px solid var(--sp-primary);
}

.owner-icon{
  font-size:1.6rem;
  margin-right:6px;
  vertical-align:middle;
}


/* =========================
   MIS MASCOTAS – TÍTULO DUEÑO
========================= */

.owner-title{
  font-size:1.5rem;
  font-weight:800;
  text-align:center;
  margin:6px 0 18px;
  color:#003b38;
}

/* =========================
   MIS MASCOTAS – GRID
========================= */

.pets-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:20px;
}

@media (min-width:720px){
  .pets-grid{
    grid-template-columns:repeat(2,1fr);
  }
}


.pet-card{
  background:#ffffff;
  border-radius:22px;
  padding:18px;

  /* borde fino elegante */
  border:1.5px solid rgba(0,168,163,.25);

  /* sombra suave */
  box-shadow:0 6px 18px rgba(0,0,0,.05);

  display:flex;
  flex-direction:column;
  gap:16px;
  text-align:center;
}

/* =========================
   CABECERA
========================= */

.pet-head{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
}

.pet-head img{
  width:84px;
  height:84px;
  border-radius:20px;
  object-fit:cover;
  background:#fff;
  border:2px solid var(--sp-soft);
}

.pet-head img[src*="logo"]{
  object-fit:contain;
  padding:10px;
  background:#f6fffd;
}

/* =========================
   TEXTO
========================= */

.pet-meta{
  display:flex;
  flex-direction:column;
  gap:2px;
}

.pet-meta strong{
  font-size:1.25rem;
  font-weight:800;
  line-height:1.1;
}

.pet-meta small{
  font-size:.85rem;
  opacity:.55;
}

/* PERDIDO */
.lost-badge{
  margin-top:6px;
  padding:4px 12px;
  font-size:.7rem;
  font-weight:800;
  border-radius:999px;
  color:#b91c1c;
  border:1.5px dashed #fca5a5;
  background:#fff5f5;
}

/* =========================
   ACCIONES INLINE
========================= */

.btn-inline{
  display:flex;
  justify-content:center;
  gap:20px;
}

.btn-link{
  background:none;
  border:none;
  font-weight:700;
  color:var(--sp-active);
  cursor:pointer;
}
/* =========================
   MIS MASCOTAS – BOTONES (CONTORNOS DEFINITIVOS)
========================= */

/* BASE COMÚN */
.pet-card .btn{
  background:#ffffff;
  border-radius:16px;
  height:52px;
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  cursor:pointer;
  border:1.5px solid transparent; /* 👈 clave */
  transition:all .2s ease;
}

/* HOVER SUAVE */
.pet-card .btn:hover{
  transform:translateY(-1px);
}

/* VER FICHA */
.pet-card .btn-main{
  border-color:var(--sp-secondary);
  color:var(--sp-secondary);
}

/* DOCUMENTOS */
.pet-card .btn-soft{
  border-color:var(--sp-primary);
  color:var(--sp-active);
}

/* EDITAR */
.pet-card .btn-edit{
  border-color:var(--sp-active);
  color:var(--sp-active);
}

/* COMPARTIR */
.pet-card .btn-share{
  border-color:#7dd3fc;
  color:#0369a1;
}

/* PERDIDA */
.pet-card .btn-danger-soft{
  border-color:var(--sp-danger);
  color:#b91c1c;
  background:#fffafa;
}

/* ELIMINAR */
.pet-card .btn-delete,
.pet-card .btn-outline-danger{
  border-color:rgba(220,38,38,.45);
  color:#dc2626;
  background:transparent;
}
/* =========================
   MASCOTA PERDIDA – ESTADO VISUAL
========================= */

.pet-card.lost{
  border-color:var(--sp-danger);
  background:#fff7f7;
}

.pet-card.lost .pet-head img{
  border-color:var(--sp-danger);
}

.pet-card.lost .pet-meta strong{
  color:#b91c1c;
}
/* =========================
   MIS MASCOTAS – BOTONES CON CONTORNO REAL
========================= */

/* BASE COMÚN */
.pet-card .btn{
  background:#ffffff;
  border:2px solid transparent;
  border-radius:16px;
  height:52px;
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}

/* VER FICHA */
.pet-card .btn-call{
  border-color:var(--sp-secondary);
  color:var(--sp-secondary);
}

/* DOCUMENTOS */
.pet-card .btn-wa{
  border-color:var(--sp-primary);
  color:var(--sp-active);
}

/* EDITAR */
.pet-card .btn-edit{
  border-color:var(--sp-active);
  color:var(--sp-active);
}

/* COMPARTIR */
.pet-card .btn-share{
  border-color:#7dd3fc;
  color:#0369a1;
}

/* MARCAR COMO PERDIDA */
.pet-card .btn-lost{
  border-color:var(--sp-danger);
  color:#b91c1c;
  background:#fffafa;
}

/* MARCAR COMO ENCONTRADA (si existe) */
.pet-card .btn-found{
  border-color:#16a34a;
  color:#166534;
  background:#f0fdf4;
}

/* ELIMINAR */
.pet-card .btn-outline-danger{
  border-color:rgba(220,38,38,.45);
  color:#dc2626;
  background:transparent;
}
/* =========================
   BOTÓN VOLVER – PET
========================= */

.btn-back{
  background:#ffffff;
  border:2px solid var(--sp-secondary);
  color:var(--sp-active);
  height:54px;
  border-radius:18px;
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  
  margin:18px 0 22px;
  
  text-decoration:none;
  box-shadow:0 6px 16px rgba(0,168,163,.15);
  transition:.2s ease;
}

.btn-back:hover{
  background:#f0fffd;
  border-color:var(--sp-hover);
}
/* =========================
   BOTÓN VOLVER – SETUP PET
========================= */

.btn-back-main{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;

  height:52px;
  width:100%;

  margin:20px 0 28px; /* 👈 aire arriba y abajo */

  border-radius:16px;
  font-weight:800;
  text-decoration:none;

  background:#ffffff;
  border:2px solid var(--sp-primary);
  color:var(--sp-active);

  transition:.2s ease;
}

.btn-back-main:hover{
  background:#f0fffd;
  border-color:var(--sp-hover);
}
/* =========================
   CONTENEDOR BOTÓN VOLVER
========================= */

.back-box{
  background:#ffffff;
  border-radius:20px;
  padding:18px;
  margin:22px auto 28px;

  max-width:480px;

  box-shadow:0 8px 22px rgba(0,0,0,.06);
  border:1.5px solid rgba(0,168,163,.25);
}
/* =========================
   SUBIDA DE DOCUMENTOS – MÓVIL FRIENDLY
========================= */

/* Input file grande y táctil */
input[type="file"]{
  width:100%;
  padding:14px;
  font-size:1rem;
  border-radius:16px;
  border:2px dashed var(--sp-primary);
  background:#f0fffd;
  cursor:pointer;
}

/* En iOS/Android el botón real */
input[type="file"]::file-selector-button{
  padding:12px 18px;
  margin-right:12px;
  border-radius:14px;
  border:none;
  font-weight:800;
  background:linear-gradient(
    135deg,
    var(--sp-primary),
    var(--sp-secondary)
  );
  color:#003b38;
  cursor:pointer;
}

/* Safari iOS compatibilidad */
input[type="file"]::-webkit-file-upload-button{
  padding:12px 18px;
  margin-right:12px;
  border-radius:14px;
  border:none;
  font-weight:800;
  background:linear-gradient(
    135deg,
    var(--sp-primary),
    var(--sp-secondary)
  );
  color:#003b38;
  cursor:pointer;
}

/* Caja de cada documento subido */
.docs-list .doc-item{
  padding:16px 18px;
  font-size:1rem;
}

/* Texto más grande en móvil */
@media (max-width:600px){
  .docs-list .doc-item{
    font-size:1.05rem;
  }
}
.hidden {
  display: none;
}

#duenoForm {
  scroll-margin-top: 80px;
}
.pet-thumb-wrapper{
  position: relative;
  width: 100%;
}

.pet-thumb{
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.pet-logo-overlay{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  opacity: 0.85;
  pointer-events: none;
}
/* ===============================
   AUTH / RECUPERAR PIN
================================ */

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f6f8ff;
  padding: 20px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  padding: 28px 22px;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(27, 99, 255, 0.18);
  text-align: center;
}

.auth-card h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #1b63ff;
  margin-bottom: 12px;
}

.auth-card .hint {
  font-size: 14px;
  color: #555;
  margin-bottom: 22px;
  line-height: 1.4;
}

.auth-card .error {
  background: #ffecec;
  color: #b10000;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  margin-bottom: 16px;
}

.auth-card input {
  width: 100%;
  padding: 14px;
  font-size: 1.3rem;
  text-align: center;
  letter-spacing: 6px;
  border-radius: 14px;
  border: 1.5px solid #dfe5ff;
  margin-bottom: 18px;
}

.auth-card input[type="password"] {
  letter-spacing: 4px;
}
.auth-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.auth-card input:focus {
  outline: none;
  border-color: #1b63ff;
  box-shadow: 0 0 0 3px rgba(27,99,255,0.15);
}

.btn-primary {
  width: 100%;
  padding: 14px;
  border-radius: 999px;
  background: #1b63ff;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(27,99,255,0.35);
  transition: 0.25s;
}

.btn-primary:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 28px rgba(27,99,255,0.45);
}

.dev-code {
  margin-top: 18px;
  font-size: 13px;
  color: #999;
}
/* ===============================
   CAMBIAR PIN – CAJA SUPERIOR
=============================== */

.pin-box {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.pin-btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  background: #f0f4ff;
  color: #1b63ff;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid #dbe4ff;
  transition: all 0.25s ease;
}

.pin-btn:hover {
  background: #1b63ff;
  color: #fff;
  box-shadow: 0 10px 26px rgba(27,99,255,0.35);
  transform: translateY(-2px);
}
.forgot-pin {
  color: #0b7a75;
  font-weight: 600;
  text-decoration: underline;
}

.forgot-pin:hover {
  color: #055a56;
}

.hint {
  font-size: 13px;
  color: #666;
  margin-top: 6px;
}
/* =====================================================
   COMO FUNCIONA – ESTILOS DEFINITIVOS Y LIMPIOS
   ===================================================== */

body.page-how {
  background: #f6f8ff;
  text-align: center;
}

/* ❌ DESACTIVAR HERO GLOBAL QUE ROMPÍA TODO */
body.page-how .hero,
body.page-how .hero img {
  all: unset !important;
  display: none !important;
}

/* ================= HERO (igual que index) ================= */

body.page-how .landing-container {
  padding: 36px 20px 24px;
}

body.page-how .logo-img {
  width: 90px;
  margin: 8px auto 0;
  display: block;
}

body.page-how .hero-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #1b63ff;
  margin: 14px 0 8px;
}

body.page-how .hero-subtitle {
  font-size: 1.05rem;
  opacity: .85;
  max-width: 640px;
  margin: 0 auto 18px;
}

/* ================= CONTENEDORES ================= */

body.page-how .section-card {
  background: #ffffff;
  max-width: 820px;
  margin: 26px auto;
  padding: 32px 22px;
  border-radius: 32px;
  box-shadow: 0 16px 40px rgba(0,0,0,.08);
  text-align: left;
}

body.page-how .section-card h2 {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #1b63ff;
  margin-bottom: 24px;
}

/* ================= STEPS ================= */

body.page-how .step {
  display: flex;
  align-items: center;
  background: #eef3ff;
  padding: 14px 18px;
  border-radius: 16px;
  margin: 0 auto 14px;
  max-width: 700px;
  font-size: 1.05rem;
}

body.page-how .step-icon {
  background: #1b63ff;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 14px;
  flex-shrink: 0;
}

/* ================= BOTONES ================= */

body.page-how .hero-button {
  display: inline-block;
  margin-top: 26px;
  background: #1b63ff;
  color: #fff !important;
  padding: 16px 36px;
  border-radius: 999px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(27,99,255,.35);
  transition: .25s;
}

body.page-how .hero-button:hover {
  transform: scale(1.05);
}

body.page-how .secondary-button {
  display: inline-block;
  margin-top: 18px;
  background: #e6fffb;
  color: #008f86 !important;
  padding: 16px 34px;
  border-radius: 999px;
  border: 1.5px solid #00ffde;
  font-weight: 600;
  text-decoration: none;
}
/* Centrar botón Comprar chapita */
.how-card .how-btn{
  display: block;
  width: fit-content;
  margin: 26px auto 0;
}
/* =========================
   LOGO SETUP – FIX DEFINITIVO
========================= */
.logo-img{
  width:110px;
  height:auto;
  display:block;
  margin:0 auto 16px;
}
/* BLINDAJE DEFINITIVO DEL LOGO */
img.logo-img{
  width:110px !important;
  height:auto !important;
  max-width:110px !important;
  display:block !important;
  margin:0 auto 16px !important;
  object-fit:contain !important;
}
input::placeholder,
textarea::placeholder {
  color: rgba(0,0,0,.35);
  font-weight: 400;
}

input[required]::placeholder {
  color: rgba(0,0,0,.45);
}
.wa-toggle{
  letter-spacing: 0.08em;
}

/* =========================
   INPUT FILE iOS FIX
========================= */

input[type="file"]{
  font-size:16px; /* evita zoom iOS */
}

.upload-box,
.photo-picker-wide{
  min-height:160px;
}

@media (max-width:480px){
  .upload-box,
  .photo-picker-wide{
    min-height:200px;
  }
}

/* =========================
   CONTENIDO INTERNO FICHA
========================= */

.pet-view .content{
  max-width:480px;
  margin:0 auto;
}

.pet-view .content{
  max-width:480px;
  margin:24px auto;
  padding:24px 20px;
  background:#fff;
  border-radius:24px;
  box-shadow:0 14px 40px rgba(12,35,27,.15);
}
.pet-logo-top{
  max-width:480px;
  margin:18px auto 6px;
  text-align:center;
}

.pet-logo-top img{
  width:90px;
  height:auto;
  opacity:.95;
}
/* =========================
   PET VIEW – FIX DEFINITIVO
========================= */
.pet-view{
  background:#fff;
  width:100%;
  max-width:480px;
  margin:24px auto;
  padding:24px 20px;
  border-radius:24px;
  box-shadow:0 14px 40px rgba(12,35,27,.15);
  box-sizing:border-box;
  overflow:hidden; /* CLAVE: evita scroll lateral */
}


/* ===============================
   DESPLEGABLE DATOS MASCOTA
================================ */

.pet-info {
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.25s ease;
}

.pet-info.hidden {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}

.pet-info:not(.hidden) {
  max-height: 2000px; /* suficiente para grid + docs */
  opacity: 1;
}

/* ===============================
   MENSAJE PÚBLICO
================================ */

.pet-message {
  position: relative;
  z-index: 4;
  margin-top: -30px;     /* ajusta aquí si quieres más o menos */
  margin-bottom: 16px;
  padding: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.pet-message h2 {
  margin-bottom: 4px;
}

.pet-message p {
  margin-top: 4px;
}

/* ===============================
   HERO ESTILO ESCUDO (FINAL)
================================ */

.hero {
  position: relative;
  height: 300px;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;   /* CLAVE */
}


/* ESCUDO / LOGO GIGANTE DE FONDO */
.hero::before {
  content: "";
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 450px;
  height: 450px;
  background: url("img/logo_safepets.png") no-repeat center; 
  background-size: contain;
  opacity: 0.1;
  z-index: 1;
  pointer-events: none;
}


/* ===============================
   FOTO MASCOTA 100% REDONDA
================================ */
.hero {
  position: relative;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pet-photo-wrap {
  width: 200px;              /* tamaño final */
  height: 200px;
  border-radius: 50%;        /* círculo perfecto */
  overflow: hidden;          /* RECORTE REAL */
  background: #fff;
  border: 6px solid #19e3c2;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 3;
}

/* ===============================
   FOTO MASCOTA – CÍRCULO REAL
================================ */

.pet-photo-wrap {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  border: 6px solid #19e3c2;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 3;
}

.pet-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: none;
  box-shadow: none;
  border-radius: 0;
}
/* ===============================
   CONTENIDO BAJA PARA NO PISAR
================================ */
.content {
  position: relative;
  z-index: 5;
  margin-top: 20px;   /* simple y seguro */
}
/* OCULTAR LOGO SUPERIOR ANTIGUO */
img.pet-logo-top {
  display: none !important;
}
/* ===============================
   LIMITAR ANCHO DE BOTONES
================================ */

.pet-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pet-actions .btn {
  width: 100%;
  max-width: 420px;      /* 🔑 ESTO es lo importante */
  margin: 0 auto;        /* centra el botón */
}
/* ===============================
   DOCUMENTOS – ANCHO CONTROLADO
================================ */

.docs-list {
  max-width: 420px;      /* mismo ancho que botones */
  margin-left: auto;
  margin-right: auto;
}

.doc-item {
  border-radius: 14px;
}
/* ===============================
   LINKS DE GESTIÓN – ANCHO CONTROLADO
================================ */

.manage-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.manage-box .manage-link,
.manage-box .btn {
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
/* ===============================
   ZONA GESTIÓN (EDITAR / ACTIVAR)
================================ */

.manage-box {
  max-width: 420px;
  margin: 28px auto 0;
  padding: 18px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(0,0,0,.1);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.manage-box .manage-link {
  text-align: center;
  font-weight: 600;
}
/* =========================
   BOTONES DE GESTIÓN
========================= */

.manage-link{
  display: block;
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  text-align: center;
  font-weight: 700;
  text-decoration: none;
  transition: all .2s ease;
}

/* Editar datos */
.manage-link.edit{
  background: #ecfdf5;
  color: #047857;
  border: 2px solid #10b981;
}

.manage-link.edit:hover{
  background: #d1fae5;
}

/* Reactivar chapita */
.manage-link.reactivate{
  background: #eff6ff;
  color: #1d4ed8;
  border: 2px solid #3b82f6;
}

.manage-link.reactivate:hover{
  background: #dbeafe;
}
/* ===============================
   CONTENEDOR CENTRAL APP
================================ */
.pet-container{
  max-width: 420px;
  margin: 0 auto;
}

/* ===============================
   BOTONES NO A PANTALLA COMPLETA
================================ */
.pet-actions,
.manage-box{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* 🔥 CLAVE: limitar ancho real */
.pet-actions .btn,
.manage-box .manage-link{
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}
/* ===============================
   PREVIEW SIN ESPACIO (FLOAT REAL)
================================ */
.hero{
  position: relative;
}

/* Aviso VISTA PREVIA – esquina superior izquierda */

.preview-floating{
  position: absolute;
  top: 10px;
  left: 12px;
  z-index: 6;

  padding: 4px 8px;
  border-radius: 10px;

  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;

  color: #92400e;
  background: rgba(250, 204, 21, 0.18);
  border: 1px solid rgba(250, 204, 21, 0.35);

  box-shadow: 0 2px 6px rgba(0,0,0,.06);
  pointer-events: none;
}


/* texto mínimo */
.preview-floating .preview-text strong{
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .35px;
}

/* ocultamos texto largo */
.preview-floating .preview-text span{
  display:none;
}

.preview-floating .preview-icon{
  font-size: .85rem;
  opacity: .85;
}
.owner-login{
  position:absolute;
  top:14px;
  right:14px;
  width:40px;
  height:40px;
  background:rgba(255,255,255,.85);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 6px 18px rgba(0,0,0,.15);
  z-index:50;
}

.owner-login img{
  width:22px;
  height:22px;
  opacity:.8;
}

.owner-login:hover img{
  opacity:1;
}
.card{
  position: relative;
}
.dev-code{
  margin:14px auto 10px;
  padding:10px 14px;
  border-radius:12px;
  background:#fff7d6;
  border:1.5px dashed #facc15;
  text-align:center;
  font-size:14px;
  color:#92400e;
}

.dev-code strong{
  display:block;
  font-size:26px;
  letter-spacing:6px;
  margin-top:6px;
}
/* ===============================
   BOTÓN "VER DATOS MASCOTA"
   SafePets – Gradiente oficial
================================ */

#togglePetInfo{
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 18px auto 16px;
  padding: 15px 18px;

  background: linear-gradient(
    135deg,
    #00c9b7,
    #00a8a3,
    #008f8b
  );

  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;

  border: none;
  border-radius: 18px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  cursor: pointer;

  box-shadow:
    0 10px 26px rgba(0, 168, 163, 0.35),
    inset 0 1px 0 rgba(255,255,255,0.25);

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    filter .2s ease;
}

/* Hover */
#togglePetInfo:hover{
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow:
    0 14px 32px rgba(0, 168, 163, 0.45),
    inset 0 1px 0 rgba(255,255,255,0.3);
}

/* Active */
#togglePetInfo:active{
  transform: scale(0.97);
}

/* Estado abierto */
#togglePetInfo.is-open{
  background: linear-gradient(
    135deg,
    #0f766e,
    #0d9488
  );
}
/* =========================
   BOTÓN CERRAR DESPLEGABLE
========================= */

.btn-close-bottom{
  position: sticky;
  bottom: 14px;

  width: 100%;
  max-width: 420px;
  margin: 24px auto 0;
  padding: 14px 16px;

  background: linear-gradient(
    135deg,
    #e6fffb,
    #ccfbf1
  );

  color: #065f5b;
  font-weight: 800;
  font-size: .95rem;

  border: 2px solid #99f6e4;
  border-radius: 18px;

  cursor: pointer;

  box-shadow: 0 8px 22px rgba(6, 95, 91, 0.18);

  transition:
    transform .15s ease,
    box-shadow .2s ease,
    background .2s ease;

  z-index: 5;
}

/* Hover */
.btn-close-bottom:hover{
  background: linear-gradient(
    135deg,
    #ccfbf1,
    #99f6e4
  );
  transform: translateY(-1px);
}

/* Active */
.btn-close-bottom:active{
  transform: scale(0.97);
}

/* =========================
   CONTENEDOR INFO MASCOTA
   (NECESARIO PARA STICKY)
========================= */
.pet-info{
  overflow-y: auto;
  overflow-x: hidden;
}
/* =========================
   DESPLEGABLE INFO MASCOTA
   (animación suave)
========================= */
.pet-info{
  overflow: hidden;
  transition: max-height .35s ease, opacity .25s ease;
  max-height: 0;
  opacity: 0;
}

.pet-info:not(.hidden){
  max-height: 2000px; /* suficiente para todo el contenido */
  opacity: 1;
}
/* =========================
   BOTONES SEXO – ESTADO ACTIVO
========================= */

.sexo-btn{
  transition: background .3s ease,
              color .3s ease,
              box-shadow .3s ease,
              border-color .3s ease;
}

/* Base cuando está activo */
.sexo-btn.active{
  color: #ffffff;
  border-color: transparent;
}

/* Macho seleccionado → AZUL */
.sexo-btn.active:has(input[value="Macho"]){
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  box-shadow: 0 8px 20px rgba(37, 99, 235, .35);
}

/* Hembra seleccionada → ROSA */
.sexo-btn.active:has(input[value="Hembra"]){
  background: linear-gradient(135deg, #f9a8d4, #ec4899);
  box-shadow: 0 8px 20px rgba(236, 72, 153, .35);
}
/* =========================
   MENSAJES DE ERROR (LOGIN / PIN)
========================= */
.error{
  margin-top: 14px;
  margin-bottom: 14px;
  padding: 14px 16px;

  background: #fee2e2;   /* rojo suave */
  color: #991b1b;        /* rojo oscuro */

  border-radius: 16px;
  font-weight: 700;
  text-align: center;
}
/* =========================
   BOTÓN VOLVER A MIS MASCOTAS
========================= */
.back-box{
  max-width: 420px;
  margin: 12px auto 0;
  padding: 0 12px;
}

.btn-back{
  display: inline-block;
  padding: 10px 14px;
  border-radius: 14px;

  background: #eef2ff;
  color: #1e3a8a;

  font-weight: 700;
  text-decoration: none;

  transition: background .2s ease, transform .15s ease;
}

.btn-back:hover{
  background: #e0e7ff;
  transform: translateX(-2px);
}

/* ══════════════════════════════════════════════════════════════
   SAFEPETS.CSS - VERSIÓN LIMPIA Y FINAL
   ══════════════════════════════════════════════════════════════ */

/* ══════════════════════════
   VARIABLES GLOBALES
══════════════════════════ */
:root {
    --sp-primary:   #00ffde;
    --sp-secondary: #00a8a3;
    --sp-soft:      #a9ffe6;
    --sp-active:    #00959e;
    --sp-hover:     #009199;
    --sp-danger:    #ff3b3b;
    --bg:     #f0fffe;
    --card:   #ffffff;
    --text:   #0f2a29;
    --muted:  #6b9997;
    --border: #d4f5f0;
    --radius: 20px;
    --shadow: 0 4px 20px rgba(0,168,163,.10);
    --shadow-lg: 0 12px 36px rgba(0,168,163,.16);
}

/* ══════════════════════════
   RESET Y BASE
══════════════════════════ */
* { box-sizing:border-box; margin:0; padding:0; }
html, body { width:100%; overflow-x:hidden; }
body { 
    font-family:'Nunito',sans-serif; 
    background:var(--bg); 
    color:var(--text); 
    min-height:100vh; 
}

/* ══════════════════════════
   🚨 MASCOTA PERDIDA (PET.PHP)
══════════════════════════ */
.pet-view.pet-lost {
    position:relative;
    width:100%;
    max-width:480px;
    margin:24px auto;
    background: linear-gradient(180deg, #fff5f5, #ffffff);
    border:3px solid #dc2626;
    border-radius:24px;
    box-shadow:0 18px 45px rgba(220,38,38,.25);
}

.pet-view.pet-lost::before {
    content:"🚨 MASCOTA PERDIDA";
    position:absolute;
    top:14px;
    left:50%;
    transform:translateX(-50%);
    z-index:30;
    background:#dc2626;
    color:#ffffff;
    font-weight:900;
    font-size:12px;
    letter-spacing:.6px;
    text-transform:uppercase;
    padding:8px 16px;
    border-radius:999px;
    box-shadow:0 6px 18px rgba(220,38,38,.45);
    animation: lostBadgePulse 1.8s infinite;
}

@keyframes lostBadgePulse {
    0%   { transform:translateX(-50%) scale(1); opacity:1; }
    50%  { transform:translateX(-50%) scale(1.06); opacity:.85; }
    100% { transform:translateX(-50%) scale(1); opacity:1; }
}

.pet-view.pet-lost .pet-message {
    text-align:center;
    margin:0 auto 16px;
}

.pet-view.pet-lost .pet-message h2,
.pet-view.pet-lost .pet-message p {
    text-align:center;
}

.pet-view.pet-lost .pet-photo-wrap::after {
    content:"";
    position:absolute;
    top:50%;
    left:50%;
    width:100%;
    height:100%;
    transform:translate(-50%,-50%);
    border-radius:50%;
    border:3px solid rgba(220,38,38,.6);
    animation: lostPhotoPulse 2.6s infinite;
    pointer-events:none;
}

@keyframes lostPhotoPulse {
    0%   { transform:translate(-50%,-50%) scale(1); opacity:.6; }
    70%  { transform:translate(-50%,-50%) scale(1.35); opacity:0; }
    100% { transform:translate(-50%,-50%) scale(1.35); opacity:0; }
}

.pet-view.pet-lost .lost-banner {
    background:#dc2626;
    color:#ffffff;
    padding:14px;
    border-radius:14px;
    font-weight:900;
    text-align:center;
    margin:14px;
}

/* ══════════════════════════
   SETUP PET - TINTE POR SEXO
══════════════════════════ */
#petCard.sexo-macho {
    background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 70%);
    border: 1px solid #dbeafe;
}

#petCard.sexo-hembra {
    background: linear-gradient(180deg, #fff1f5 0%, #ffffff 70%);
    border: 1px solid #fbcfe8;
}

.pet-hero-card {
    max-width:420px;
    margin:24px auto;
    background:#fff;
    border-radius:22px;
    padding:22px;
    box-shadow:0 20px 40px rgba(0,0,0,.12);
}

.pet-hero-photo img {
    width:100%;
    height:260px;
    object-fit:cover;
    border-radius:18px;
}

.pet-hero-info {
    text-align:center;
    margin-top:16px;
}

.pet-hero-info h2 {
    margin:0;
    font-size:1.6rem;
}

.pet-actions-pro {
    display:flex;
    flex-direction:column;
    gap:12px;
    margin-top:20px;
}

@media (max-width: 600px) {
    .btn-preview-fixed {
        max-width: 100%;
        padding: 16px;
        font-size: 15px;
    }
    body {
        padding-bottom: 65px;
    }
}

/* ══════════════════════════
   PANEL FLOTANTE (GENERAL)
══════════════════════════ */
.pet-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

.pet-panel {
    background: white;
    width: 90%;
    max-width: 420px;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
}

.close-btn {
    position: absolute;
    top: 12px;
    right: 14px;
    border: none;
    background: #ef4444;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-weight: bold;
    cursor: pointer;
}

/* ══════════════════════════
   UTILIDADES GENERALES
══════════════════════════ */
.inactive-badge {
    display:inline-block;
    margin-top:6px;
    padding:6px 10px;
    border-radius:999px;
    font-weight:800;
    font-size:.82rem;
    background:#f1f1f1;
    color:#555;
}

.page-wrap { 
    max-width: 980px; 
    margin: 0 auto; 
    padding: 18px 14px 40px; 
}

.topbar { 
    display:flex; 
    align-items:center; 
    justify-content:space-between; 
    gap:12px; 
    margin-bottom:14px; 
}

.brand { 
    display:flex; 
    align-items:center; 
    gap:10px; 
}

.brand img { height:34px; }

.owner-title { margin:0; font-size: 1.25rem; }

.subtle { color:#6b7280; font-size:.95rem; margin-top:4px; }

/* ══════════════════════════
   COMPONENTES REUTILIZABLES
══════════════════════════ */
.pet-head { 
    display:flex; 
    align-items:center; 
    gap:12px; 
}

.pet-thumb { 
    width:64px; 
    height:64px; 
    border-radius:14px; 
    object-fit:cover; 
    background:#f3f4f6; 
}

.pet-meta strong { 
    font-size:1.05rem; 
    display:block; 
}

.pet-meta small { 
    color:#6b7280; 
}

.btn-group { 
    display:grid; 
    grid-template-columns: 1fr 1fr; 
    gap:10px; 
    margin-top:12px; 
}

.btn-group form { margin:0; }

.btn-group .btn { width:100%; }

@media (min-width: 680px) {
    .btn-group { 
        grid-template-columns: repeat(3, 1fr); 
    }
}

.lost-badge {
    display:inline-block;
    margin-top:6px;
    padding:6px 10px;
    border-radius:999px;
    font-weight:800;
    font-size:.82rem;
    background:#fee2e2;
    color:#991b1b;
}

/* ══════════════════════════════════════════════════════════════
   MIS_MASCOTAS.PHP - DISEÑO NUEVO
   ══════════════════════════════════════════════════════════════ */

/* ══════════════════════════
   HEADER DUEÑO
══════════════════════════ */
.owner-header {
    background: linear-gradient(135deg, var(--sp-secondary) 0%, var(--sp-active) 100%);
    padding: 28px 20px 32px;
    position: relative;
    overflow: hidden;
}

.owner-header::before {
    content:''; 
    position:absolute; 
    top:-50px; 
    right:-50px;
    width:200px; 
    height:200px;
    background:rgba(0,255,222,.10); 
    border-radius:50%; 
    pointer-events:none;
}

.owner-header::after {
    content:''; 
    position:absolute; 
    bottom:-30px; 
    left:10px;
    width:130px; 
    height:130px;
    background:rgba(0,255,222,.07); 
    border-radius:50%; 
    pointer-events:none;
}

.owner-row {
    display:flex; 
    align-items:center; 
    justify-content:space-between;
    position:relative; 
    z-index:1;
}

.owner-left { 
    display:flex; 
    align-items:center; 
    gap:14px; 
}

.owner-avatar {
    width:54px; 
    height:54px;
    background:rgba(0,255,222,.20);
    border:2.5px solid rgba(0,255,222,.45);
    border-radius:50%;
    display:flex; 
    align-items:center; 
    justify-content:center;
    font-size:1.6rem; 
    font-weight:900; 
    color:white; 
    flex-shrink:0;
}

.owner-greeting { 
    font-size:.78rem; 
    color:rgba(255,255,255,.72); 
    font-weight:600; 
    margin-bottom:2px; 
}

.owner-name { 
    font-size:1.25rem; 
    font-weight:900; 
    color:white; 
}

.btn-pin {
    background:rgba(0,255,222,.16); 
    border:1.5px solid rgba(0,255,222,.38);
    color:white; 
    padding:9px 16px; 
    border-radius:50px;
    font-size:.82rem; 
    font-weight:700; 
    text-decoration:none;
    font-family:'Nunito',sans-serif; 
    white-space:nowrap; 
    transition:background .2s; 
    cursor:pointer;
}

.btn-pin:hover { 
    background:rgba(0,255,222,.28); 
}

.plan-row { 
    margin-top:16px; 
    position:relative; 
    z-index:1; 
}

.plan-badge {
    display:inline-flex; 
    align-items:center; 
    gap:8px;
    background:rgba(0,255,222,.14); 
    border:1px solid rgba(0,255,222,.28);
    border-radius:50px; 
    padding:7px 16px; 
    color:white; 
    font-size:.85rem; 
    font-weight:700;
}

.plan-dot {
    width:8px; 
    height:8px; 
    background:var(--sp-primary); 
    border-radius:50%;
    box-shadow:0 0 7px var(--sp-primary); 
    flex-shrink:0;
}

/* ══════════════════════════
   BOTÓN AÑADIR MASCOTA
══════════════════════════ */
.add-section { 
    padding:20px 16px 12px; 
}

.btn-add {
    display:flex; 
    align-items:center; 
    justify-content:center; 
    gap:12px;
    width:100%; 
    padding:18px 20px; 
    background:linear-gradient(135deg, #ffd93d, #ffb800);
    border:none;
    border-radius:var(--radius);
    color:#6b4700; 
    font-size:1.08rem; 
    font-weight:900;
    text-decoration:none; 
    cursor:pointer; 
    font-family:'Nunito',sans-serif;
    transition:all .25s;
    box-shadow:0 4px 16px rgba(255,185,0,.30);
}

.btn-add:hover { 
    background:linear-gradient(135deg, #ffe566, #ffc933);
    box-shadow:0 6px 24px rgba(255,185,0,.45);
    transform:translateY(-3px);
}

.btn-add.locked { 
    background:linear-gradient(135deg, #ffd93d, #ffb800);
    color:#6b4700; 
    border:2px dashed #cc9200;
    box-shadow:0 2px 8px rgba(255,185,0,.20);
    opacity:0.7;
}

.btn-add.locked:hover {
    background:linear-gradient(135deg, #ffd93d, #ffb800);
    color:#6b4700;
    transform:none;
    opacity:0.85;
}

/* ══════════════════════════
   TOAST PREMIUM
══════════════════════════ */
.premium-toast {
    display:none; 
    margin:0 16px 10px;
    background:linear-gradient(135deg, var(--sp-secondary), var(--sp-hover));
    border-radius:16px; 
    padding:16px 20px; 
    color:white;
    font-weight:700; 
    font-size:.92rem; 
    text-align:center;
    box-shadow:0 8px 24px rgba(0,168,163,.28); 
    animation:slideIn .28s ease;
}

.premium-toast.show { 
    display:block; 
}

.premium-toast a {
    display:inline-block; 
    margin-top:10px; 
    background:white;
    color:var(--sp-secondary); 
    padding:8px 22px; 
    border-radius:50px;
    font-weight:800; 
    text-decoration:none; 
    font-size:.88rem;
}

@keyframes slideIn { 
    from { opacity:0; transform:translateY(-8px); } 
    to { opacity:1; transform:translateY(0); } 
}

/* ══════════════════════════
   LISTA DE MASCOTAS
══════════════════════════ */
.pets-section { 
    padding:8px 16px 40px; 
}

.pets-list { 
    display:flex; 
    flex-direction:column; 
    gap:18px; 
}

/* ══════════════════════════
   TARJETA MASCOTA
══════════════════════════ */
.pet-card {
    background:var(--card); 
    border-radius:var(--radius);
    box-shadow:var(--shadow); 
    overflow:hidden;
    border:2px solid var(--border);
    transition:transform .2s, box-shadow .2s;
    position:relative; 
    z-index:1;
}

.pet-card:hover { 
    transform:translateY(-2px); 
    box-shadow:var(--shadow-lg); 
}

.pet-card.lost {
    border-color:var(--sp-danger);
    background:linear-gradient(180deg,#fff5f5,#ffffff);
    box-shadow:0 4px 24px rgba(255,59,59,.14);
}

/* Banner perdida */
.lost-banner {
    background:linear-gradient(90deg, var(--sp-danger) 0%, #ff6b6b 100%);
    color:white; 
    padding:12px 20px;
    display:flex; 
    align-items:center; 
    gap:10px;
    font-weight:800; 
    font-size:.9rem;
}

.lost-banner-icon { 
    font-size:1.2rem; 
    animation:blink 1.1s infinite; 
}

@keyframes blink { 
    0%,100% { opacity:1; } 
    50% { opacity:.45; } 
}

/* Foto + info */
.pet-top { 
    display:flex; 
    flex-direction:column;
    align-items:center; 
    gap:16px; 
    padding:24px 20px 20px;
    text-align:center;
}

.pet-photo-wrap { 
    position:relative; 
    flex-shrink:0;
    width:140px;
    height:140px;
    border-radius:50%;
    overflow:hidden;
    border:4px solid var(--border);
}

.pet-photo {
    width:100%; 
    height:100%; 
    object-fit:cover;
    object-position:center center;
    display:block;
}

.pet-card.lost .pet-photo-wrap { 
    border-color:var(--sp-danger); 
}

.pet-card.lost .pet-photo-wrap::after {
    content:""; 
    position:absolute; 
    top:-4px;
    left:-4px;
    right:-4px;
    bottom:-4px;
    border-radius:50%; 
    border:4px solid rgba(255,59,59,.55);
    animation:photoPulse 2.2s infinite; 
    pointer-events:none;
}

@keyframes photoPulse {
    0%   { transform:translate(-50%,-50%) scale(1); opacity:.55; }
    70%  { transform:translate(-50%,-50%) scale(1.28); opacity:0; }
    100% { transform:translate(-50%,-50%) scale(1.28); opacity:0; }
}

.lost-pip {
    position:absolute; 
    top:-7px; 
    right:-7px;
    background:var(--sp-danger); 
    color:white;
    font-size:.6rem; 
    font-weight:900; 
    padding:3px 8px;
    border-radius:50px; 
    box-shadow:0 2px 8px rgba(255,59,59,.45);
    animation:scalePulse 1.4s infinite; 
    white-space:nowrap; 
    letter-spacing:.4px;
}

@keyframes scalePulse { 
    0%,100% { transform:scale(1); } 
    50% { transform:scale(1.08); } 
}

.pet-meta { 
    flex:1; 
    min-width:0;
    display:flex;
    flex-direction:column;
    align-items:center;
}

.pet-name {
    font-size:1.6rem; 
    font-weight:900;
    color:var(--text);
    text-align:center;
}

.pet-breed { 
    font-size:.88rem; 
    color:var(--muted); 
    font-weight:600; 
    margin-top:4px; 
}

.status-pill {
    display:inline-flex; 
    align-items:center; 
    gap:5px;
    margin-top:9px; 
    padding:5px 13px; 
    border-radius:50px;
    font-size:.78rem; 
    font-weight:800;
}

.status-pill.active { 
    background:rgba(0,168,163,.10); 
    color:var(--sp-secondary); 
}

.status-pill.lost { 
    background:#fee2e2; 
    color:#b91c1c; 
    animation:scalePulse 1.4s infinite; 
}

.divider { 
    height:1px; 
    background:var(--border); 
    margin:0 20px; 
}

/* ══════════════════════════
   ACCIONES
══════════════════════════ */
.pet-actions {
    padding:16px 20px 20px;
    display:grid; 
    grid-template-columns:1fr 1fr; 
    gap:10px;
    position:relative; 
    z-index:100;
}

.pet-actions form { 
    display:contents; 
}

.act {
    display:flex; 
    align-items:center; 
    justify-content:center; 
    gap:6px;
    padding:14px 10px; 
    border-radius:14px; 
    font-size:.88rem; 
    font-weight:700;
    text-decoration:none; 
    border:none; 
    cursor:pointer;
    transition:filter .18s, transform .18s;
    font-family:'Nunito',sans-serif; 
    width:100%;
}

.act:hover { 
    filter:brightness(.93); 
    transform:translateY(-1px); 
}

.act:active { 
    transform:scale(.97); 
}

.act.full { 
    grid-column:1/-1; 
    padding:15px; 
    font-size:.95rem; 
}

.act-ver { 
    background:rgba(0,168,163,.10); 
    color:var(--sp-secondary); 
}

.act-edit { 
    background:rgba(0,168,163,.07); 
    color:var(--sp-active); 
}

.act-docs { 
    background:rgba(0,255,222,.12); 
    color:var(--sp-active); 
}

.act-share { 
    background:rgba(0,149,158,.08); 
    color:var(--sp-hover); 
}

.act-lost { 
    background:#fee2e2; 
    color:#b91c1c; 
    font-weight:800; 
}

.act-found { 
    background:rgba(0,168,163,.12); 
    color:var(--sp-secondary); 
    font-weight:800; 
}

.act-delete { 
    background:#f5f5f5; 
    color:#777; 
}

/* ══════════════════════════
   AVISOS
══════════════════════════ */
.msg-ok {
    margin:16px; 
    background:rgba(0,255,222,.10);
    border:2px solid var(--sp-primary); 
    border-radius:14px;
    padding:13px 18px; 
    font-weight:700; 
    color:var(--sp-active);
}

.pin-warn {
    margin:16px; 
    background:#fff8e6;
    border:2px solid #ff9500; 
    border-radius:14px; 
    padding:14px 18px;
}

.pin-warn h3 { 
    margin-bottom:8px; 
    font-size:1rem; 
}

.pin-warn p { 
    font-size:.9rem; 
    margin-bottom:12px; 
}

/* ══════════════════════════
   ESTADO VACÍO
══════════════════════════ */
.empty { 
    text-align:center; 
    padding:44px 20px; 
}

.empty img { 
    width:80px; 
    margin-bottom:16px; 
    opacity:.55; 
}

.empty h3 { 
    font-size:1.2rem; 
    font-weight:800; 
    margin-bottom:8px; 
}

.empty p { 
    color:var(--muted); 
    font-size:.95rem; 
    margin-bottom:20px; 
}
/* ══════════════════════════════════════════════════════════════
   BOTÓN FLOTANTE CERRAR DATOS MASCOTA (PET.PHP)
   ══════════════════════════════════════════════════════════════ */
.btn-close-bottom {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    
    background: linear-gradient(135deg, var(--sp-secondary), var(--sp-primary));
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    border: none;
    
    font-size: 1rem;
    font-weight: 800;
    font-family: 'Nunito', sans-serif;
    
    box-shadow: 0 8px 24px rgba(0, 168, 163, 0.4);
    cursor: pointer;
    
    transition: all 0.3s ease;
}

.btn-close-bottom:hover {
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 168, 163, 0.5);
    background: linear-gradient(135deg, var(--sp-active), var(--sp-secondary));
}

.btn-close-bottom:active {
    transform: translateX(-50%) translateY(-1px);
}

.btn-close-bottom.hidden {
    display: none;
}

@media (max-width: 400px) {
    .btn-close-bottom {
        bottom: 15px;
        padding: 14px 24px;
        font-size: 0.9rem;
    }
}
/* Añadir al final de safepets.css */

/* BOTÓN SOS */
.act-sos {
    background: linear-gradient(135deg, #ff4444, #ff6b6b) !important;
    color: white !important;
    border: 2px solid #ff4444 !important;
    font-weight: 800 !important;
    animation: pulse-sos 2s infinite;
}

.act-sos:hover {
    background: linear-gradient(135deg, #ff6b6b, #ff8888) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 68, 68, 0.4);
}

.act-sos.found {
    background: linear-gradient(135deg, #10b981, #34d399) !important;
    border-color: #10b981 !important;
    animation: none;
}

@keyframes pulse-sos {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(255, 68, 68, 0); }
}
/* ================= SETUP CARD ================= */

.card{
  max-width:420px;
  margin:20px auto;
  background:#fff;
  padding:24px;
  border-radius:20px;
}

label{
  display:block;
  margin-top:14px;
  font-weight:600;
}

input,select,textarea{
  width:100%;
  min-height:46px;
  padding:10px;
  border-radius:12px;
  border:1px solid #ccc;
  margin-top:6px;
}

.birth-group{
  display:flex;
  gap:8px;
}
/* ================= SEXO ================= */

.sexo-group{
  display:flex;
  gap:12px;
  margin-top:6px;
}

.sexo-btn{
  flex:1;
  padding:12px;
  border-radius:999px;
  text-align:center;
  border:2px solid #cbd5d1;
  cursor:pointer;
  font-weight:700;
  user-select:none;
  transition:.3s ease;
}

.sexo-btn input{
  display:none;
}

.sexo-btn.active{
  color:#fff;
  border-color:transparent;
}

.sexo-btn.active[data-sexo="macho"]{
  background:linear-gradient(135deg,#60a5fa,#2563eb);
  box-shadow:0 8px 20px rgba(37,99,235,.35);
}

.sexo-btn.active[data-sexo="hembra"]{
  background:linear-gradient(135deg,#f9a8d4,#ec4899);
  box-shadow:0 8px 20px rgba(236,72,153,.35);
}

#petCard.sexo-macho{
  background:linear-gradient(180deg,rgba(96,165,250,.12),#fff);
}

#petCard.sexo-hembra{
  background:linear-gradient(180deg,rgba(249,168,212,.14),#fff);
}
/* ================= FOTO ================= */

.photo-picker-wide{
  width:100%;
  height:160px;
  border-radius:16px;
  border:2px dashed #cbd5d1;
  background:#f8fffc;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  margin-top:8px;
  overflow:hidden;
}

.photo-full{
  width:100%;
  height:100%;
  object-fit:cover;
}

.photo-placeholder{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  color:#5f7a70;
  font-weight:700;
  text-align:center;
}

.photo-placeholder img{
  height:52px;
  opacity:.85;
}
/* ================= WHATSAPP UBICACIÓN ================= */

.wa-toggle{
  margin-top:10px;
  padding:16px;
  border-radius:18px;
  text-align:center;
  font-weight:900;
  cursor:pointer;
  background:#eafaf1;
  color:#075e54;
  white-space:pre-line;
  transition:.25s ease;
}

.wa-toggle.on{
  background:#25D366;
  color:#fff;
  box-shadow:0 8px 20px rgba(37,211,102,.45);
}

.wa-toggle.on:hover{
  background:#1ebe5d;
}
/* ================= BOTÓN PRINCIPAL ================= */

form > button[type="submit"]{
  margin-top:22px;
  width:100%;
  padding:18px;
  border:none;
  border-radius:22px;
  background:#00a8a3;
  color:#fff;
  font-weight:900;
  font-size:1.05rem;
  cursor:pointer;
  transition:.2s;
}

form > button[type="submit"]:hover{
  background:#00ffde;
}
/* ===================================================== */
/* ================= CONSENTIMIENTO ==================== */
/* ===================================================== */

.consent-wrap{
  margin-top:20px;
}

/* ---------- BOTÓN PRINCIPAL ---------- */

.sp-consent-btn{
  width:100%;
  padding:18px;
  border:none;
  border-radius:22px;
  font-weight:900;
  font-size:1.05rem;
  cursor:pointer;
  text-align:center;
  transition:all .3s ease;
}

/* ----- ESTADO OFF (animado) ----- */

.sp-consent-btn.off{
  position:relative;
  overflow:hidden;
  background:linear-gradient(135deg,#10b981,#34d399);
  color:#ffffff;
  box-shadow:0 8px 20px rgba(16,185,129,.35);
  animation:subtlePulse 3s ease-in-out infinite;
}

/* Hover elegante */
.sp-consent-btn.off:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 28px rgba(16,185,129,.45);
}

/* Brillo animado */
.sp-consent-btn.off::after{
  content:"";
  position:absolute;
  top:0;
  left:-75%;
  width:50%;
  height:100%;
  background:linear-gradient(
    120deg,
    rgba(255,255,255,0.1),
    rgba(255,255,255,0.5),
    rgba(255,255,255,0.1)
  );
  transform:skewX(-20deg);
  animation:shineMove 4s infinite;
}

/* ----- ESTADO ON ----- */

.sp-consent-btn.on{
  background:linear-gradient(135deg,#ff8c42,#ff6a00);
  color:#fff;
  box-shadow:0 10px 25px rgba(255,106,0,.25);
}

/* ---------- ICONO INFO ---------- */

.consent-info-row{
  display:flex;
  justify-content:center;
  margin-top:10px;
}

#infoBtn{
  width:30px;
  height:30px;
  border-radius:50%;
  border:1px solid #d1d5db;
  background:#ffffff;
  color:#0f766e;
  font-weight:900;
  font-size:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:.2s ease;
}

#infoBtn:hover{
  background:#f0fdfa;
  transform:scale(1.05);
}

/* ---------- CAJA INFO ---------- */

#infoText{
  display:none;
  margin-top:12px;
  padding:12px;
  border-radius:12px;
  background:#fff7ed;
  border:1px solid #fed7aa;
  font-size:.88rem;
  color:#9a3412;
  line-height:1.4;
}

#infoText.open{
  display:block;
}

/* ---------- ERROR ---------- */

.sp-consent-error{
  margin-top:10px;
  text-align:center;
  color:#dc2626;
  font-size:.85rem;
  font-weight:700;
}

/* ===================================================== */
/* ================= ANIMACIONES ======================= */
/* ===================================================== */

@keyframes subtlePulse{
  0%   { transform:scale(1); }
  50%  { transform:scale(1.02); }
  100% { transform:scale(1); }
}

@keyframes shineMove{
  0%   { left:-75%; }
  100% { left:125%; }
}
/* ===== CONTACT BUTTONS ===== */

.contact-buttons {
    display:flex;
    flex-direction:column;
    gap:12px;
    margin:20px 16px;
}

.btn-call,
.btn-whatsapp {
    display:block;
    width:100%;
    text-align:center;
    padding:16px 20px;
    border-radius:999px;
    font-weight:800;
    font-size:1rem;
    border:none;
    cursor:pointer;
    transition:.2s;
}

.btn-call {
    background:#00a8a3;
    color:white;
    text-decoration:none;
    box-shadow:0 4px 12px rgba(0,168,163,.3);
}

.btn-whatsapp {
    background:#25D366;
    color:white;
    box-shadow:0 4px 12px rgba(37,211,102,.3);
}

.disabled {
    background:#9ca3af !important;
    cursor:not-allowed;
    opacity:0.9;
}

/* ===== POPUP ===== */

.popup-overlay {
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.6);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:9999;
}

.popup-box {
    background:white;
    padding:24px;
    border-radius:14px;
    max-width:320px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.2);
}

.popup-box h3 {
    margin-bottom:12px;
}

.popup-box button {
    margin-top:16px;
    background:#00a8a3;
    color:white;
    border:none;
    padding:10px 20px;
    border-radius:8px;
    font-weight:700;
    cursor:pointer;
}
/* ===== BOTÓN VETERINARIO ===== */

.btn-vet {
    display:block;
    width:100%;
    text-align:center;
    background:#8b5cf6;
    color:white;
    padding:16px 20px;
    border-radius:999px;
    font-weight:800;
    font-size:1rem;
    text-decoration:none;
    box-shadow:0 4px 12px rgba(139,92,246,.3);
    margin:12px 16px;
}
/* ===== CONTACT BUTTONS ===== */

.contact-buttons {
    display:flex;
    flex-direction:column;
    gap:12px;
    margin:20px 16px;
}

.btn-call,
.btn-whatsapp {
    display:block;
    width:100%;
    text-align:center;
    padding:16px 20px;
    border-radius:999px;
    font-weight:800;
    font-size:1rem;
    border:none;
    cursor:pointer;
    transition:.2s;
}

.btn-call {
    background:#00a8a3;
    color:white;
    text-decoration:none;
    box-shadow:0 4px 12px rgba(0,168,163,.3);
}

.btn-whatsapp {
    background:#25D366;
    color:white;
    box-shadow:0 4px 12px rgba(37,211,102,.3);
}

.disabled {
    background:#9ca3af !important;
    cursor:not-allowed;
    opacity:0.9;
}

/* ===== POPUP ===== */

.popup-overlay {
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.6);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:9999;
}

.popup-box {
    background:white;
    padding:24px;
    border-radius:14px;
    max-width:320px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.2);
}

.popup-box h3 {
    margin-bottom:12px;
}

.popup-box button {
    margin-top:16px;
    background:#00a8a3;
    color:white;
    border:none;
    padding:10px 20px;
    border-radius:8px;
    font-weight:700;
    cursor:pointer;
}
/* ===== PLAN + PRIVACY CARDS ===== */
.plan-card{
  margin:18px 16px 14px;
  padding:22px;
  border-radius:18px;
  color:#fff;
  position:relative;
  overflow:hidden;
}
.plan-card.free{ background:linear-gradient(135deg,#64748b,#475569); }
.plan-card.premium{ background:linear-gradient(135deg,#7c3aed,#4f46e5); }
.plan-chip{
  position:absolute; top:14px; right:14px;
  padding:6px 12px; border-radius:999px;
  font-weight:900; font-size:.8rem;
  background:rgba(255,255,255,.18);
}
.plan-chip.free{ background:rgba(255,255,255,.12); }
.btn-upgrade{
  display:inline-block; margin-top:12px;
  background:#fff; color:#4f46e5;
  padding:10px 16px; border-radius:999px;
  font-weight:900; text-decoration:none;
}

.privacy-card{
  margin:0 16px 18px;
  padding:18px;
  border-radius:16px;
  background:#f8fafc;
  box-shadow:0 4px 14px rgba(0,0,0,.05);
}
.privacy-title{ font-weight:900; margin-bottom:10px; }
.privacy-ok{
  background:#dcfce7; color:#166534;
  padding:12px; border-radius:12px; font-weight:800;
}
.privacy-off{
  background:#fee2e2; color:#991b1b;
  padding:12px; border-radius:12px; font-weight:800;
}
.privacy-actions{ margin-top:10px; }
.btn-privacy-toggle{
  width:100%;
  padding:14px;
  border:none;
  border-radius:999px;
  background:#0f766e;
  color:#fff;
  font-weight:900;
  cursor:pointer;
}
.privacy-hint{
  margin-top:10px;
  font-size:.9rem;
  color:#475569;
}

/* ===== WALK BUTTON ===== */
.act-walk{
  background:linear-gradient(135deg,#10b981,#059669);
  color:#fff;
  border:none;
}
.act-walk.locked{
  background:#9ca3af;
  cursor:not-allowed;
}

/* ===== POPUP CTA ===== */
.popup-cta{
  display:block;
  margin-top:10px;
  background:#0f766e;
  color:white;
  text-decoration:none;
  padding:10px 14px;
  border-radius:10px;
  font-weight:900;
}
/* ===== ACTION BUTTON UPGRADE ===== */

.pet-actions .act {
  border-radius:12px;
  padding:12px 14px;
  font-weight:800;
  font-size:.9rem;
  transition:.25s ease;
  border:none;
  cursor:pointer;
  text-align:center;
}

/* VER FICHA (principal) */
.act-ver {
  background:linear-gradient(135deg,#2563eb,#1d4ed8);
  color:#fff;
}
.act-ver:hover {
  transform:translateY(-2px);
  box-shadow:0 6px 16px rgba(37,99,235,.35);
}

/* EDITAR */
.act-edit {
  background:#f1f5f9;
  color:#0f172a;
}
.act-edit:hover {
  background:#e2e8f0;
}

/* DOCUMENTOS */
.act-docs {
  background:#e5e7eb;
  color:#111827;
}
.act-docs:hover {
  background:#d1d5db;
}

/* RED SOCIAL */
.act-docs[href*="perfil_publico"] {
  background:linear-gradient(135deg,#8b5cf6,#6d28d9);
  color:#fff;
}

/* SOS PERDIDA */
.act-sos {
  background:linear-gradient(135deg,#ef4444,#dc2626);
  color:#fff;
}
.act-sos.found {
  background:linear-gradient(135deg,#16a34a,#15803d);
}

/* PASEAR */
.act-walk {
  background:linear-gradient(135deg,#10b981,#059669);
  color:#fff;
}
.act-walk.locked {
  background:#9ca3af;
  cursor:not-allowed;
}

/* ELIMINAR */
.act-delete {
  background:#7f1d1d;
  color:#fff;
}
.act-delete:hover {
  background:#991b1b;
}