/* style2.css — estilo moderno para Adoptar (coherente con Inicio) */

/* Paleta: #AEE2E1 (menta), #EC9C42 (naranja), #FFFFFF, #000000 */


*{
    font-family: "Varela Round", serif;
    font-weight: 400;
    font-style: normal;  
/* ========================================= */
/* === ESTILOS ADOPTAR (ESTILO PERDIDOS) === */
/* ========================================= */
}
:root {
    --color-mint: #AEE2E1;
    --color-orange: #EC9C42;
    --color-dark: #333;
    --bg-gray: #f4f7f6;
}

body {
    background-color: var(--bg-gray);
    margin: 0;
    padding: 0;
}

/* HERO SECTION MENTA (Estilo Perdidos pero Menta) */
.adopt-hero {
    /* Degradado Menta Suave */
    background: linear-gradient(135deg, #AEE2E1, #4db6ac);
    padding: 80px 20px 60px 20px; /* ✅ top 80px = altura del nav fijo */
    text-align: center;
    color: white;
    margin-bottom: 40px;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 10px 20px rgba(77, 182, 172, 0.3);
}

.adopt-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 800;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.adopt-content p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 20px;
    color: #004d40; /* Texto oscuro para contraste sobre menta */
}

.btn-filter {
    background: white;
    color: #00695c;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.btn-filter:hover {
    transform: scale(1.05);
}

/* GRID CONTAINER */
.adopt-container {
    max-width: 1200px;
    margin: 0 auto 60px auto;
    padding: 0 20px;
}

.adopt-grid {
    display: grid;
    /* RESPONSIVE: Automáticamente se ajusta */
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* TARJETA DE MASCOTA ADOPCIÓN */
.adopt-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    position: relative; /* Para la cinta */
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
    border: 1px solid #eee;
}

.adopt-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* CINTA "ADÓPTAME" (Verde/Menta) */
.ribbon {
    position: absolute;
    right: -5px; 
    top: -5px;
    z-index: 1;
    overflow: hidden;
    width: 75px; 
    height: 75px; 
    text-align: right;
}

.ribbon span {
    font-size: 9px;
    font-weight: bold;
    color: #FFF;
    text-transform: uppercase;
    text-align: center;
    line-height: 20px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    width: 100px;
    display: block;
    /* Color de la cinta */
    background: #26a69a;
    background: linear-gradient(#26a69a 0%, #00897b 100%);
    box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
    position: absolute;
    top: 19px; 
    right: -21px;
}

/* IMAGEN */
.card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.adopt-card:hover .card-image img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    bottom: 10px;
    left: 10px;
}

.location-badge {
    background: rgba(255, 255, 255, 0.9);
    color: #00695c;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* DETALLES */
.card-details {
    padding: 20px;
}

.header-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.header-details h2 {
    font-size: 1.4rem;
    margin: 0;
    color: var(--color-dark);
}

.age-text {
    font-size: 0.9rem;
    color: #777;
    background: #f0f0f0;
    padding: 4px 8px;
    border-radius: 6px;
}

.info-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.info-tags span {
    background: #e0f2f1; /* Menta muy claro */
    color: #00695c;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* ACCIONES (Botones) */
.card-actions {
    display: flex;
    gap: 10px;
}

.btn-view {
    flex: 1; /* Ocupa casi todo el espacio */
    padding: 12px;
    border: none;
    border-radius: 30px;
    background: var(--color-orange); /* Naranja Principal */
    color: white;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 4px 10px rgba(236, 156, 66, 0.3);
}

.btn-view:hover {
    background: #d68b38;
    color: white;
    transform: translateY(-2px);
}

.btn-report-icon {
    width: 2px; /* Cuadrado/Redondo */
    height: 55px; /* Se ajusta a la altura de los otros */
    border: 2px solid #ff94a4;
    border-radius: 12px;
    background: #fff;
    color: #ff0000; /* Rojo suave */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0; /* No dejar que se aplaste */
}

.btn-report-icon:hover {
    background: #ffcdd2;
}

/* ESTADO VACÍO */
.empty-state-adopt {
    text-align: center;
    padding: 50px;
    color: #999;
}

.empty-state-adopt i {
    font-size: 3rem;
    color: var(--color-mint);
    margin-bottom: 20px;
}

/* MODALES (Estilo limpio) - Reutilizamos estilo base pero aseguramos */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 3000;
}

.modal-box {
    background: white;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    animation: slideUp 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.close-btn {
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}

.filter-group {
    margin-bottom: 15px;
}

.filter-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 0.9rem;
}

.filter-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.btn-apply, .btn-submit-report {
    width: 100%;
    padding: 12px;
    background: var(--color-mint);
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    color: #004d40;
}

/* Específico para el modal de reporte */
.report-style textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 15px;
    resize: none;
}
.btn-submit-report {
    background: #ff6b6b; /* Rojo suave para reportar */
    color: white;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .adopt-grid { grid-template-columns: 1fr; }
    .adopt-content h1 { font-size: 2rem; }
}

