/* /Layout/MainLayout.razor.rz.scp.css */
.gm-layout[b-hgh3e8n7d1] {
    min-height: 100vh;
    background: var(--gm-base-bg)
}
.gm-sidebar[b-hgh3e8n7d1]{
  position:fixed;left:0;top:0;bottom:0;width:220px;
  overflow:hidden;
  background:
    radial-gradient(900px 380px at 20% 10%, rgba(255,255,255,.26), rgba(255,255,255,0) 60%),
    radial-gradient(700px 320px at 80% 30%, rgba(255,255,255,.18), rgba(255,255,255,0) 65%),
    linear-gradient(180deg, #f6c453 0%, #f2a93b 100%);
  color:#111827;
  display:flex;
  flex-direction:column;
  z-index:1000;
  position:relative;
  isolation:isolate; /* cria um stacking context pra garantir o ::before ficar vis�vel */
}

.gm-sidebar[b-hgh3e8n7d1]::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;

  /* IMPORTANT�SSIMO em Blazor: arquivo em `wwwroot/images/...` precisa ser referenciado por caminho absoluto */
  background-image:url('/images/navbar-texture.png');
  background-repeat:repeat;
  background-size:200px 200px;
  background-position:0 0;

  opacity:.18;
  mix-blend-mode:multiply;
  filter:contrast(125%) saturate(105%);
  pointer-events:none;
}

/* fallback extra: se algum browser ignorar blend, garante que ainda apare�a uma �marca d'�gua� */
@supports not (mix-blend-mode: multiply){
  .gm-sidebar[b-hgh3e8n7d1]::before{opacity:.12;filter:contrast(115%)}
}

