/* sistema/templates/sistema/login.html — extracted from inline <style> in PR-11. */

    .sistema-login-page {
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 24px;
    }
    .sistema-login-card {
        width: 100%;
        max-width: 420px;
        background: var(--bg-elevated);
        border: 1px solid var(--border-color);
        border-radius: 16px;
        padding: 48px 40px;
    }
    .sistema-login-brand {
        text-align: center;
        margin-bottom: 32px;
    }
    .sistema-login-brand img {
        width: 56px;
        height: 56px;
        border-radius: 12px;
        margin-bottom: 12px;
    }
    .sistema-login-brand-text {
        font-family: var(--font-heading);
        font-weight: 600;
        font-size: 1.6rem;
        color: var(--accent);
    }
    .sistema-login-card h2 {
        font-family: var(--font-heading);
        font-size: 1.8rem;
        font-weight: 600;
        color: var(--text-primary);
        margin-bottom: 8px;
        letter-spacing: -0.02em;
    }
    .sistema-login-card h2::after {
        content: '';
        display: block;
        width: 40px;
        height: 2px;
        background: var(--accent);
        margin-top: 16px;
    }
    .sistema-login-subtitle {
        color: var(--text-secondary);
        font-size: .92rem;
        margin-bottom: 32px;
        margin-top: 16px;
    }
    .sistema-login-error {
        background: rgba(239, 68, 68, 0.1);
        border: 1px solid rgba(239, 68, 68, 0.25);
        color: var(--color-red);
        padding: 12px 16px;
        border-radius: 10px;
        font-size: .88rem;
        margin-bottom: 20px;
    }
    .sistema-login-field {
        margin-bottom: 20px;
    }
    .sistema-login-field label {
        display: block;
        font-size: .82rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        color: var(--text-secondary);
        margin-bottom: 8px;
    }
    .sistema-login-field input {
        width: 100%;
        padding: 12px 16px;
        border: 1px solid var(--border-color);
        border-radius: 10px;
        background: transparent;
        color: var(--text-primary);
        font-family: var(--font-body);
        font-size: .95rem;
        transition: border-color .2s ease, box-shadow .2s ease;
        outline: none;
    }
    .sistema-login-field input:focus {
        border-color: var(--accent);
        box-shadow: 0 0 0 3px var(--accent-glow);
    }
    .sistema-login-field input::placeholder {
        color: var(--text-secondary);
        opacity: 0.5;
    }
    .sistema-login-btn {
        width: 100%;
        padding: 14px;
        background: var(--accent);
        color: #fff;
        border: none;
        border-radius: 10px;
        font-family: var(--font-body);
        font-size: .95rem;
        font-weight: 600;
        cursor: pointer;
        transition: background .2s ease, transform .1s ease;
        margin-top: 8px;
    }
    .sistema-login-btn:hover { background: var(--accent-hover); }
    .sistema-login-btn:active { transform: scale(0.98); }
    .sistema-login-divider {
        display: flex;
        align-items: center;
        gap: 12px;
        margin: 24px 0;
        color: var(--text-secondary);
        font-size: .78rem;
        text-transform: uppercase;
        letter-spacing: 0.1em;
    }
    .sistema-login-divider::before,
    .sistema-login-divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: var(--border-color);
    }
    .sistema-login-google {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 13px 18px;
        background: #ffffff;
        color: #1f1f1f;
        border: 1px solid #dadce0;
        border-radius: 10px;
        font-family: var(--font-body);
        font-size: .95rem;
        font-weight: 500;
        cursor: pointer;
        transition: background .2s ease, box-shadow .2s ease, transform .1s ease;
    }
    .sistema-login-google:hover { background: #f8f9fa; box-shadow: 0 1px 3px rgba(0,0,0,0.12); }
    .sistema-login-google:active { transform: scale(0.98); }
    .sistema-login-google svg { flex-shrink: 0; }
    .sistema-login-footer {
        text-align: center;
        margin-top: 24px;
        padding-top: 20px;
        border-top: 1px solid var(--border-color);
    }
    .sistema-login-footer a {
        color: var(--accent);
        text-decoration: none;
        font-size: .88rem;
        font-weight: 500;
        transition: color .2s ease;
    }
    .sistema-login-footer a:hover { color: var(--accent-hover); }
    @media (max-width: 768px) {
        .sistema-login-card { padding: 36px 24px; margin: 0 16px; }
    }
