.registration-form-container .registration-header {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.registration-form-container .registration-header a {
  margin-bottom: 10px;
}
.registration-form-container .registration-header a > img {
  max-width: 150px;
}
.registration-form-container .registration-header > h5 {
  margin: 0;
  color: #888888;
  max-width: 300px;
  text-align: center;
  font: 400 16px/24px Montserrat, sans-serif;
}
.bloque-form {
  display: flex;
}
.bloque-form .form-group {
  width: calc(100% / 2);
}
.form-group.user-type {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.form-group.user-type > label {
  width: 100%;
  text-align: left;
}
#registration-form .form-group input {
  background: #f7f7f8;
  border: none;
}
.form-group .user-type-options {
  width: 100%;
  display: inherit;
  flex-direction: row;
  justify-content: space-evenly;
}
.user-type-options .option {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
  padding: 12px;
  background: #f7f7f8;
  border-radius: 10px;
}
.user-type-options .option label {
  margin: 0;
}
.user-type-options input[type="radio"] {
  display: none;
}
.user-type-options label {
  cursor: pointer;
  position: relative;
  padding-left: 25px;
}
.user-type-options label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
}
#registration-form input[type="radio"]:checked + label::before {
  border: 3px solid #ce1126;
}
#registration-form .tems-group {
  display: flex;
  gap: 10px;
}
#registration-form .tems-group label {
  margin: 0;
  cursor: pointer;
}
#registration-form input[type="checkbox"] {
  cursor: pointer;
  background-color: #fff;
  width: 17px;
  height: 17px;
  appearance: none;
  border: 2px solid #30303030;
  border-radius: 4px;
}
#registration-form input[type="checkbox"]:checked {
  background-color: #ce1126;
}
#registration-form input[type="checkbox"]:checked::after {
  content: "✔";
  color: #fff;
  position: absolute;
  top: 10px;
}
#registration-form .form-group button {
  width: 100%;
  background: #ce1126;
  border: none;
  border-radius: 10px;
  padding: 10px 0;
}
#registration-form .form-group button:hover {
  background-color: #a50e20;
}
div.login-link {
  font-size: 14px;
  color: #585858;
  text-align: center;
}
div.login-link a {
  color: #101010;
  font-weight: 500;
}
.wr-saveditems,
.wr-earnings,
.wr-earnings,
.wr-invoices,
.wr-disputes,
.wr-projectlistings,
.wr-myorders {
  display: none !important;
}
.wr-dashboard-sidebar-balance {
  display: none !important;
}
.wr-settingtab li:nth-child(3),
.wr-dashboard-sidebar-action-button {
  display: none;
}

/* Notificacion envio formulario */
.frm-message {
  display: none;
  padding: 10px 15px;
  color: white;
  background-color: grey;
  margin-top: 10px;
  border-radius: 8px;
}

@media (min-width: 500px) {
  .frm-message {
    width: 40%;
  }
}
.frm-message.success {
  background-color: rgba(0, 128, 0, 0.726);
}

.frm-message.error {
  background-color: rgba(255, 68, 0, 0.733);
}

/* Contenedor grid */
.humanitarios-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 20px 0;
  justify-items: center;
  align-items: start;
}

/* Cards */
.humanitarios-posts-grid .card {
  width: 100%;
  max-width: 350px; /* Máximo ancho de cada card */
  box-sizing: border-box;
}

/* Responsive */
@media (max-width: 992px) {
  .humanitarios-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .humanitarios-posts-grid {
    grid-template-columns: 1fr;
  }

  .humanitarios-posts-grid .card {
    max-width: 450px;
  }
}

