body,
.login-contribuinte-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    font-family: 'Rawline', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.background {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.4) blur(3px);
    z-index: 0;
}

.login-card {
    position: relative;
    border-radius: 1.25rem;
    width: 100%;
    max-width: 520px;
    margin: 2rem;
    background: #fff;
    padding: 2.25rem;
    box-shadow: 0 22px 56px rgba(0, 0, 0, 0.28);
    z-index: 1;
}

.link-primary:hover {
    background: none !important;
}

.logo-sistema {
    max-height: 68px;
}

.brand-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
}

.system-name {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #123a7a;
    text-wrap: balance;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
}

.govbr-message-box {
    border: 1px solid #d4e5ff;
    background: linear-gradient(180deg, #f4f8ff 0%, #eef4ff 100%);
    border-radius: 0.875rem;
    padding: 1rem 1.25rem;
}

.govbr-message-title {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1351b4;
}

.govbr-message-text {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.45;
    color: #2f3f59;
}

.govbr-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 0.95rem 1rem;
    background: #f8fafc;
    border-radius: 0.8rem;
    border: 1px solid #e7edf5;
}

.govbr-benefit-item {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
    color: #23354d;
    font-size: 0.9rem;
    line-height: 1.4;
}

.govbr-benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.15rem;
    min-height: 1.15rem;
    margin-top: 0.12rem;
    color: #1351b4;
}

.govbr-help-text {
    color: #4a5a73;
    font-size: 0.88rem;
}

.govbr-help-link {
    color: #1351b4;
    text-decoration: none;
    font-weight: 600;
}

.govbr-help-link:hover {
    text-decoration: underline;
}

@media (max-width: 576px) {
    .login-card {
        margin: 1rem;
        padding: 1.5rem 1.2rem;
    }

    .govbr-message-title {
        font-size: 1rem;
    }

    .logo-sistema {
        max-height: 58px;
    }

    .system-name {
        font-size: 1.1rem;
    }

    .govbr-benefit-item {
        font-size: 0.86rem;
    }
}