/* _content/Atendimento/Pages/AutoAtendimento/ListaAutorizacoes.razor.rz.scp.css */
.main-bg[b-bwmuwgh4hb] {
    --guia-bg: #e8f7ef; /* antes #f5fff9 */
    --guia-bg-alt: #d6f0e1; /* antes #ebf7f1 */
    --guia-border: #9fcab2; /* antes #cfe9db */
    --bucket-title: #0b5e35; /* antes #0d6b40 */
    --chip-bg: #d2ebdc; /* antes #e8f4ee */
    --chip-tipo-bg: #bfe2cc; /* antes #d7efe3 */
    --chip-cod-bg: #c6deec; /* antes #dfeef7 */
    --chip-txt: #07341f; /* antes #0b3b25 */
    --proc-divider: #bcd7c8; /* antes #dfece6 */
}


/* Card da guia mais destacado e com zebra entre guias */
.guia-card[b-bwmuwgh4hb] {
    background: var(--guia-bg);
    border: 1px solid var(--guia-border);
    border-radius: 14px;
    padding: 16px 18px;
    box-shadow: 0 8px 22px rgba(0,0,0,.10);
}

    .guia-card.alt[b-bwmuwgh4hb] {
        background: var(--guia-bg-alt);
    }

/* Cabeçalho do card */
.guia-head h4[b-bwmuwgh4hb] {
    margin: 0 0 6px 0;
}

.guia-meta[b-bwmuwgh4hb] {
    color: #3e4c46;
    font-size: 14px;
}

/* Título de cada bucket (seção) */
.bucket-title[b-bwmuwgh4hb] {
    margin: 18px 0 10px;
    font-weight: 800;
    color: var(--bucket-title);
}

/* Lista de procedimentos sem tabela */
.proc-list[b-bwmuwgh4hb] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Item em grid, responsivo */
.proc-item[b-bwmuwgh4hb] {
    display: grid;
    grid-template-columns: auto auto 1fr auto; /* tipo | código | descrição | qtd */
    gap: 10px 12px;
    align-items: start;
    border-radius: 10px;
    padding: 10px 12px;
    background: #ffffffcc; /* antes #ffffffa6 */
    border: 1px solid #cfe2d6; /* antes #e8efe9 */
}

.guia-card.alt .proc-item[b-bwmuwgh4hb] {
    background: #ffffffd6;
}

/* Chips */
.chip[b-bwmuwgh4hb] {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 18px;
    color: var(--chip-txt);
    background: var(--chip-bg);
    border: 1px solid #d9e7e0;
    white-space: nowrap;
}

    .chip.tipo[b-bwmuwgh4hb] {
        background: var(--chip-tipo-bg);
        font-weight: 700;
    }

    .chip.cod[b-bwmuwgh4hb] {
        background: var(--chip-cod-bg);
        font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    }

/* Campos */
.proc-desc[b-bwmuwgh4hb] {
    color: #153f2c;
}

.proc-qtd[b-bwmuwgh4hb] {
    text-align: right;
    font-weight: 700;
}

/* Opções */
.guia-actions[b-bwmuwgh4hb] {
    margin-top: 10px;
}




/* === GRID COM ÁREAS (desktop) === */
.proc-item[b-bwmuwgh4hb]{
  display: grid;
  grid-template-columns: auto auto 1fr auto;   /* tipo | cod | desc | qtd */
  grid-template-areas: "tipo cod desc qtd";
  gap: 10px 12px;
  align-items: start;
}

.proc-item .chip.tipo[b-bwmuwgh4hb] { grid-area: tipo; }
.proc-item .chip.cod[b-bwmuwgh4hb]  { grid-area: cod;  }
.proc-item .proc-desc[b-bwmuwgh4hb] { grid-area: desc; }
.proc-item .proc-qtd[b-bwmuwgh4hb]  { grid-area: qtd;  justify-self: end; align-self: center; }

/* === MOBILE: cabeçalho em cima, descrição embaixo === */
@media (max-width: 720px){
  .proc-item[b-bwmuwgh4hb]{
    grid-template-columns: auto auto 1fr;      /* tipo | cod | qtd */
    grid-template-areas:
      "tipo cod qtd"
      "desc desc desc";
  }

  /* tira aquele order antigo do .chip.cod, não precisa mais */
  .chip.cod[b-bwmuwgh4hb]{ order: 0; }

  .proc-desc[b-bwmuwgh4hb]{ margin-top: 2px; }               /* só pra dar respiro */
}
/* _content/Atendimento/Shared/CabecalhoUnimed.razor.rz.scp.css */
/* 1) Faça o miolo do header respeitar EXATAMENTE o mesmo limite do conteúdo */
.faixa-topo > .main-content[b-q7sciza70f] {
    width: 100%;
    max-width: 1100px; /* <<< TROQUE para o MESMO valor do seu conteúdo (ex.: 980px, 1100px, etc.) */
    margin-left: auto;
    margin-right: auto;
    padding-left: 12px; /* <<< TROQUE para o MESMO gutter do seu conteúdo */
    padding-right: 12px;
}