@media (max-width: 480px) {
  .humanitarios-posts-grid .card {
    max-width: 100%;
  }
}
/** cards **/
.card.card-found,
.card.card-lost-object,
.card.card-personas,
.card.card-mascotas {
  width: 100%;
  max-width: 350px;
  height: 100%;
  padding: 10px;
  background: #ffffff;
  border: 1px solid #eee;
  border-radius: 15px;
}
.img-cards {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 20px;
}
.content-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  margin: 20px 0px 10px 0px;
}
.card-title {
  font: 500 20px / 24px Montserrat, sans-serif;
}
.card-subtitle {
  font: 700 12px / 17px Poppins, sans-serif;
  color: #ce1126;
  background-color: rgba(255, 88, 81, 0.1);
  padding: 5px 10px;
  align-items: center;
  border-radius: 8px;
}
.card-details {
  display: flex;
  flex-direction: column;
  padding: 0 15px;
}
.card-details p {
  display: inherit;
  justify-content: space-between;
  color: #afaeae;
  font: 500 14px / 20px Poppins, sans-serif;
  font-weight: 600;
  margin: 0;
  margin-bottom: 10px;
}
.card-details p strong {
  color: #3b3b3b;
  font: 500 14px / 20px Poppins, sans-serif;
}
.card-button {
  padding: 0 15px;
  margin: 20px 0;
}
.card-button a {
  display: flex;
  cursor: pointer;
  overflow: hidden;
  padding: 12px 38px;
  position: relative;
  align-items: center;
  background: #f7f7f8;
  justify-content: center;
  text-decoration: none;
  color: #1e1e1e;
  border-radius: 10px;
  font: 500 16px / 24px Montserrat, sans-serif;
  transition: all 0.3s ease-in-out;
}
.card:hover .card-button a {
  color: #fff;
  background: #ce1126;
}

/**
*  Archive
*/
.humanitarios-archive-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.archive-title {
  text-align: center;
  font: 700 32px/1.2 "Montserrat", sans-serif;
  color: #ce1126;
  margin-bottom: 40px;
}

/* Paginación */
.humanitarios-pagination {
  margin-top: 50px;
  text-align: center;
}

.humanitarios-pagination .page-numbers {
  display: inline-block;
  padding: 8px 16px;
  margin: 0 4px;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: all 0.3s;
}

.humanitarios-pagination .current,
.humanitarios-pagination a:hover {
  background: #ce1126;
  color: white;
  border-color: #ce1126;
}

/* No results */
.no-results {
  width: 100%;
  max-width: 400px;
  text-align: center;
  padding: 50px;
  background: #f8f9fa;
  border-radius: 10px;
  font-size: 18px;
}

/**
*  Filtro de busqueda
/*
/* Contenedor principal */
.humanitarios-filtro-container {
  margin: 0 auto 40px;
  background: #f8f9fa;
  border-radius: 12px;
}
.encontrados-filtro-form {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
@media (max-width: 500px) {
  .encontrados-filtro-form {
    flex-wrap: wrap;
  }
}
@media (min-width: 600px) {
  .bloque-1 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
  }
  .bloque-2 {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
  }
  .subbloque-1 {
    display: flex;
    flex-direction: row;
    gap: 10px;
  }
  .subbloque-1 .filtro-subgroup {
    width: 50%;
  }
  .subbloque-2 {
    display: flex;
    flex-direction: row;
    gap: 10px;
  }
  .subbloque-2 .filtro-subgroup {
    width: 50%;
  }
}
/* Grupos de filtros */
.filtro-group {
  width: 100%;
  margin-bottom: 20px;
  padding: 15px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #eee;
}

.filtro-group label {
  display: block;
  margin-bottom: 8px;
  font: 500 16px/1.2 "Poppins", sans-serif;
  color: #3b3b3b;
}

.filtro-group input[type="text"],
.filtro-group input[type="number"],
.filtro-group input[type="date"],
.filtro-group select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}

#humanitarios-filtro-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: white;
  border: 2px solid #ccc;
  padding: 10px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  color: #555;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="%23555" d="M7 10l5 5 5-5z"></path></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 18px;
  padding-right: 30px;
  margin-bottom: 10px;
}

