
.btn-resena-nueva{
  background-color: #333;
  color: black;
  padding: 8px 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
}

.btn-resena-nueva:hover {
    background-color: #000;
}

/* Estilo del fondo oscuro del modal */
.modal-resena {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  display: none; /* Inicialmente oculto */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#contenedorTodasResenas {
  max-height: 60vh;
  overflow-y: auto;
}

.modal-contenido {
  background-color: #fff;
  padding: 20px;
  width: 90%;
  max-width: 500px;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  max-height: 80vh;
  overflow-y: auto;
}

/* Estilo del contenido de cada reseña */
.resena-item {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
  font-size: 14px; /* Reduce el tamaño del texto */
  line-height: 1.4; /* Espaciado más compacto */
  color: #333;
}

/* Opcional: Controla tamaño de estrella */
.resena-item span {
  font-size: 16px;
  color: gold;
}

/* Estilo general para el contenedor */
#contenedorTodasResenas p,
#contenedorTodasResenas small,
#contenedorTodasResenas strong {
  margin: 0;
  padding: 0;
  font-size: 14px;
}



/* Botón de cerrar */
.cerrar {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

.formulario-resena {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #1a1a1a;
}

.titulo-form {
  font-size: 22px;
  font-weight: 600;
  color: #111;
  margin-bottom: 10px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.campo {
  display: flex;
  flex-direction: column;
}

.campo label {
  margin-bottom: 6px;
  font-weight: 500;
  color: #444;
}

.campo input,
.campo select,
.campo textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f9f9f9;
  transition: all 0.3s ease;
  font-size: 14px;
}

.campo input:focus,
.campo select:focus,
.campo textarea:focus {
  outline: none;
  border-color: #39FF14;
  box-shadow: 0 0 0 3px rgba(57, 255, 20, 0.15);
  background-color: #fff;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-enviar {
  background: linear-gradient(135deg, #39FF14 0%, #aaff77 100%);
  color: #000;
  font-weight: 600;
  padding: 14px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s;
}

.btn-enviar:hover {
  background: linear-gradient(135deg, #222, #444);
  color: #fff;
  transform: translateY(-2px);
}
