
/* Mensaje de error */
.error-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  text-align: center;
  background-color: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin: 2rem 0;
  width: 100%;
}

.error-message i {
  font-size: 3rem;
  color: #dc3545;
  margin-bottom: 1rem;
}

.error-message p {
  font-size: 1.1rem;
  color: #6c757d;
  margin-bottom: 1.5rem;
}

.error-message button {
  padding: 0.75rem 1.5rem;
}

/* Mensaje de no propiedades */
.no-properties {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  text-align: center;
  background-color: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin: 2rem 0;
  width: 100%;
  grid-column: 1 / -1;
}

.no-properties i {
  font-size: 3rem;
  color: #6c757d;
  margin-bottom: 1rem;
}

.no-properties h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.no-properties p {
  font-size: 1.1rem;
  color: #6c757d;
}

/* Mejoras en la paginación */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 3rem;
  gap: 0.5rem;
}

.pagination-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: #f8f9fa;
  color: #495057;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.pagination-item:hover {
  background-color: #e9ecef;
}

.pagination-item.active {
  background-color: #fcba00;
  color: #303030;
}

.pagination-item.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-ellipsis {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #6c757d;
  font-weight: 700;
}

/* Animaciones */
.fade-in {
  animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mejoras en las tarjetas de propiedades */
.property-card {
  opacity: 0;
  transform: translateY(10px);
}

.property-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  z-index: 2;
}

.property-tag.available {
  background-color: #fcba00;
  color: #303030;
}

.property-tag.sold {
  background-color: #dc3545;
  color: #fff;
}

.property-tag.reserved {
  background-color: #6c757d;
  color: #fff;
}

/* Mejoras en el formulario de búsqueda */
.modern-search-form .search-field input:focus,
.modern-search-form .search-field select:focus {
  border-color: #fcba00;
  box-shadow: 0 0 0 3px rgba(252, 186, 0, 0.2);
}

.btn-search {
  background-color: #fcba00;
  color: #303030;
  transition: all 0.3s ease;
}

.btn-search:hover {
  background-color: #e0a700;
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Estilos para la página de propiedades */
.page-banner {
  background: linear-gradient(rgba(226, 221, 221, 0.6), rgba(166, 166, 166, 0.6)), url('../img/banner-properties.jpg') no-repeat center center;
  background-size: cover;
  padding: 5rem 0;
  text-align: center;
  color: #fff;
  margin-bottom: 3rem;
}

.page-banner h1 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-banner p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}
