
html, body.nfas-frontend-app {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 100%;
    background: #F5F8FB;
}
body.nfas-frontend-app {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: #0B1F33;
    overflow-x: hidden;
}
body.nfas-frontend-app * { box-sizing: border-box; }
body.nfas-frontend-app .nfas-workspace-page {
    margin: 0 !important;
    max-width: none !important;
}
body.nfas-frontend-app .nfas-appbar {
    top: 0 !important;
}
body.nfas-frontend-app .nfas-workspace-page .nfas-ws-left,
body.nfas-frontend-app .nfas-workspace-page .nfas-ws-right {
    top: 58px !important;
    height: calc(100vh - 58px) !important;
}
body.nfas-frontend-app .nfas-workspace-page .nfas-ws-shell {
    min-height: calc(100vh - 58px) !important;
}
body.nfas-frontend-app .nfas-workspace-page .nfas-ws-grid-wrap {
    height: calc(100vh - 204px);
}
body.nfas-frontend-app .nfas-ws-center-scroll {
    height: calc(100vh - 116px);
}
body.nfas-frontend-app .wrap { margin: 0; }
body.nfas-frontend-app .button,
body.nfas-frontend-app button.button,
body.nfas-frontend-app input[type="submit"].button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid #b8c6d5;
    border-radius: 6px;
    background: #fff;
    color: #005B9F;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}
body.nfas-frontend-app .button:hover,
body.nfas-frontend-app button.button:hover {
    border-color: #005B9F;
    color: #002C4B;
}
body.nfas-frontend-app .button-primary,
body.nfas-frontend-app button.button-primary {
    border-color: #005B9F;
    background: #005B9F;
    color: #fff;
}
body.nfas-frontend-app .button-link {
    border: 0;
    padding: 0;
    background: transparent;
    color: #005B9F;
    cursor: pointer;
}
body.nfas-frontend-app .description {
    color: #526173;
    font-size: 12px;
}
body.nfas-frontend-app .notice {
    margin: 12px 16px;
    padding: 10px 14px;
    border: 1px solid #D9E2EC;
    border-left-width: 4px;
    border-radius: 7px;
    background: #fff;
}
body.nfas-frontend-app .notice-success { border-left-color: #1E9E5A; }
body.nfas-frontend-app .notice-warning { border-left-color: #F59E0B; }
body.nfas-frontend-app .notice-error { border-left-color: #D92D20; }
body.nfas-frontend-app .notice p { margin: 0; }
body.nfas-frontend-app .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Porta de entrada da rota limpa */
.nfas-app-gate-shell {
    min-height: 100vh;
    background:
        radial-gradient(circle at 85% 10%, rgba(0,185,250,.10), transparent 30%),
        linear-gradient(145deg, #F5F8FB, #FFFFFF 58%);
}
.nfas-app-gate-top {
    min-height: 66px;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #002C4B;
    border-bottom: 3px solid #00B9FA;
}
.nfas-app-gate-brand {
    display: inline-flex;
    align-items: center;
}
.nfas-app-gate-brand img {
    display: block;
    width: 150px;
    max-height: 44px;
    object-fit: contain;
}
.nfas-app-gate-about {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}
.nfas-app-gate-about:hover { color: #BDEEFF; }
.nfas-app-gate-content {
    width: min(900px, calc(100% - 32px));
    margin: 0 auto;
    padding: 52px 0 80px;
}
.nfas-app-gate-content .nfas-public-gate {
    max-width: 860px !important;
    margin: 0 auto !important;
}

/* Conta no frontend */
.nfas-account-panel {
    max-width: 760px;
}
.nfas-account-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 16px 0;
}
.nfas-account-field {
    border: 1px solid #D9E2EC;
    border-radius: 8px;
    padding: 12px 14px;
    background: #fff;
}
.nfas-account-field span {
    display: block;
    margin-bottom: 4px;
    color: #526173;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.nfas-account-field strong {
    font-size: 14px;
    font-weight: 600;
}
@media (max-width: 720px) {
    .nfas-app-gate-top { padding: 0 16px; }
    .nfas-app-gate-brand img { width: 128px; }
    .nfas-app-gate-content { padding-top: 28px; }
    .nfas-account-grid { grid-template-columns: 1fr; }
}
