body {
    font-family: "Figtree", sans-serif;
    background-color: #fafafa;
    color: #222;
}

.login-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column; /* para que logo y card estén verticalmente */
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-color: #fafafa;
}

.logo-wrapper {
    max-width: 150px;
    width: 100%;
    margin-bottom: 0; /* sin margen para que no se separe del contenedor */
}

.logo-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.1));
}

.login-card {
    background: #fff;
    max-width: 420px;
    width: 100%;
    padding: 2.5rem 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 0 10px rgb(0 0 0 / 0.05);
    border: none;
    margin-top: 0; /* Sin margen superior */
}


.login-card h4 {
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #032688;
    text-align: center;
}

label {
    font-weight: 500;
    font-size: 0.95rem;
    color: #444;
}

.form-control {
    border-radius: 0.4rem;
    border: 1.5px solid #ddd;
    padding: 0.6rem 0.8rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #032688;
    box-shadow: none;
}

.form-check-label {
    user-select: none;
    font-size: 0.9rem;
    color: #555;
}

.btn-primary {
    background-color: #032688;
    border: none;
    padding: 0.55rem 1.25rem;
    font-weight: 600;
    border-radius: 0.4rem;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #061c57;
}

.text-link {
    font-size: 0.9rem;
    color: #032688;
    text-decoration: none;
    transition: color 0.3s ease;
}

.text-link:hover {
    color: #061c57;
    text-decoration: underline;
}

.footer-text {
    font-size: 0.85rem;
    color: #999;
    text-align: center;
    margin-top: 1.8rem;
    user-select: none;
}

/* Invalid feedback style */
.invalid-feedback {
    font-size: 0.85rem;
    color: #dc3545;
    margin-top: 0.25rem;
}

.logo-wrapper {
    max-width: 150px;
    margin-left: auto;
    margin-right: auto;
}

.logo-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.1));
}


