/* Estilos generales */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: auto;
  min-height: 100vh;
  width: 100%;
  background-color: rgb(248, 244, 244);
  display: flex;
  justify-content: center;
  align-items: start;
  overflow-y: auto;
  font-family: sans-serif;
}

.containerExterior {
  width: 100%;
  max-width: 600px;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: start;
  position: relative;
  padding-bottom: 100px;
}

.containerPerfil {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: rgb(248, 244, 244);
}

#fotoUsuario {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.miniaturasGaleria {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 10%;
  gap: 10px;
  padding: 5px 10px;
  margin-top: 10px;
}

.miniatura {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border: 2px solid transparent;
  border-radius: 15px;
  cursor: pointer;
  transition: border-color 0.3s ease, transform 0.2s ease;
}

.miniatura:hover {
  transform: scale(1.05);
}

.miniatura.activa {
  border-color: #007bff;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.6);
}

/* Botón tres puntitos */
.agregarYBorrarFoto {
  position: absolute;
  top: 20px;
  right: 15px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  z-index: 500;
}

/* Menú de agregar/borrar */
.containerBotonAgregarFoto {
  width: 60%;
  position: absolute;
  top: 80px;
  right: 15px;
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  background-color: rgb(12, 1, 1);
  color: #fff;
  border-radius: 10px;
  z-index: 1000;
  box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

.containerBotonAgregarFoto input[type="file"] {
  display: none;
}

.containerBotonAgregarFoto label {
  color: #00ffff;
  cursor: pointer;
}

.containerBotonAgregarFoto label:hover {
  color: #00a0a0;
}

.cerrarContainerBotonAgregarFoto {
  align-self: flex-end;
  font-size: 1.2rem;
  cursor: pointer;
  margin-bottom: 10px;
}

/* Área descripción actualizada */
/* Área descripción */
/* Nuevo diseño más moderno y atractivo para .ContainerDescripcion */

/* Nuevo diseño más moderno y atractivo para .ContainerDescripcion */

.ContainerDescripcion {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 25px;
  margin: 15px;
  border-radius: 20px;
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  border: 1px solid #ddd;
}

.ContainerDescripcion label {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  font-family: 'Segoe UI', sans-serif;
  margin-bottom: 5px;
}

.ContainerDescripcion textarea,
.ContainerDescripcion input[type="text"],
.ContainerDescripcion select {
  width: 100%;
  padding: 12px 15px;
  border-radius: 12px;
  border: 1px solid #ccc;
  background-color: #fff;
  font-size: 1rem;
  font-family: 'Segoe UI', sans-serif;
  transition: border 0.2s, box-shadow 0.2s;
}

.ContainerDescripcion textarea:focus,
.ContainerDescripcion select:focus,
.ContainerDescripcion input[type="text"]:focus {
  border-color: #4caf50;
  box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
  outline: none;
}

.burbujaCampo {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 12px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e0e0e0;
}

hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, #4caf50, transparent);
  margin: 10px 0;
}

#descripcionUsuario,
#gustos {
  min-height: 120px;
  resize: vertical;
  height: 150px;
}

/* Scrollbar personalizado */
.ContainerDescripcion::-webkit-scrollbar {
  width: 10px;
}

.ContainerDescripcion::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 10px;
}

.ContainerDescripcion::-webkit-scrollbar-thumb {
  background-color: #4caf50;
  border-radius: 10px;
  border: 2px solid #f0f0f0;
}

/* Responsive padding */
@media (max-width: 480px) {
  .ContainerDescripcion {
    padding: 15px;
    margin: 10px;
  }
}

/* Botón Actualizar original */
#btnActualizar {
  position: absolute;
  top: 20px;
  left: 15px;
  padding: 10px 20px;
  border-radius: 20px;
  background-color: #4caf50;
  color: white;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  z-index: 2000;
  transition: all 0.2s ease;
}

#btnActualizar:hover {
  background-color: #45a049;
  transform: scale(1.05);
}
