* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, sans-serif;
}

body {
   background-color: #edf1f4;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.login-card {
    max-width: 440px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 2.5rem;
    box-shadow: 0 20px 40px -10px rgba(0, 102, 255, 0.3);
    padding: 2.8rem 2.2rem;
}

.brand {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-img {
    width: 250px;
    height: auto;
    margin-bottom: 0.5rem;
}

.subhead {
    color: #14275a;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
}

.login-title h2 {
    color: #14275a;
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
}

.login-title p {
    color: #14275a;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    margin-top: -0.5rem;
}

.input-field {
    width: 100%;
    background: #f5faff;
    border: 2px solid #cce4ff;
    border-radius: 50px;
    padding: 0.9rem 1.4rem;
    font-size: 1rem;
    outline: none;
}

.input-field:focus {
    border-color: #0077ff;
    box-shadow: 0 0 0 3px rgba(0, 119, 255, 0.2);
    background: white;
}

.login-btn {
    background: #14275a;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    padding: 1rem;
    width: 100%;
    border: none;
    border-radius: 60px;
    cursor: pointer;
    margin-bottom: 1rem;
}

.login-btn:hover {
    background: #031138;
}

.register-link {
    text-align: center;
    font-size: 0.85rem;
}

.register-link a {
    color: #14275a;
    text-decoration: none;
    font-weight: 600;
}

.footer-note {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.7rem;
    color: #5f7fa0;
}

.error-box {
    background: #ffe3e3;
    color: #b00020;
    padding: 0.8rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    text-align: center;
}

/* Botón de "Regresar a Home" */
.btn-home {
    display: inline-block;
    padding: 12px 25px;
    background-color:  #14275a;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 20px;
}

.btn-home:hover {
    background-color: #031138;
    transform: translateY(-2px); /* Efecto de "elevación" al pasar el ratón */
}

.btn-home i {
    margin-right: 10px; /* Espacio entre el ícono y el texto */
}

/* Si quieres un estilo para cuando el botón es deshabilitado, puedes agregar esto */
.btn-home:disabled {
    background-color: #bbb;
    cursor: not-allowed;
}