/* .nav estilos en style.css — no duplicar aquí */

.nav-list,
.nav2-list {
  list-style-type: none;
  display: flex;
  gap: 1rem;
  padding: 0; 
  margin: 0; 
}

.nav-list li,
.nav2-list li {
  display: flex; 
  align-items: center; 
}

.nav-list li a,
.nav2-list li a {
  text-decoration: none;
  color: #1c1c1c;
  font-size: 18px; 
  padding: 1rem;
}

/* Dropdown Menu */
#dropdown-menu {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: none; 
  position: absolute;
  background-color: white;
  border: 1px solid #ddd;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  top: 100%; 
  left: 0;
  width: 150px;
}

.user-menu {
  position: relative;
}

#dropdown-menu li {
  padding: 10px;
  text-align: left;
}

#dropdown-menu li:hover {
  background-color: #f0f0f0;
}

.user-menu:hover #dropdown-menu {
  display: block; 
}

img#user-img {
  display: block;
  width: 40px; 
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
}


/* Estilos para el menú hamburguesa */
.menu-toggle {
  display: none; /* Oculto por defecto en pantallas grandes */
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

#dropdown-menu {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: none;
  position: absolute;
  background-color: white;
  border: 1px solid #ddd;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  top: 100%;
  left: 0;
  width: 150px;
}

.user-menu {
  position: relative;
}

#dropdown-menu li {
  padding: 10px;
  text-align: left;
}

#dropdown-menu li:hover {
  background-color: #f0f0f0;
}

.user-menu:hover #dropdown-menu {
  display: block;
}

img#user-img {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
}

.Pub {
  padding: 2rem;
}

.container {
  max-width: 1200px;
  margin: 20px auto;
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
}

.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 300px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 15px;
}

.card-title {
  font-size: 20px;
  color: #333;
  margin: 0 0 10px;
  text-align: center;
}

.card-description {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
  text-align: justify;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  border-top: 1px solid #ddd;
  background: #f9f9f9;
}

.card-footer a {
  text-decoration: none;
  color: #007BFF;
  font-weight: bold;
  transition: color 0.3s;
}

.card-footer a:hover {
  color: #0056b3;
}

.card-footer span {
  font-size: 12px;
  color: #888;
}

.detalles-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
  max-width: 100%;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.15);
  background-color: #fff;
  padding: 20px;
}