#humanitarios-filtro-form select:focus {
  border-color: #ce1126;
  outline: none;
}

.filtro-subgroup {
  margin-bottom: 15px;
}

/* Fechas y rangos */
.fecha-group input[type="date"] {
  width: calc(50% - 20px);
  margin: 0 5px;
}
/* number */
.filtro-subgroup input[type="number"] {
  width: calc(50% - 10px);
}
/* Botones */
.humanitarios-filtro-container button {
  padding: 12px 25px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
}

.humanitarios-filtro-container button[type="submit"] {
  background: #ce1126;
  color: white;
  margin-right: 10px;
}

.humanitarios-filtro-container button[type="submit"]:hover {
  background: #a50e20;
}

.reset-filtros {
  background: #f7f7f8;
  color: #3b3b3b;
  border: 1px solid #ddd !important;
}

.reset-filtros:hover {
  background: #e9ecef;
}

@media (max-width: 600px) {
  .filtro-group {
    margin-bottom: 0px;
  }
  .humanitarios-filtro-container button[type="submit"] {
    width: 100%;
    margin: 10px 0;
  }
  .reset-filtros {
    width: 100%;
  }
}

/* Búsqueda en tiempo real */
.sugerencias-live {
  position: absolute;
  background: white;
  border: 1px solid #ddd;
  width: calc(100% - 2px);
  z-index: 1000;
  max-height: 200px;
  overflow-y: auto;
}

.sugerencia-item {
  padding: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

.sugerencia-item:hover {
  background: #f8f9fa;
}

/* Estados de carga */
.loading-indicator {
  padding: 20px;
  text-align: center;
  color: #666;
  font-style: italic;
}

.error-message {
  color: #dc3545;
  padding: 20px;
  text-align: center;
}

.no-results-message {
  text-align: center;
  padding: 40px;
  background: #f8f9fa;
  border-radius: 8px;
  margin: 20px 0;
}

/* Botón cargar más */
.ajax-pagination {
  text-align: center;
  margin: 30px 0;
}
.load-more-container {
  text-align: center;
}
.load-more {
  margin-bottom: 20px;
}
.cargar-mas,
.load-more {
  background: #ce1126;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  cursor: pointer;
  transition: opacity 0.3s;
}

.cargar-mas:hover,
.load-more:hover {
  opacity: 0.9;
}

.cargar-mas[disabled],
.load-more[disabled] {
  background: #ddd;
  cursor: not-allowed;
}

/**
 * Formularios de reporte 
 */
#report-encontrado-form,
#report-object-form,
#report-person-form input,
#report-pet-form input {
  margin-bottom: 10px;
}

#report-encontrado-form input[type="file"],
#report-object-form input[type="file"],
#report-person-form input[type="file"],
#report-pet-form input[type="file"] {
  border: 2px dashed #ccc;
  padding: 10px;
  font-size: 16px;
  cursor: pointer;
  background-color: #f9f9f9;
  width: 100%;
}

#report-encontrado-form input[type="file"]:hover,
#report-object-form input[type="file"]:hover,
#report-person-form input[type="file"]:hover,
#report-pet-form input[type="file"]:hover {
  border-color: #888;
  background-color: #f1f1f1;
}

#report-encontrado-form select,
#report-object-form select,
#report-person-form select,
#report-pet-form select {
  appearance: none; /* Elimina el estilo predeterminado del sistema */
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: white;
  border: 2px solid #ccc;
  padding: 10px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  color: #555;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="%23555" d="M7 10l5 5 5-5z"></path></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 18px;
  padding-right: 30px;
  margin-bottom: 10px;
}

#report-encontrado-form select:focus,
#report-object-form select:focus,
#report-person-form select:focus,
#report-pet-form select:focus {
  border-color: #ce1126;
  outline: none;
}

#report-encontrado-form button[type="submit"],
#report-object-form button[type="submit"],
#report-person-form button[type="submit"],
#report-pet-form button[type="submit"] {
  background: #ce1126;
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
}

