body.login-page {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: #f5f6fa;
    color: #1f2937;
}

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    box-sizing: border-box;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 32px;
    box-sizing: border-box;
}

.login-logo {
    text-align: center;
    margin-bottom: 20px;
}

.login-logo h1 {
    margin: 0;
    font-size: 28px;
    line-height: 1.2;
}

.login-logo p {
    margin: 8px 0 0;
    color: #6b7280;
    font-size: 14px;
}

.alert {
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 18px;
    font-size: 14px;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 15px;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.btn-login {
    width: 100%;
    border: 0;
    border-radius: 10px;
    padding: 13px 16px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    background: #111827;
    color: #fff;
}

.btn-login:hover {
    opacity: 0.95;
}

.login-help {
    margin-top: 16px;
    font-size: 13px;
    color: #6b7280;
    text-align: center;
}
/* Selector de idioma en la pantalla de login */
.language-switcher--login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: -4px 0 22px;
}

.language-switcher--login .language-switcher__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 7px 12px;
    border: 1px solid #d8dee9;
    border-radius: 999px;
    background: #f8fafc;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.language-switcher--login .language-switcher__link:hover {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #1e3a8a;
}

.language-switcher--login .language-switcher__link.is-active {
    background: #111827;
    border-color: #111827;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.18);
}

@media (max-width: 480px) {
    .language-switcher--login {
        gap: 6px;
        margin-bottom: 18px;
    }

    .language-switcher--login .language-switcher__link {
        padding: 7px 10px;
        font-size: 12px;
    }
}
