html {
  background: linear-gradient(135deg, #000000, #003af7);
  font-family: "Segoe UI", sans-serif;
  height: 100%;
}

body {
  margin: 0;
  display: flex;
  justify-content: center;
  margin-top: 10%;
  min-height: 10vh;
}

.contenedor {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  width: 22rem;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 20px;
  animation: fadeIn 0.8s ease-in-out;
}

.contenedor p {
  background-color: rgba(255, 255, 255, 0.9);
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  margin: 0 0 15px 0;
  border-radius: 6px;
  padding: 8px;
}

h1 {
  text-align: center;
  color: #003a7c;
  margin-bottom: 10px;
}

h2 {
  text-align: center;
  color: #f30b0b;
  margin-top: 10px;
}

div.login {
  margin: auto;
  padding: 10px;
  font-size: 18px;
}

select.login,
.login input {
  width: 100%;
  padding: 12px;
  font-size: 15px;
  border: none;
  border-bottom: 2px solid #333;
  background: transparent;
  outline: none;
  transition: border-color 0.3s ease;
}

.login input:focus,
select.login:focus {
  border-bottom: 2px solid #003af7;
}

input {
  box-sizing: border-box;
  font-style: italic;
}

div.boton {
  width: 100%;
  text-align: center;
  margin-top: 20px;
}

.boton input {
  border-radius: 8px;
  background-color: #012ffd;
  font-size: 16px;
  font-weight: bold;
  color: #ffffff;
  border: none;
  padding: 12px 20px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.boton input:hover {
  background-color: #011bb5;
  transform: scale(1.05);
  cursor: pointer;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
