/* Fondo con imagen */
body {
  background: url('../documentos/imagen6.png') no-repeat center center fixed;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

/* Oscurecer el fondo */
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  /* Oscurecimiento */
  z-index: -1;
}

/* Contenedor principal */
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Tarjeta (Formulario) */
.card {
  background: rgba(255, 255, 255, 0.1);
  /* Transparente */
  backdrop-filter: blur(10px);
  /* Efecto vidrio */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
  /* Sombra */
  text-align: center;
  width: 350px;
  animation: aparecer 1s ease-in-out;
  /* Animación */
}

/* Animación de entrada */
@keyframes aparecer {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Título */
.title {
  color: rgb(83, 209, 237);
  font-size: 24px;
  margin-bottom: 20px;
}

/* Alertas */
.alert {
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 15px;
  font-size: 14px;
}

.alert.error {
  background: rgba(255, 0, 0, 0.919);
  color: white;
}

.alert.success {
  font-family: Arial, Helvetica, sans-serif;
  background: rgba(0, 255, 0, 0.2);
  color: white;
}

/* Grupo de formulario */
.form-group {
  margin-bottom: 15px;
}

/* Campos de entrada */
.form-group input {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 16px;
  outline: none;
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

/* Botón */
.btn {
  width: 70%;
  padding: 8px;
  margin-bottom: 10px;
  border: none;
  border-radius: 5px;
  background: #4d63f1;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}

.btn:hover {
  background: #3e46e6;
  transform: scale(1.05);
}

.salir-btn {
  display: inline-block;
  width: 65%;
  padding: 8px;

  background: rgba(246, 12, 12, 0.996); /* Fondo rojo con transparencia */
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  transition: background 0.3s ease;
}

.salir-btn:hover {
  background: #be2222;
  transform: scale(1.05);
}