#report-encontrado-form button[type="submit"]:hover,
#report-object-form button[type="submit"]:hover,
#report-person-form button[type="submit"]:hover,
#report-pet-form button[type="submit"]:hover {
  background: #a50e20;
}

/* Contenedor para alinear checkbox y texto */
#report-encontrado-form label,
#report-object-form label,
#report-person-form label,
#report-pet-form label {
  display: flex;
  align-items: center;
  gap: 8px; /* Espacio entre el checkbox y el texto */
  font-size: 16px;
  cursor: pointer;
}

/* Personalizar el checkbox */
#report-encontrado-form input[type="checkbox"],
#report-object-form input[type="checkbox"],
#report-person-form input[type="checkbox"],
#report-pet-form input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #ce1126;
  border-radius: 4px;
  background-color: white;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

/* Cambia el fondo cuando está seleccionado */
#report-encontrado-form input[type="checkbox"]:checked,
#report-object-form input[type="checkbox"]:checked,
#report-person-form input[type="checkbox"]:checked,
#report-pet-form input[type="checkbox"]:checked {
  background-color: #ce1126;
  border-color: #ce1126;
}

/* Agrega el check ✔ dentro del checkbox */
#report-encontrado-form input[type="checkbox"]:checked::after,
#report-object-form input[type="checkbox"]:checked::after,
#report-person-form input[type="checkbox"]:checked::after,
#report-pet-form input[type="checkbox"]:checked::after {
  content: "✔";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 14px;
  font-weight: bold;
}

/* Asegurar que el cursor cambia cuando se pasa sobre el texto */
#report-encontrado-form label:hover input[type="checkbox"],
#report-object-form label:hover input[type="checkbox"],
#report-person-form label:hover input[type="checkbox"],
#report-pet-form label:hover input[type="checkbox"] {
  border-color: #a50d1c;
}

/**
* CSS Formulario de edicion
*/

/* Estilos para inputs en los formularios */
#report-encontrado-form,
#report-object-form,
#edit-found-form,
#edit-lost-object-form,
#report-person-form input,
#report-pet-form input,
#edit-person-form input,
#edit-pet-form input {
  margin-bottom: 10px;
}

#report-encontrado-form .current-images,
#report-object-form .current-images,
#edit-found-form .current-images,
#edit-lost-object-form .current-images,
#report-person-form .current-images,
#report-pet-form .current-images,
#edit-person-form .current-images,
#edit-pet-form .current-images {
  width: 100%;
  max-width: 400px;
  margin: 10px 0;
}

#report-encontrado-form .current-images img,
#report-object-form .current-images img,
#edit-found-form .current-images img,
#edit-lost-object-form .current-images img,
#report-person-form .current-images img,
#report-pet-form .current-images img,
#edit-person-form .current-images img,
#edit-pet-form .current-images img {
  border-radius: 10px;
  margin-bottom: 10px;
}

/* Estilos para input tipo file */
#report-encontrado-form input[type="file"],
#report-object-form input[type="file"],
#edit-found-form input[type="file"],
#edit-lost-object-form input[type="file"],
#report-person-form input[type="file"],
#report-pet-form input[type="file"],
#edit-person-form input[type="file"],
#edit-pet-form input[type="file"] {
  border: 2px dashed #ccc;
  padding: 10px;
  font-size: 16px;
  cursor: pointer;
  background-color: #f9f9f9;
  width: 100%;
}

#report-encontrado-form input[type="file"]:hover,
#report-object-form input[type="file"]:hover,
#edit-found-form input[type="file"]:hover,
#edit-lost-object-form input[type="file"]:hover,
#report-person-form input[type="file"]:hover,
#report-pet-form input[type="file"]:hover,
#edit-person-form input[type="file"]:hover,
#edit-pet-form input[type="file"]:hover {
  border-color: #888;
  background-color: #f1f1f1;
}