.detalles-card {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.detalles-media {
  width: 100%;
  padding: 20px;
}

.carousel img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.detalles-content {
  padding: 20px;
  width: 100%;
}

.detalles-content h1 {
  font-size: 28px;
  color: black;
  margin-bottom: 15px;
  word-wrap: break-word;
}

.detalles-content p {
  font-size: 16px;
  margin: 10px 0;
  color: #555;
  word-wrap: break-word;
}

.EnPu {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  padding: 20px;
}

form {
  background-color: #ffffff;
  padding: 20px 30px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
}

form h2 {
  text-align: center;
  color: #343a40;
  margin-bottom: 20px;
  font-size: 24px;
}

form label {
  display: block;
  font-weight: bold;
  color: #495057;
  margin-bottom: 5px;
}

form input[type="text"],
form input[type="file"],
form textarea,
form select {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ced4da;
  border-radius: 5px;
  font-size: 14px;
}

form textarea {
  resize: none;
}

form button {
  display: block;
  width: 100%;
  background-color: #007bff;
  color: #ffffff;
  border: none;
  padding: 10px;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

form button:hover {
  background-color: #0056b3;
}

/* Responsive Design */
@media (max-width: 768px) {
  .card {
      width: 100%;
  }

  .detalles-container {
      flex-direction: column;
  }

  .detalles-content {
      width: 100%;
  }

  .Pub {
      padding: 1rem;
  }

  form {
      max-width: 90%;
  }
}

@media (max-width: 480px) {
  .nav-list {
      flex-direction: column;
  }

  .card-title {
      font-size: 18px;
  }

  .card-description {
      font-size: 12px;
  }
}


form p {
  text-align: center;
  color: #868e96;
  font-size: 14px;
  margin-top: 10px;
}

form p a {
  color: #007bff;
  text-decoration: none;
}

form p a:hover {
  text-decoration: underline;
}

.reportar-form {
  margin-top: 10px;
  display: none;
}

.form-reporte {
  display: none;
  margin-top: 10px;
}

.form-reporte.oculto {
  display: none;
}

.form-reporte.visible {
  display: block;
}

.report-btn {
    width: 100%;
    margin-top: 10px;
    background: #ff5252;
    border: none;
    padding: 10px;
    border-radius: 10px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.report-btn:hover {
    background: #e04343;
    transform: translateY(-2px);
}

.report-form {
    margin-top: 10px;
    background: #fff7f7;
    border: 1px solid #ffbdbd;
    border-radius: 10px;
    padding: 12px;
    display: none;
}

.report-form.show {
    display: block;
}

.report-textarea {
    width: 100%;
    height: 90px;
    border-radius: 8px;
    border: 1px solid #ccc;
    padding: 8px;
    resize: none;
}

.btn-send-report {
    width: 100%;
    background: #ffa726;
    border: none;
    margin-top: 8px;
    padding: 10px;
    border-radius: 8px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}
.btn-send-report:hover {
    background: #f08f00;
}


/*
.Pub1{
    border: 3px solid black;
    width: 300px;
    border-radius: 10%;
    justify-items: center;
    padding: 1rem;
    position: absolute;
    left: 20px;
}

.Pub2{
    border: 3px solid red;
    width: 300px;
    border-radius: 10%;
    justify-items: center;
    padding: 1rem;
    position: absolute;
    left: 400px;
}
.Pub3{
    border: 3px solid red;
    width: 300px;
    border-radius: 10%;
    justify-items: center;
    padding: 1rem;
    position: absolute;
    left: 780px;
}
.Pub4{
    border: 3px solid red;
    width: 300px;
    border-radius: 10%;
    justify-items: center;
    padding: 1rem;
    position: absolute;
    left: 73rem;
}
.Pub5{
    border: 3px solid red;
    width: 300px;
    border-radius: 10%;
    justify-items: center;
    padding: 1rem;
    position: absolute;
    left: 20px;
}
.Pub6{
    border: 3px solid red;
    width: 300px;
    border-radius: 10%;
    justify-items: center;
    padding: 1rem;
    position: absolute;
    left: 25rem;
}
.Pub7{
    border: 3px solid red;
    width: 300px;
    border-radius: 10%;
    justify-items: center;
    padding: 1rem;
    position: absolute;
    left: 49rem;
}
.Pub8{
    border: 3px solid red;
    width: 300px;
    border-radius: 10%;
    justify-items: center;
    padding: 1rem;
    position: absolute;
    left: 73rem;
}


/* Estilos para los Íconos de Navegación */
.nav-icon {
    /* Define un tamaño fijo para todos */
    width: 40px; 
    height: 40px; 
    
    /* ¡La clave! Asegura que la imagen se ajuste dentro del espacio 30x30 
       sin cortarse, manteniendo sus proporciones. */
    object-fit: contain; 
    vertical-align: middle;
    transition: all 0.2s ease-out;
}

.nav-list li a,
.nav2-list li a {
    text-decoration: none;
    color: transparent; /* Mantenemos esto porque ahora son iconos */
    font-size: 18px; 
    padding: 0.5rem; /* Ajuste el padding para centrar mejor el icono */
    
    /* [AÑADIR ESTO] Esto es clave para posicionar el borde animado */
    position: relative; 
    overflow: hidden; /* Ocultamos el borde antes de que se dibuje */
}

/* Modificar la regla de hover del ícono (para quitar el levantamiento) */
.nav-list li a:hover .nav-icon {
    /* Quitamos el transform: translateY(-3px) y dejamos un sutil brillo */
    transform: none; /* Asegura que no se mueva */
    filter: drop-shadow(0 0 5px rgba(0, 123, 255, 0.6)); /* Resplandor sutil */
}

/* ---------------------------------------------------- */
/* === EFECTO DE Borde ANIMADO COMPLETO (INNOVADOR) === */
/* ---------------------------------------------------- */

/* 1. Pseudo-elemento para Líneas Horizontales (Superior e Inferior) */
.nav-list li a::before {
    content: '';
    position: absolute;
    height: 1px; /* Altura de la línea */
    background: #007bff; /* Color del borde */
    transition: width 0.3s ease-in-out; /* Animamos el ancho */
    width: 0%; /* Inicia sin ancho */
}

/* Línea Superior */
.nav-list li a::before {
    top: 0;
    left: 0;
}

/* Línea Inferior (Se logra con una sombra interna que actúa como borde) */
/* Es más limpio usar box-shadow para el segundo borde horizontal */

/* 2. Pseudo-elemento para Líneas Verticales (Izquierda y Derecha) */
.nav-list li a::after {
    content: '';
    position: absolute;
    width: 1px; /* Ancho de la línea */
    background: #007bff; /* Color del borde */
    /* Animamos la altura y le damos un RETRASO para que empiece después de la línea horizontal */
    transition: height 0.3s ease-in-out 0.3s; 
    height: 0%; /* Inicia sin altura */
}

/* Línea Izquierda */
.nav-list li a::after {
    top: 0;
    left: 0;
}

/* ------------------------------------------- */
/* === ESTADO HOVER: Dibuja las cuatro líneas === */
/* ------------------------------------------- */

/* Dibuja la línea horizontal superior */
.nav-list li a:hover::before {
    width: 100%; 
    box-shadow: 0 55px 0 0 #007bff; /* <--- ¡ESTA ES LA CLAVE! Crea la línea inferior usando sombra. */
}

/* Dibuja las líneas verticales (derecha e izquierda) */
.nav-list li a:hover::after {
    height: 100%; 
    box-shadow: 55px 0 0 0 #007bff; /* <--- ¡ESTA ES LA CLAVE! Crea la línea derecha usando sombra. */
}

/* -------------------------------------------------------------------- */
/* === EFECTO ESTÁTICO DE BORDE EN LA PESTAÑA ACTIVA (.active-page) === */
/* -------------------------------------------------------------------- */

/* Estilo estático para el ícono de la pestaña activa */
.nav-list li a.active-page .nav-icon {
    /* Mantenemos el resplandor de forma permanente */
    transform: none; 
    filter: drop-shadow(0 0 5px rgba(0, 123, 255, 0.6)); 
}


/* Dibuja las líneas horizontales de forma permanente */
.nav-list li a.active-page::before {
    width: 100%; /* La línea horizontal superior se dibuja */
    box-shadow: 0 55px 0 0 #007bff; /* La línea horizontal inferior se dibuja */
    /* Aseguramos que la transición de ancho esté completa */
    transition: none; 
}

/* Dibuja las líneas verticales de forma permanente */
.nav-list li a.active-page::after {
    height: 100%; /* La línea vertical izquierda se dibuja */
    box-shadow: 55px 0 0 0 #007bff; /* La línea vertical derecha se dibuja */
    /* Aseguramos que la transición de altura esté completa */
    transition: none;
}

/* 1. Posicionamiento del Contenedor Principal */
.user-menu {
    position: relative; /* Permite que el submenú se posicione correctamente */
}

/* 2. Estilo y Ocultamiento del Submenú */
.nav2-list {
    /* Mantén tus estilos de caja (fondo, sombra, borde) */
    list-style-type: none;
    position: absolute; 
    top: 100%; 
    right: 0; /* Lo alinea a la derecha del ícono */
    min-width: 180px; 
    background-color: #ffffff; 
    border: 1px solid #ddd; 
    border-radius: 8px; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); 
    padding: 5px 0;
    z-index: 1000; 
    flex-direction: column; 
    gap: 0; 
    
    /* CLAVE: Ocultar por defecto. El !important asegura que sobrescriba otros estilos */
    display: none !important; 
}

/* 3. Regla para MOSTRAR el menú con JavaScript */
/* JS añadirá la clase 'active' al contenedor .user-menu */
.user-menu.active .nav2-list {
    display: flex !important; 
}

/* 4. Resplandor para el ícono de perfil cuando está abierto (activo) */
/* JS añadirá la clase 'active' al ícono */
.nav-icon.active {
    filter: drop-shadow(0 0 5px rgba(0, 123, 255, 0.8));
}

/* 5. ¡SOLUCIÓN A LAS LÍNEAS EXTRAÑAS EN EL SUBMENÚ! */
.nav2-list li a {
    /* Desactivar el posicionamiento relativo necesario para las líneas */
    position: static !important; 
    
    /* Estilo para alinear los íconos (emojis) */
    display: flex;
    align-items: center;
    gap: 8px; 
    padding: 10px 15px;
    font-size: 16px;
    color: #333;
}

/* CLAVE: Eliminar los pseudo-elementos (las líneas) en el submenú */
.nav2-list li a::before,
.nav2-list li a::after {
    content: none !important; 
}

/* ESTILO PARA EL ÍCONO DE PERFIL ACTIVO (User.png) */
/* CLAVE: Si la clase 'active' está en el <li> padre */
.user-menu.active .nav-icon,
.nav-icon.active {
    /* Aquí aplicamos el mismo efecto de resplandor y 'cuadrito' que tienen los otros */
    filter: drop-shadow(0 0 5px rgba(0, 123, 255, 0.8));
    /* Si tienes algún borde o sombreado para simular el 'cuadrito', ponlo aquí */
}

/* Para el ícono de perfil, que usa la clase 'active' en el <li>: */
.user-menu.active .nav-icon {
    border: 2px solid #007bff; 
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.8);
}

/* Botón tipo app */
.filter-btn-app {
    position: fixed;
    top: 80px;
    right: 20px;
    background: #AEE2E1;
    border: none;
    padding: 12px 18px;
    border-radius: 30px;
    font-weight: 600;
    display: flex;
    gap: 6px;
    align-items: center;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: .2s;
    z-index: 1000;
}
.filter-btn-app:hover {
    background: #9cd7d6;
}

/* Modal */
.filter-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.filter-modal-content {
    background: white;
    width: 90%;
    max-width: 400px;
    padding: 25px;
    border-radius: 20px;
    position: relative;
    animation: fadeScale .25s ease;
}

@keyframes fadeScale {
    from { opacity: 0; transform: scale(0.85); }
    to   { opacity: 1; transform: scale(1); }
}

/* Cerrar modal */
.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
}