.gm-sidebar > *[b-hgh3e8n7d1]{position:relative;z-index:1}
.gm-logo[b-hgh3e8n7d1]{padding:1.5rem 1rem;border-bottom:1px solid rgba(17,24,39,.12);text-align:center}
.gm-logo-title[b-hgh3e8n7d1]{font-size:1.8rem;font-weight:800;line-height:1;color:#111827}
.gm-logo-sub[b-hgh3e8n7d1]{opacity:.8;font-size:.85rem;margin-top:.25rem;color:#111827}
.gm-nav[b-hgh3e8n7d1]{display:flex;flex-direction:column;padding:.75rem}
.gm-nav-link[b-hgh3e8n7d1]{display:flex;gap:10px;align-items:center;padding:.75rem 1rem;border-radius:.5rem;color:rgba(17,24,39,.92);text-decoration:none;margin-bottom:.25rem}
.gm-nav-link .bi[b-hgh3e8n7d1]{width:20px;text-align:center}
.gm-nav-link:hover[b-hgh3e8n7d1]{color:#111827;background:rgba(255,255,255,.28)}
.gm-nav-link.active[b-hgh3e8n7d1]{color:#111827;background:rgba(255,255,255,.42)}
.gm-nav-footer[b-hgh3e8n7d1]{margin-top:auto;padding:.75rem}
.gm-logout[b-hgh3e8n7d1]{width:100%;background:transparent;border:none;text-align:left}

.gm-main[b-hgh3e8n7d1]{margin-left:220px;padding:20px;min-height:100vh}

@media (max-width: 768px){
  .gm-sidebar[b-hgh3e8n7d1]{position:relative;width:100%;height:auto}
  .gm-main[b-hgh3e8n7d1]{margin-left:0}
}
/* /Pages/Login.razor.rz.scp.css */
.brand[b-5nv4o5guue] {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 6px;
    --scale: 1;
    display: inline-block;
    text-align: center;
    color: #111;
}

.brand__rule[b-5nv4o5guue] {
    max-width: 100%;
}

.brand__top[b-5nv4o5guue] {
    display: inline-flex;
    align-items: baseline; /* importante para parecer “tipográfico” */
    justify-content: center;
    white-space: nowrap;
    font-family: "OptimusPrincepsSemiBold", serif;
    font-weight: 600;
    line-height: 1; /* evita altura extra */
    transform: scaleY(1.10); /* “Redimensionar Verticalmente: 110%” */
    transform-origin: bottom;
}

/* Letras grandes e os “restos” */
.brand__g[b-5nv4o5guue] {
    font-size: calc(96px * var(--scale));
    position: relative;
    top: calc(8px * var(--scale)); /* simula “baseline shift” */
}

.brand__rest1[b-5nv4o5guue] {
    font-size: calc(72px * var(--scale));
    position: relative;
    top: calc(6px * var(--scale));
}

.brand__amp[b-5nv4o5guue] {
    font-size: calc(96px * var(--scale));
    margin: 0 calc(14px * var(--scale));
    position: relative;
    top: calc(6px * var(--scale));
}

.brand__m[b-5nv4o5guue] {
    font-size: calc(98px * var(--scale));
    position: relative;
    top: calc(6px * var(--scale));
}

.brand__rest2[b-5nv4o5guue] {
    font-size: calc(96px * var(--scale));
    position: relative;
    top: calc(8px * var(--scale));
}

/* Divisória */
.brand__rule[b-5nv4o5guue] {
    width: 100%;
    max-width: calc(940px * var(--scale)); /* limite semelhante ao recorte */
    margin: calc(10px * var(--scale)) auto calc(14px * var(--scale));
    border-top: 2px solid #111; /* ajuste a espessura */
    opacity: 0.9;
}

/* Linha de baixo */
.brand__bottom[b-5nv4o5guue] {
    font-family: "Poppins", sans-serif;
    font-weight: 300; /* Poppins Light */
    font-size: calc(46px * var(--scale));
    letter-spacing: calc(0.74em); /* “Espaçamento 743” ~ tracking alto */
    line-height: 1;
    padding-left: calc(0.74em); /* compensa o último espaço */
}

@font-face {
    font-family: "OptimusPrincepsSemiBold";
    src: url("/fonts/OptimusPrincepsSemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

.login-page[b-5nv4o5guue] {
    min-height: calc(100vh - 40px);
    display: grid;
    place-items: center;
    background: var(--gm-base-bg);
    padding: 20px;
}

.login-card .brand[b-5nv4o5guue] {
    --scale: 0.42; /* ajuste fino aqui: 0.38 ~ 0.50 */
}

.login-card[b-5nv4o5guue] {
    width: min(420px, 92vw);
    background: #fff;
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: grid;
    gap: 14px;
    overflow: hidden;
}

.login-card form[b-5nv4o5guue] {
    display: grid;
    gap: 14px;
}

.login-title[b-5nv4o5guue] {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    text-align: left;
}

.login-field[b-5nv4o5guue] {
    display: grid;
    gap: 8px;
}

.login-label[b-5nv4o5guue] {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

.login-input[b-5nv4o5guue] {
    width: 100%;
    box-sizing: border-box;
    height: 42px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    padding: 0 14px;
    font-size: 14px;
    color: #111827;
    outline: none;
    background: #fff;
    transition: border-color 120ms ease, box-shadow 120ms ease;
}

.login-input[b-5nv4o5guue]::placeholder {
    color: #9ca3af;
}

.login-input:focus[b-5nv4o5guue] {
    border-color: #f6c453;
    box-shadow: 0 0 0 4px rgba(246, 196, 83, 0.25);
}

.login-password[b-5nv4o5guue] {
    position: relative;
    display: grid;
}

.login-password .login-input[b-5nv4o5guue] {
    padding-right: 40px;
}

.login-eye[b-5nv4o5guue] {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #9ca3af;
    user-select: none;
    border: 0;
    background: transparent;
    padding: 0;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
}

.login-eye:hover:not(:disabled)[b-5nv4o5guue] {
    color: #6b7280;
}

.login-button[b-5nv4o5guue] {
    margin-top: 6px;
    height: 44px;
    border: 0;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    background: #f6c453;
    color: #111827;
    transition: filter 120ms ease, transform 60ms ease;
}

.login-button:disabled[b-5nv4o5guue] {
    opacity: 0.7;
    cursor: not-allowed;
}

.login-button:not(:disabled):hover[b-5nv4o5guue] {
    filter: brightness(0.98);
}

.login-button:not(:disabled):active[b-5nv4o5guue] {
    transform: translateY(1px);
}

.login-error[b-5nv4o5guue] {
    margin-top: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    font-size: 13px;
}

.login-input[b-5nv4o5guue]::-ms-reveal,
.login-input[b-5nv4o5guue]::-ms-clear {
    display: none;
}

.login-input[b-5nv4o5guue]::-webkit-credentials-auto-fill-button,
.login-input[b-5nv4o5guue]::-webkit-caps-lock-indicator,
.login-input[b-5nv4o5guue]::-webkit-contacts-auto-fill-button {
    visibility: hidden;
    display: none !important;
    pointer-events: none;
}
/* /Pages/Peticoes.razor.rz.scp.css */
.peticoes-page .form-section[b-gek5jpqry4]{display:none}
.peticoes-page .form-section.active[b-gek5jpqry4]{display:block}
.peticoes-page .progress-bar[b-gek5jpqry4]{height:10px;border-radius:5px}
.peticoes-page input[id^="taxa_"][b-gek5jpqry4]{border-color:#ced4da !important;box-shadow:none !important}
.peticoes-page input[id^="taxa_"]:focus[b-gek5jpqry4]{border-color:#86b7fe !important;box-shadow:0 0 0 .25rem rgba(13,110,253,.25) !important}
.peticoes-page .checkbox-group[b-gek5jpqry4]{max-height:300px;overflow-y:auto;border:1px solid #dee2e6;border-radius:.375rem;padding:15px;margin-top:10px}
.peticoes-page .checkbox-group.is-invalid[b-gek5jpqry4]{border-color:#dc3545 !important}
.peticoes-page .checkbox-item[b-gek5jpqry4]{margin-bottom:10px;padding:8px;border-radius:5px;transition:background-color .2s}
.peticoes-page .checkbox-item:hover[b-gek5jpqry4]{background-color:#f8f9fa}
.peticoes-page .checkbox-item:last-child[b-gek5jpqry4]{margin-bottom:0}
.peticoes-page .optional-field[b-gek5jpqry4]{border-left:3px solid #0d6efd;padding-left:10px}
.peticoes-page .loading-spinner[b-gek5jpqry4]{width:20px;height:20px;border:2px solid #f3f3f3;border-top:2px solid #0d6efd;border-radius:50%;animation:spin-b-gek5jpqry4 1s linear infinite;margin-left:10px}
@keyframes spin-b-gek5jpqry4{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}
.peticoes-page .invalid-feedback[b-gek5jpqry4]{font-size:.875em}
/* /Pages/Prazos.razor.rz.scp.css */
.prazos-page .gm-hint[b-bhl5u4yn0t]{font-size:.9rem;color:#334155}

/* --- Modals (editar/confirmar) ---
   Observação: os modais são renderizados fora da árvore normal, então aplicamos via wrapper. */
.prazos-modal .modal-content[b-bhl5u4yn0t]{
    border:0;
    border-radius:16px;
    box-shadow:0 20px 50px rgba(0,0,0,.18);
    overflow:hidden;
}

.prazos-modal .modal-header[b-bhl5u4yn0t]{
    background:
      radial-gradient(900px 260px at 10% 0%, rgba(28,34,38,.06), rgba(28,34,38,0) 60%),
      linear-gradient(180deg, #ffffff 0%, #faf7f2 100%);
    color:#111827;
    border-bottom:1px solid rgba(17,24,39,.10);
}

.prazos-modal .modal-title[b-bhl5u4yn0t]{font-weight:800}

.prazos-modal .modal-body[b-bhl5u4yn0t]{background:linear-gradient(180deg,#ffffff 0%, #fcfbf8 100%)}

.prazos-modal .modal-footer[b-bhl5u4yn0t]{background:#fff;border-top:1px solid rgba(17,24,39,.12)}

.prazos-modal .edit-grid[b-bhl5u4yn0t]{background:#fff;border:1px solid rgba(17,24,39,.10);border-radius:14px;padding:14px}

.prazos-modal .edit-grid .row.g-3 > [class^="col-"][b-bhl5u4yn0t]{
    display:flex;
    flex-direction:column;
}

.prazos-modal .form-label[b-bhl5u4yn0t]{margin-bottom:.35rem}

.prazos-modal .modal-backdrop.show[b-bhl5u4yn0t]{opacity:.58;}
/* /Pages/Processos.razor.rz.scp.css */
.processos-page .tab-pill[b-n0tfdb6stu]{
    border: 1px solid rgba(17,24,39,.12);
    background: #ffffff;
    color: #111827;
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 800;
    min-width: 220px;
    text-align: center;
}

.processos-page .gm-kpi-wrap[b-n0tfdb6stu] {
    background: #d6e1c7;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
}

.processos-page .gm-kpi[b-n0tfdb6stu] {
    background: #edebe6;
    border-radius: 8px;
    padding: 12px;
    font-weight: 600;
    font-size: 0.8rem;
    color: #67594e;
    text-align: center;
}

.processos-page .gm-kpi .kpi-title[b-n0tfdb6stu]{font-size:.78rem;opacity:.85}
.processos-page .gm-kpi .kpi-value[b-n0tfdb6stu] {
    font-weight: 900;
    font-size: 1.1rem;
    margin-top: 6px;
    color: #619885
}

@media (max-width: 992px){
    .processos-page .gm-kpi-wrap[b-n0tfdb6stu]{grid-template-columns: repeat(2, minmax(0, 1fr));}
}

.processos-page .tab-pill.active[b-n0tfdb6stu]{
    background: var(--gm-primary);
    border-color: var(--gm-primary);
    color: var(--gm-text);
}

.processos-page .dash-title[b-n0tfdb6stu]{
    font-weight:800;
    color:#475569;
    letter-spacing:.2px;
    margin:0;
    display:flex;
    align-items:center;
    gap:8px;
}

.processos-page .docs-wrap[b-n0tfdb6stu]{
    border: 1px dashed rgba(17,24,39,.18);
    border-radius: 14px;
    padding: 12px;
    background: #fff;
}

.processos-page .docs-header[b-n0tfdb6stu]{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap;
    margin-bottom: 10px;
}

.processos-page .docs-progress[b-n0tfdb6stu]{
    height: 10px;
    border-radius: 999px;
    background: #eef2ff;
    border: 1px solid rgba(17,24,39,.10);
    overflow:hidden;
}

.processos-page .docs-progress > div[b-n0tfdb6stu]{
    height: 100%;
    background: linear-gradient(90deg,var(--gm-primary-strong) 0%, var(--gm-primary) 100%);
    transition: width .25s ease;
}
/* /Pages/Protocolo.razor.rz.scp.css */
.protocolo-page .modal-content[b-ftht6zrpd2]{
    border:0;
    border-radius:16px;
    box-shadow:0 20px 50px rgba(0,0,0,.18);
    overflow:hidden;
}

/* preferir wrapper para garantir aplicação do CSS isolado */
.protocolo-modal .modal-content[b-ftht6zrpd2]{
    border:0;
    border-radius:16px;
    box-shadow:0 20px 50px rgba(0,0,0,.18);
    overflow:hidden;
}

.protocolo-modal .modal-header[b-ftht6zrpd2]{
    background:
      radial-gradient(900px 260px at 10% 0%, rgba(28,34,38,.06), rgba(28,34,38,0) 60%),
      linear-gradient(180deg, #ffffff 0%, #faf7f2 100%);
    color:#111827;
    border-bottom:1px solid rgba(17,24,39,.10);
}

.protocolo-page .modal-header[b-ftht6zrpd2],
.protocolo-modal .modal-title[b-ftht6zrpd2]{font-weight:800}

.protocolo-modal .modal-body[b-ftht6zrpd2]{background:linear-gradient(180deg,#ffffff 0%, #fcfbf8 100%)}

.protocolo-modal .modal-footer[b-ftht6zrpd2]{background:#fff;border-top:1px solid rgba(17,24,39,.12)}

.protocolo-modal .edit-grid[b-ftht6zrpd2]{background:#fff;border:1px solid rgba(17,24,39,.10);border-radius:14px;padding:14px}

.protocolo-modal .modal-backdrop.show[b-ftht6zrpd2]{opacity:.58;}

.protocolo-page .gm-tabs[b-ftht6zrpd2]{
    display:flex;
    gap:0;
    border-bottom:1px solid rgba(17,24,39,.12);
    margin-top: 6px;
}

.protocolo-page .gm-tab[b-ftht6zrpd2]{
    padding:10px 16px;
    border:1px solid rgba(17,24,39,.12);
    border-bottom:0;
    background:#fff;
    color:#111827;
    font-weight:700;
    border-top-left-radius:10px;
    border-top-right-radius:10px;
    cursor:pointer;
}

.protocolo-page .gm-tab.active[b-ftht6zrpd2]{
    background:var(--gm-primary);
    color:var(--gm-text);
    border-color:var(--gm-primary);
}

.protocolo-page .gm-kpi-wrap[b-ftht6zrpd2] {
    background: #d6e1c7;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 10px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.protocolo-page .gm-kpi[b-ftht6zrpd2] {
    background: #edebe6;
    border-radius: 8px;
    padding: 12px;
    font-weight: 600;
    font-size: 0.8rem;
    color: #67594e;
    text-align: center;
}

.protocolo-page .gm-kpi .kpi-title[b-ftht6zrpd2]{font-size:.78rem;opacity:.85}
    .protocolo-page .gm-kpi .kpi-value[b-ftht6zrpd2] {
        font-weight: 900;
        font-size: 1.1rem;
        margin-top: 6px;
        color: #619885
    }

.protocolo-page .panel .row.g-3 > [class^="col-"][b-ftht6zrpd2]{
    display:flex;
    flex-direction:column;
}

.protocolo-page .form-label[b-ftht6zrpd2]{margin-bottom:.35rem}

@media (max-width: 992px){
    .protocolo-page .gm-kpi-wrap[b-ftht6zrpd2]{grid-template-columns: repeat(2, minmax(0, 1fr));}
}
