
body {
  font-family: 'Montserrat', sans-serif;
  background-color: #f8f9fa;
  color: #333;
  margin: 0;
  padding: 0;
}

/* === Encabezado y título principal === */
main h1 {
  margin-top: 30px;
  text-align: center;
  font-weight: 700;
  color: #343a40;
}

/* === Tarjeta de información del perfil === */
.card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.info-card {
  margin-bottom: 20px;
}

.info-card h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #007bff;
}

.info-card p,
.info-card a {
  font-size: 1rem;
  color: #555;
  text-decoration: none;
}

/* === Botón para mostrar popup === */
#ShowPopup {
  display: block;
  margin: 0 auto 40px;
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 10px 25px;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#ShowPopup:hover {
  background-color: #0056b3;
}

/* === Estilos del popup === */
.popup {
  display: none; /* Se mostrará con JavaScript */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1000;
}

.popup-content {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  width: 90%;
  max-width: 500px;
  margin: 80px auto;
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
}

/* === Imagen de perfil === */
.perfil-image {
  text-align: center;
  margin-bottom: 20px;
}

#profile-picture {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #007bff;
}

/* === Ícono de cámara y check === */
.camera-icon,
.check-icon {
  display: inline-block;
  cursor: pointer;
  margin: 10px auto;
  text-align: center;
  font-size: 1.5rem;
  color: #007bff;
  background: none;
  border: none;
}

.check-icon {
  margin-left: 10px;
}

.check-icon:hover,
.camera-icon:hover {
  color: #0056b3;
}

/* === Estilos de formulario en el popup === */
.popup-content form label {
  font-weight: 600;
  display: block;
  margin-top: 10px;
  margin-bottom: 5px;
}

.popup-content form input {
  width: 100%;
  padding: 8px 12px;
  border: 1px so
}

  /* ===DARK MODE ENTREGA 5 === */
body.dark-mode {
  background-color: #121212;
  color: #e0e0e0;
}

body.dark-mode .card {
  background-color: #1e1e1e;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}

body.dark-mode .info-card h3 {
  color: #90caf9;
}

body.dark-mode .info-card p,
body.dark-mode .info-card a {
  color: #cccccc;
}

body.dark-mode #ShowPopup {
  background-color: #0d6efd;
  color: white;
}

body.dark-mode #ShowPopup:hover {
  background-color: #0a58ca;
}

body.dark-mode .popup-content {
  background-color: #1e1e1e;
  color: #e0e0e0;
}

body.dark-mode input {
  background-color: #2c2c2c;
  color: #e0e0e0;
  border: 1px solid #444;
}

body.dark-mode input::placeholder {
  color: #aaa;
}

body.dark-mode form label {
  color: #e0e0e0;
}

body.dark-mode .camera-icon,
body.dark-mode .check-icon {
  color: #90caf9;
}

body.dark-mode .camera-icon:hover,
body.dark-mode .check-icon:hover {
  color: #64b5f6;
}

body.dark-mode form button[type="submit"] {
  background-color: #43a047;
}

body.dark-mode form button[type="submit"]:hover {
  background-color: #2e7d32;
}



/* para que el modo oscuro funcione con el botón hay que ponerle: body.dark-mode delante de cada coso a stylear, en otros archivos css está de ejemplo*/