/* 2) Evita que algo dentro do header “estoure” o limite por texto grande etc. */
.faixa-topo .cabecalho-inner[b-q7sciza70f],
.faixa-topo .cabecalho-top[b-q7sciza70f],
.faixa-topo .cabecalho-col[b-q7sciza70f],
.faixa-topo .cabecalho-actions[b-q7sciza70f] {
    min-width: 0;
}

/* 3) Opcional: se seu CSS global usa seletor encadeado (.main-bg > .main-content),
      garanta o mesmo comportamento dentro do header também */
.faixa-topo .main-content[b-q7sciza70f] {
    box-sizing: border-box; /* segurança contra overflow lateral */
}









/* ===== Botões do cabeçalho (escopo do componente) ===== */
.faixa-topo .btn-cab[b-q7sciza70f] {
    /* zera interferência do Bootstrap sem quebrar acessibilidade */
    all: unset;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 34px;
    padding: 0 12px;
    border-radius: 8px;
    /*font-weight: 700;*/
    line-height: 1;
    cursor: pointer;
    user-select: none;
    box-shadow: 0 2px 0 rgba(0,0,0,.08);
    transition: transform .05s ease, filter .15s ease, opacity .15s ease, background-color .15s ease;
    /* garante que cabem em espaços apertados */
    min-width: 0;
    max-width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: small;
}

    .faixa-topo .btn-cab:focus-visible[b-q7sciza70f] {
        outline: 2px solid #0a4e32; /* verde escuro */
        outline-offset: 2px;
        border-radius: 10px;
    }

/* --- Variante padrão (verde sólido) --- */
.faixa-topo .btn-success.btn-cab[b-q7sciza70f] {
    background: #0d6b40; /* verde Unimed */
    color: #fff;
}

    .faixa-topo .btn-success.btn-cab:hover[b-q7sciza70f] {
        filter: brightness(1.05);
    }

    .faixa-topo .btn-success.btn-cab:active[b-q7sciza70f] {
        transform: translateY(1px);
    }

/* --- Variante danger (vermelho) --- */
.faixa-topo .btn-danger.btn-cab[b-q7sciza70f] {
    background: #c9302c;
    color: #fff;
}

    .faixa-topo .btn-danger.btn-cab:hover[b-q7sciza70f] {
        filter: brightness(1.05);
    }

    .faixa-topo .btn-danger.btn-cab:active[b-q7sciza70f] {
        transform: translateY(1px);
    }

/* --- Variante ghost (translúcido) --- */
/* use adicionando a classe .btn-ghost junto com .btn-cab */
.faixa-topo .btn-cab.btn-ghost[b-q7sciza70f] {
    background: rgba(255,255,255,.24);
    color: #0d3b2b;
}

/* Ícone opcional dentro do botão (se usar <svg> ou <span class="ico">) */
.faixa-topo .btn-cab .ico[b-q7sciza70f] {
    width: 18px;
    height: 18px;
    display: inline-block;
    flex: 0 0 auto;
}

/* Botões no painel do menu mobile ocupam a largura toda e um tiquinho mais altos */
.menu-mobile .menu-panel .btn-cab[b-q7sciza70f] {
    width: 100%;
    height: 40px;
}

/* Leve ajuste em telas médias */
@media (max-width: 820px) {
    .faixa-topo .btn-cab[b-q7sciza70f] {
        padding: 0 10px;
    }
}









/* ===== Faixa verde full-width ===== */
.faixa-topo[b-q7sciza70f] {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #a6d648; /* faixa verde até as bordas */
    border-bottom: 1px solid rgba(0,0,0,.12);
}

/* ===== Miolo do cabeçalho (limitado pelo .main-content do seu layout) ===== */
.cabecalho-inner[b-q7sciza70f] {
    height: 60px; /* desktop */
    display: flex;
    align-items: center;
    gap: 10px;
    color: #073a2a;
}

.logo-unimed[b-q7sciza70f] {
    height: 26px;
    width: auto;
    flex: 0 0 auto;
}

.titulos .t1[b-q7sciza70f] {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .3px;
    line-height: 1.05;
    font-size: 1.02rem;
}

.titulos .t2[b-q7sciza70f] {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .3px;
    line-height: 1.05;
    font-size: .95rem;
    opacity: .95;
}