/* Campos */
.filter-group {
    margin-bottom: 15px;
}

.filter-group label {
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.filter-group select {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #ccc;
}

.filter-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

/* Botones */
.btn-apply {
    background: #4FD1C5;
    border: none;
    padding: 10px 15px;
    color: white;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}

.btn-clear {
    background: #D9D9D9;
    border: none;
    padding: 10px 15px;
    border-radius: 10px;
    cursor: pointer;
}

/* Ajuste para móvil: hacerlo un poco más pequeño */
@media (max-width: 768px) {
    .badge-dot {
        width: 10px;
        height: 10px;
        top: 2px;
        right: 2px;
        border-width: 1.5px;
    }
}

/* --- MODAL ELEGANTE --- */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    animation: fadeIn 0.25s ease;
}

.modal-box {
    width: 90%;
    max-width: 420px;
    background: #fff;
    border-radius: 18px;
    padding: 25px;
    position: relative;
    animation: popIn 0.25s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #333;
}

.modal-title {
    margin-bottom: 5px;
    font-size: 22px;
    font-weight: bold;
    color: #1c1c1c;
}

.modal-subtitle {
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

.modal-textarea {
    width: 100%;
    height: 120px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #ccc;
    resize: none;
    font-size: 14px;
}

.modal-send-btn {
    width: 100%;
    margin-top: 15px;
    padding: 12px;
    background: #ff5252;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: 0.25s;
}

.modal-send-btn:hover {
    background: #e04141;
    transform: translateY(-2px);
}

/* animaciones */
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes popIn {
    from { transform: scale(0.85); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

/* ----- Modal elegante ----- */
.modal-reporte {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 3000;
}

.modal-contenido {
    background: white;
    width: 90%;
    max-width: 420px;
    padding: 20px;
    border-radius: 16px;
    position: relative;
    animation: aparecer 0.3s ease;
    font-family: "Varela Round", sans-serif;
}

@keyframes aparecer {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-textarea {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #ccc;
    resize: none;
}

.modal-btn-enviar {
    width: 100%;
    padding: 10px;
    background: #ff9800;
    color: white;
    border-radius: 10px;
    border: none;
    margin-top: 12px;
    cursor: pointer;
}

/* Botón cerrar */
.modal-cerrar {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
}

/* ----- Animación verde tipo app ----- */
.success-report {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: #4caf50;
    color: white;
    padding: 16px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-family: "Varela Round", sans-serif;
    animation: slideUp 0.4s ease;
    z-index: 9999;
    transition: opacity 0.4s;
}

.success-icon {
    background: white;
    color: #4caf50;
    font-weight: bold;
    padding: 5px 8px;
    border-radius: 50%;
}

@keyframes slideUp {
    from { transform: translate(-50%, 40px); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}

/* === FORZAR MISMO MENU QUE INICIO === */
@media (max-width: 768px) {

    /* No queremos menú móvil, así que: */
    .menu-toggle {
        display: none !important;
    }

    .nav {
        flex-direction: row;
        align-items: center;
    }

    .nav-list {
        display: flex !important;
        flex-direction: row !important;
        gap: 10px !important;
        position: static !important;
        background: transparent !important;
        box-shadow: none !important;
        width: auto !important;
        height: auto !important;
        padding: 0 !important;
    }

    .nav-icon, #user-img {
        width: 35px;
        height: 35px;
    }

    .nav-list li a {
        padding: 5px;
    }

    /* Ajuste pequeño del dropdown */
    .nav2-list {
        right: -50px;
    }
}

/* 1. Reseteamos el formulario SOLO cuando está dentro de un modal */
.modal-box form {
    padding: 0 !important;        /* Quita el relleno doble */
    margin: 0 !important;
    background: transparent !important; /* Quita el fondo blanco extra */
    box-shadow: none !important;  /* Quita la sombra doble */
    width: 100% !important;       /* Fuerza a que respete el ancho del modal */
    max-width: 100% !important;
    box-sizing: border-box;       /* Asegura que los bordes no aumenten el tamaño */
}

/* 2. Aseguramos que la caja del modal se centre bien */
.modal-box {
    box-sizing: border-box; /* Importante para que el padding no deforme la caja */
    margin: 0 auto;         /* Centrado horizontal de seguridad */
    
    /* Si en pantallas muy pequeñas el modal es muy alto, esto permite scrollear */
    max-height: 90vh;       
    overflow-y: auto;       
}

/* 3. Ajuste específico para los inputs dentro del modal */
.modal-box input, 
.modal-box textarea, 
.modal-box select {
    width: 100% !important;   /* Que ocupen todo el ancho disponible */
    box-sizing: border-box;   /* Que el padding del input no lo rompa */
}

/* Botón de cierre */
  .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
    color: #fff;
    background: #ff4b2b;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
  }
  
  .close-btn:hover {
    background: #ff1c00;
    transform: scale(1.2);
  }

.adopt-hero { padding-top: 80px !important; }

@media (max-width: 768px) {
    .adopt-hero { padding-top: 78px !important; }
}