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

body {
    font-family: Arial, sans-serif;
    background-image: linear-gradient(to top right, #3B65A0, #5C52A3, #6E46A8);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-container {
    background-color: white;
    padding: 2rem;
    border-radius: 18px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logo-container{
    padding-bottom: 35px;
    padding-top: 25px;
}

.logo {
    width: 120px;
}

.titulo {
    color: black;
    font-size: 1.4rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    width: 80%;
    padding-bottom: 45px;
}

.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 1rem;
}

input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.btn {
    background-image: linear-gradient(to top right, #3f63a0, #5b53a3, #6b47a7);
    color: white;
    padding: 0.75rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 25px;
    transition: ease all 0.3s;
}

a{
    text-decoration: none;
    color: white;
}

.btn:hover {
    scale: 1.05;
}

.form-footer {
    text-align: center;
    margin-top: 1rem;
}

.form-footer a {
    color: #007bff;
    text-decoration: none;
    font-size: 0.9rem;
}

.form-footer a:hover {
    text-decoration: underline;
}

h3 {
    text-align: center;
    color: black;
    font-size: 1.3rem;
    padding-bottom: 0.5rem;
}

.instrucciones{
    padding-bottom: 2.5rem;
    width: 80%;
    margin-left: 0px;
}

/* Estilos para mensajes de error */
.error-container {
  background-color: #ffebee;
  color: #c62828;
  border: 1px solid #f44336;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 15px;
  font-size: 14px;
  display: none;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.error-container::before {
  content: "×";
  font-weight: bold;
  margin-right: 8px;
  font-size: 18px;
}