.spacer[b-q7sciza70f] {
    flex: 1;
}

/* ===== Bloco de CONTEXTO (apenas desktop) ===== */
.contexto-desktop[b-q7sciza70f] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: rgba(255,255,255,.40);
    border: 1px solid rgba(255,255,255,.50);
    border-radius: 8px;
    padding: 6px 10px;
    min-width: 320px;
    max-width: 520px;
    color: #0b3b25;
}

    .contexto-desktop b[b-q7sciza70f] {
        color: #0d6b40;
    }
    /* verde Unimed escuro */
    .contexto-desktop .linha[b-q7sciza70f] {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.15;
        font-size: .92rem;
    }

    .contexto-desktop .loading[b-q7sciza70f] {
        opacity: .8;
    }

/* ===== Ações (desktop) ===== */
.cabecalho-actions[b-q7sciza70f] {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn-cab[b-q7sciza70f] {
    border-radius: 8px;
    height: 34px;
    padding: 0 12px;
    font-weight: 700;
}

/* ===== Menu (mobile) ===== */
.menu-mobile[b-q7sciza70f] {
    display: none; /* escondido no desktop */
    position: relative;
}

    .menu-mobile > summary[b-q7sciza70f] {
        list-style: none;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 34px;
        border-radius: 8px;
        background: rgba(255,255,255,.20);
        color: #0d3b2b;
        font-weight: 800;
        user-select: none;
    }

        .menu-mobile > summary[b-q7sciza70f]::-webkit-details-marker {
            display: none;
        }

.menu-panel[b-q7sciza70f] {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: #fff;
    color: #173a2b;
    width: min(380px, 92vw);
    max-height: calc(100svh - 60px - 24px); /* 60px = altura desktop */
    overflow: auto;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

.painel-contexto[b-q7sciza70f] {
    padding: 8px;
    border-radius: 8px;
    background: #f5fff9;
    border: 1px solid #e1efe8;
    margin-bottom: 8px;
}

    .painel-contexto .titulo-sec[b-q7sciza70f] {
        font-weight: 700;
        margin-bottom: 6px;
        color: #0b3b25;
    }

    .painel-contexto .linha[b-q7sciza70f] {
        font-size: .92rem;
        color: #1a4a37;
        line-height: 1.25;
    }

.painel-actions[b-q7sciza70f] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

    .painel-actions .btn-cab[b-q7sciza70f] {
        height: 40px;
    }

/* ===== Breakpoints ===== */
@media (max-width: 1200px) {
    /* Esconde o contexto quando a área aperta pra não quebrar os botões */
    .contexto-desktop[b-q7sciza70f] {
        display: none;
    }
    /* mostra o     menu */
    .menu-mobile[b-q7sciza70f] {
        display: block;
    }
}

@media (max-width: 760px) {
    .cabecalho-inner[b-q7sciza70f] {
        height: 46px;
    }
    /* altura mobile */
    .logo-unimed[b-q7sciza70f] {
        display: none;
    }
    /* some a logo pra ganhar espaço */
    .cabecalho-actions[b-q7sciza70f] {
        display: none;
    }
    /* no mobile só o menu */
    .menu-mobile[b-q7sciza70f] {
        display: block;
    }

    .menu-panel[b-q7sciza70f] {
        max-height: calc(100svh - 46px - 24px); /* ajusta à altura do header mobile */
    }
}
/* _content/Atendimento/Shared/MainLayout.razor.rz.scp.css */
.page[b-lcufe5afin] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-lcufe5afin] {
    flex: 1;
}

.sidebar[b-lcufe5afin] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-lcufe5afin] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-lcufe5afin]  a, .top-row .btn-link[b-lcufe5afin] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-lcufe5afin] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-lcufe5afin] {
        display: none;
    }

    .top-row.auth[b-lcufe5afin] {
        justify-content: space-between;
    }

    .top-row a[b-lcufe5afin], .top-row .btn-link[b-lcufe5afin] {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-lcufe5afin] {
        flex-direction: row;
    }

    .sidebar[b-lcufe5afin] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-lcufe5afin] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-lcufe5afin], article[b-lcufe5afin] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* _content/Atendimento/Shared/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-593erkvcc6] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-593erkvcc6] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-593erkvcc6] {
    font-size: 1.1rem;
}

.oi[b-593erkvcc6] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-593erkvcc6] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-593erkvcc6] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-593erkvcc6] {
        padding-bottom: 1rem;
    }

    .nav-item[b-593erkvcc6]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-593erkvcc6]  a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item[b-593erkvcc6]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-593erkvcc6] {
        display: none;
    }

    .collapse[b-593erkvcc6] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    
    .nav-scrollable[b-593erkvcc6] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