/* Estilos para selects */
#report-encontrado-form select,
#report-object-form select,
#edit-found-form select,
#edit-lost-object-form select,
#report-person-form select,
#report-pet-form select,
#edit-person-form select,
#edit-pet-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: white;
  border: 2px solid #ccc;
  padding: 10px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  color: #555;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path fill="%23555" d="M7 10l5 5 5-5z"></path></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 18px;
  padding-right: 30px;
  margin-bottom: 10px;
}

#report-encontrado-form select:focus,
#report-object-form select:focus,
#edit-found-form select:focus,
#edit-lost-object-form select:focus,
#report-person-form select:focus,
#report-pet-form select:focus,
#edit-person-form select:focus,
#edit-pet-form select:focus {
  border-color: #ce1126;
  outline: none;
}

/* Botón de envío */
.container_single_humanitarios .btn,
#report-encontrado-form button[type="submit"],
#report-object-form button[type="submit"],
#edit-found-form button[type="submit"],
#edit-lost-object-form button[type="submit"],
#report-person-form button[type="submit"],
#report-pet-form button[type="submit"],
#edit-person-form button[type="submit"],
#edit-pet-form button[type="submit"] {
  background: #ce1126;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  margin-top: 10px;
}

.container_single_humanitarios .btn:hover,
#report-encontrado-form button[type="submit"]:hover,
#report-object-form button[type="submit"]:hover,
#edit-found-form button[type="submit"]:hover,
#edit-lost-object-form button[type="submit"]:hover,
#report-person-form button[type="submit"]:hover,
#report-pet-form button[type="submit"]:hover,
#edit-person-form button[type="submit"]:hover,
#edit-pet-form button[type="submit"]:hover {
  background: #a50e20;
}

.pagination {
  text-align: center;
  justify-content: center;
  gap: 5px;
}
.page-numbers {
  padding: 10px 15px;
  border-radius: 5px;
  background-color: #ce1126;
  color: white;
  text-decoration: none;
}
.page-numbers.current {
  background-color: #a50e20;
  padding: 12px 15px;
}
.page-numbers:hover {
  background-color: #a50e20;
  color: white;
}
.wr-dashboard-sidebar-toggle-btn {
  display: none;
}
div.at-chatfloat {
  display: none;
}
.page-template-dashboard .wr-dashboard-sidebar-toggle-btn {
  display: block;
}

#image-preview img {
  max-width: 100px;
  max-height: 100px;
  object-fit: cover;
  border-radius: 5px;
  margin: 5px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.image-container {
  position: relative;
  display: inline-block;
  margin: 5px;
  border: 1px solid #ddd;
  border-radius: 5px;
  overflow: hidden;
}

.image-container img {
  max-width: 100px;
  max-height: 100px;
  object-fit: cover;
  display: block;
}

.size-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 2px 5px;
  font-size: 0.8em;
}

.remove-btn {
  position: absolute;
  top: 0;
  right: 0;
  background: red;
  color: white;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  line-height: 18px;
  text-align: center;
  cursor: pointer;
  padding: 0;
}
/** imagenes single **/
.gallery-image {
  max-width: 100px;
  margin: 5px;
  border-radius: 8px;
}
.main-image {
  max-width: 100%;
  height: auto;
}
.container_single_humanitarios {
  margin: 50px 0;
}
.container_single_humanitarios .main-image {
  height: 250px;
  border-radius: 8px;
  margin-bottom: 15px;
}
.container_single_humanitarios .text-muted {
  margin: 4px;
}

.container_single_humanitarios .btn-success {
  height: initial;
}
.container_single_humanitarios .btn-success .fa-whatsapp,
.container_single_humanitarios .btn-success .fa-phone-alt {
  font-size: 15px;
}

.current-images {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 10px;
}
.current-images img {
  border: 1px solid #e3e3e3;
  border-radius: 5px;
}
