
.login {
    display: flex;
    justify-content: center; /* Centra horizontalmente */
    align-items: center;     /* Centra verticalmente */
    min-height: 100vh;      /* Ocupa el 100% de la altura */
    width: 100%;
    margin: 0;
    padding: 20px;
    padding-top: 80px; /* Espacio para que el navbar no lo tape */
}

/* ==================================================
   TARJETA DE LOGIN (LA CARD)
   ================================================== */
.login-card {
    display: flex;
    width: 100%;
    max-width: 450px; /* Tamaño unificado */
    min-height: 500px;
    background: linear-gradient(#c9f5f1 0%, #7fb9de 50%); /* Tu degradado */
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: auto; 
}

/* ==================================================
   COLUMNA FORMULARIO
   ================================================== */
.login-form {
    width: 100%; 
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Blanco con transparencia para que se vea el degradado de fondo */
    background-color: rgba(255, 255, 255, 0.9); 
}

/* Título */
.login-form h2 {
    color: #143963;
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    font-size: 26px;
}

/* Grupos de Input */
.input-group {
    margin-bottom: 20px;
}

.input-group input {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 25px;
    outline: none;
    background-color: white;
    transition: border-color 0.3s;
}

.input-group input:focus {
    border-color: #5b8cff;
}

/* Checkbox y Olvidé mi contraseña */
.opciones-extra {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-bottom: 20px;
    color: #444;
}

.opciones-extra a {
    color: #143963;
    text-decoration: none;
    font-weight: 600;
}

/* Botón de Login */
.btn-login {
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, #4fe3b1, #5b8cff);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: transform 0.2s, opacity 0.3s;
}

.btn-login:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Enlace a Registro */
.login-link {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
}

.login-link a {
    color: #143963;
    font-weight: bold;
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}