/* Reset básico */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Body simulado */
body, html {
  margin: 0%;
  background: url('../img/fondo.jpg') no-repeat center center fixed;
  background-size: cover;
  background-color: #0a315e;
  font-family: "Open Sans", sans-serif;
  display: flex center;
  height: 100%;
}

/* Página simulada */
.page-content {
  padding: 50px;
  text-align: center;
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.5); /* Fondo negro semitransparente */
  /*padding: 2rem;*/
  border-radius: 10px;
  max-width: 800px;
  margin: 50px auto;
}

/* Modal base */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.329);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background-color: #4daeff;
  color: #ffffff;
  padding: 2rem;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  position: relative;
}

/* Botón cerrar */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Formulario */
.modal-content form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.modal-content input,
.modal-content button {
  padding: 10px;
  font-size: 1rem;
}

.modal-content button {
  background-color: #007BFF;
  color: white;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.modal-content button:hover {
  background-color: #0056b3;
}

/* Responsive adicional si es necesario */
@media (max-width: 500px) {
  .modal-content {
    padding: 1rem;
  }
  .page-content {
    width: 90%;
  }
}

/* Notificacion */
.notification {
  margin-top: 1rem;
  font-weight: bold;
  display: none;
  padding: 10px;
  border-radius: 5px;
}

.notification.success {
  color: #155724;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
}

.notification.error {
  color: #721c24;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
}
