:root {
    --bc-navy: #00203a;
    --bc-azul: #084b90;
    --bc-azul-claro: #2fa5fb;
    --bc-amarelo: #f7d129;
    --bc-bg: #f4f6f8;
    --bc-line: #e2e8f0;
    --bc-text: #1e293b;
}

html {
    font-size: 16px;
}

body {
    background: var(--bc-bg);
    color: var(--bc-text);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--bc-azul-claro);
    box-shadow: 0 0 0 3px rgba(47, 165, 251, 0.22);
}

.bc-input:disabled,
.bc-input.is-disabled,
input:disabled,
select:disabled,
textarea:disabled {
    background: #e8edf2;
    color: #64748b;
    border-color: #cbd5e1;
    cursor: not-allowed;
    box-shadow: none;
    opacity: 1;
}

.tabela-scroll {
    overflow-x: auto;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Header */
.bc-header {
    background: var(--bc-navy);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 40;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.bc-header-inner {
    max-width: 95%;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.bc-header-inner-parceiro {
    max-width: 42rem;
}

.bc-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    text-decoration: none;
}

.bc-logo-slot {
    display: flex;
    align-items: center;
    height: 44px;
    background: #fff;
    border-radius: 6px;
    padding: 0.35rem 0.7rem;
}

.bc-logo-slot img {
    height: 28px;
    width: auto;
    display: block;
}

.bc-brand-text {
    font-weight: 650;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
}

.bc-brand-sub {
    font-size: 0.75rem;
    color: #cbd5e1;
}

.bc-nav {
    display: flex;
    gap: 0.25rem;
}

.bc-nav-link {
    padding: 0.45rem 0.9rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #cbd5e1;
}

.bc-nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.bc-nav-link.is-active {
    background: var(--bc-azul);
    color: #fff;
}

.bc-user {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.bc-user-name {
    color: #e2e8f0;
}

.bc-user-role {
    margin-left: 0.35rem;
    padding: 0.1rem 0.45rem;
    border-radius: 4px;
    background: var(--bc-azul);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.bc-nav-quiet {
    color: #94a3b8;
}

.bc-nav-quiet:hover {
    color: #fff;
}

.bc-btn-sair {
    background: var(--bc-azul);
    color: #fff;
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
}

.bc-btn-sair:hover {
    background: var(--bc-azul-claro);
    color: #fff;
}

.bc-notif {
    position: relative;
}

.bc-notif-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #cbd5e1;
    cursor: pointer;
}

.bc-notif-btn:hover,
.bc-notif-btn[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.bc-notif-btn.has-unread {
    color: var(--bc-amarelo);
}

.bc-notif-count {
    position: absolute;
    top: 0.1rem;
    right: 0.05rem;
    min-width: 1.05rem;
    height: 1.05rem;
    padding: 0 0.25rem;
    border-radius: 999px;
    background: #dc2626;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1.05rem;
    text-align: center;
}

.bc-notif-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 0.45rem);
    width: min(540px, calc(100vw - 1.25rem));
    background: #fff;
    color: var(--bc-text);
    border-radius: 10px;
    box-shadow: 0 16px 40px rgba(0, 32, 58, 0.22);
    border: 1px solid var(--bc-line);
    z-index: 60;
    overflow: hidden;
}

.bc-notif-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.75rem 0.9rem;
    border-bottom: 1px solid var(--bc-line);
    background: #f8fafc;
}

.bc-notif-head strong {
    color: var(--bc-navy);
    font-size: 0.9rem;
}

.bc-notif-all,
.bc-notif-clear {
    background: none;
    border: 0;
    color: var(--bc-azul);
    font-size: 0.75rem;
    font-weight: 650;
    cursor: pointer;
    padding: 0;
}

.bc-notif-clear {
    color: #b91c1c;
}

.bc-notif-head {
    flex-wrap: wrap;
}

.bc-notif-list {
    max-height: 360px;
    overflow-y: auto;
}

.bc-notif-empty {
    padding: 1.25rem 0.9rem;
    color: #64748b;
    font-size: 0.875rem;
}

.bc-notif-item {
    display: block;
    padding: 0.85rem 1.15rem;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    color: inherit;
}

.bc-notif-item:hover {
    background: #f8fbff;
}

.bc-notif-item.is-unread {
    background: #eff6ff;
    box-shadow: inset 3px 0 0 var(--bc-azul-claro);
}

.bc-notif-item.is-parceiro {
    background: #fff8db;
    box-shadow: inset 3px 0 0 var(--bc-amarelo);
}

.bc-notif-item.is-parceiro.is-unread {
    background: #fef3c7;
}

.bc-notif-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--bc-navy);
    background: var(--bc-amarelo);
    border-radius: 4px;
    padding: 0.12rem 0.4rem;
    margin-bottom: 0.25rem;
}

.bc-notif-item-title {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--bc-navy);
}

.bc-notif-item-body {
    display: block;
    font-size: 0.82rem;
    color: #475569;
    margin-top: 0.2rem;
    line-height: 1.45;
}

.bc-notif-item-date {
    display: block;
    font-size: 0.72rem;
    color: #94a3b8;
    margin-top: 0.3rem;
    white-space: nowrap;
}

.bc-footer {
    max-width: 1600px;
    margin: 2.5rem auto 0;
    padding: 1rem 1.5rem 1.5rem;
    text-align: center;
    font-size: 0.75rem;
    color: #94a3b8;
}

/* Flash */
.flash {
    margin-bottom: 1rem;
    border-radius: 8px;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    border: 1px solid;
}

.flash-ok {
    background: #ecfdf5;
    color: #065f46;
    border-color: #a7f3d0;
}

.flash-erro {
    background: #fef2f2;
    color: #991b1b;
    border-color: #fecaca;
}

.flash-aviso {
    background: #fffbeb;
    color: #92400e;
    border-color: #fde68a;
}

.flash-info {
    background: #eff6ff;
    color: #1e3a8a;
    border-color: #bfdbfe;
}

/* Indicators */
.bc-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.bc-kpi {
    background: #fff;
    border: 1px solid var(--bc-line);
    border-radius: 10px;
    padding: 1rem 1.15rem;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
}

.bc-kpi-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.bc-kpi-value {
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--bc-navy);
    line-height: 1;
}

.bc-kpi-note {
    font-size: 0.75rem;
    color: #94a3b8;
}

.bc-kpi-accent {
    width: 4px;
    align-self: stretch;
    background: var(--bc-amarelo);
    border-radius: 4px;
    margin: -1rem 0 -1rem -1.15rem;
}

/* Page chrome */
.bc-page {
    max-width: 95%;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 2rem;
}

.bc-page-narrow {
    max-width: 100%;
}

.bc-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bc-navy);
    line-height: 1.25;
}

.bc-sub {
    color: #64748b;
    font-size: 0.95rem;
    margin-top: 0.2rem;
}

.bc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bc-azul);
    color: #fff;
    font-weight: 650;
    font-size: 0.95rem;
    padding: 0.6rem 1.1rem;
    border-radius: 8px;
    border: 0;
    cursor: pointer;
}

.bc-btn:hover {
    background: var(--bc-azul-claro);
    color: #fff;
}

.bc-btn-ghost {
    background: #fff;
    color: var(--bc-navy);
    border: 1px solid var(--bc-line);
}

.bc-btn-ghost:hover {
    border-color: var(--bc-azul);
    color: var(--bc-azul);
    background: #fff;
}

.bc-btn-danger {
    background: transparent;
    color: #b91c1c;
    border: 0;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}

.bc-toolbar {
    background: #fff;
    border: 1px solid var(--bc-line);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.bc-toolbar-search {
    flex: 1 1 16rem;
    min-width: 12rem;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.bc-toolbar-search .bc-input {
    flex: 1 1 auto;
    min-width: 0;
}

.bc-toolbar-search .bc-btn {
    flex: 0 0 auto;
}

.bc-toolbar-date {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bc-busca-resultados {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 25;
    background: #fff;
    border: 1px solid var(--bc-line);
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(0, 32, 58, 0.12);
    max-height: 22rem;
    overflow: auto;
}

.bc-busca-item {
    display: block;
    padding: 0.55rem 0.75rem;
    text-decoration: none;
    color: var(--bc-text);
    border-bottom: 1px solid #f1f5f9;
}

.bc-busca-item:hover,
.bc-busca-item.is-on {
    background: #eff6ff;
}

.bc-busca-item strong {
    display: block;
    color: var(--bc-navy);
}

.bc-busca-item span {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
}

.bc-busca-vazio {
    padding: 0.7rem 0.85rem;
    color: #64748b;
    font-size: 0.85rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Agenda table */
.bc-sheet {
    background: #fff;
    border: 1px solid var(--bc-line);
    border-radius: 10px;
    overflow: auto;
    max-height: calc(100vh - 11.5rem);
}

.bc-sheet table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 1100px;
    font-size: 0.88rem;
}

.bc-sheet thead th {
    position: sticky;
    top: 0;
    z-index: 3;
    background: var(--bc-navy);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 650;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: left;
    padding: 0.45rem 0.6rem;
    white-space: nowrap;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}

.bc-sheet tbody td {
    border-bottom: 1px solid #edf2f7;
    padding: 0;
    vertical-align: middle;
}

.bc-sheet .slot-hora {
    width: 7.5rem;
    background: #f8fafc;
    font-weight: 700;
    color: var(--bc-navy);
    padding: 0.28rem 0.55rem;
    white-space: nowrap;
    border-right: 1px solid var(--bc-line);
    vertical-align: top;
}

.bc-sheet .slot-hora .cap {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: #64748b;
    margin-top: 0.15rem;
}

.bc-sheet tr.is-lotado .slot-hora {
    background: #fef2f2;
}

.bc-sheet tr.is-lotado .slot-hora .cap {
    color: #b91c1c;
}

.bc-sheet tr.is-vazio td {
    background: #fcfcfd;
}

.bc-sheet tr.is-vazio .cel {
    color: #cbd5e1;
}

.cel {
    display: block;
    min-height: 1.7rem;
    padding: 0.28rem 0.55rem;
    cursor: pointer;
    line-height: 1.25;
}

.cel.cel-readonly {
    cursor: default;
}

.cel.cel-readonly:hover {
    background: transparent;
}

.cel:hover {
    background: #eff6ff;
}

.cel.is-saving {
    background: #f0f9ff;
}

.cel.is-ok {
    background: #ecfdf5;
}

.cel.is-erro {
    background: #fef2f2;
}

.cel .muted {
    color: #94a3b8;
}

.cel.is-editing {
    background: transparent;
    padding: 0.3rem 0.35rem;
}

.cel-editor {
    width: 100%;
    min-height: 1.7rem;
    border: 1px solid var(--bc-azul-claro);
    border-radius: 6px;
    padding: 0.22rem 0.4rem;
    font-size: 0.85rem;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(47, 165, 251, 0.18);
    outline: none;
}

.cel-editor:focus {
    border-color: var(--bc-azul);
    box-shadow: 0 0 0 3px rgba(8, 75, 144, 0.16);
}

.obs-actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.55rem;
    padding: 0 0.55rem 0.28rem;
    min-height: 1.2rem;
}

.obs-form {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.obs-btn {
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 650;
    line-height: 1;
    color: var(--bc-azul);
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
    white-space: nowrap;
}

.obs-btn:hover {
    color: var(--bc-azul-claro);
}

.obs-btn-danger {
    color: #b91c1c;
}

.obs-btn-danger:hover {
    color: #991b1b;
}

tr[data-ag],
[id^="ag-"] {
    scroll-margin-top: 7rem;
    scroll-margin-bottom: 3rem;
}

tr.is-destacado > td {
    background: #eaf4ff !important;
    box-shadow: none;
    transition: background-color 0.65s ease;
}

tr.is-destacado > td:first-child {
    border-radius: 10px 0 0 10px;
    box-shadow: inset 4px 0 0 var(--bc-azul-claro);
}

tr.is-destacado > td:last-child {
    border-radius: 0 10px 10px 0;
}

tr.is-destacado-out > td {
    background: transparent !important;
    box-shadow: none;
    transition: background-color 0.65s ease;
}

@media (prefers-reduced-motion: reduce) {
    tr.is-destacado > td,
    tr.is-destacado-out > td {
        transition: none;
    }
}

.bc-sheet tr.is-draft td {
    background: #f8fbff;
}

.bc-create-bar td {
    background: #f4f8fc;
    padding: 0.75rem 0.9rem;
    border-bottom: 1px solid var(--bc-line);
}

.bc-create-title {
    font-size: 0.85rem;
    font-weight: 650;
    color: var(--bc-navy);
    margin-bottom: 0.6rem;
}

.bc-create-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.6rem;
    margin-bottom: 0.65rem;
}

.bc-create-grid label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 650;
    color: #475569;
}

.bc-create-grid select,
.bc-create-grid input {
    font-weight: 500;
}

.bc-create-erro {
    color: #b91c1c;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.bc-create-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

@media (max-width: 900px) {
    .bc-create-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.cel-status {
    padding: 0.2rem 0.4rem;
}

.status-badge {
    display: inline-block;
    white-space: nowrap;
    border-radius: 999px;
    padding: 0.2rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 650;
}

.tag-parceiro {
    display: inline-block;
    margin-left: 0.35rem;
    background: var(--bc-amarelo);
    color: var(--bc-navy);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
}

.slot-actions {
    margin-top: 0.15rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.slot-actions a,
.slot-actions button {
    font-size: 0.7rem;
    font-weight: 650;
    color: var(--bc-azul);
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.slot-actions .danger {
    color: #b91c1c;
}

/* Sections */
.bc-card {
    background: #fff;
    border: 1px solid var(--bc-line);
    border-radius: 10px;
    padding: 1.15rem 1.25rem;
    margin-bottom: 1.25rem;
}

.bc-card h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bc-navy);
}

/* Pendencias */
.urg-verde,
.urg-amarelo,
.urg-vermelho {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.15rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid;
}

.urg-verde {
    background: #ecfdf5;
    color: #047857;
    border-color: #a7f3d0;
}

.urg-amarelo {
    background: #fffbeb;
    color: #b45309;
    border-color: #fde68a;
}

.urg-vermelho {
    background: #fef2f2;
    color: #b91c1c;
    border-color: #fecaca;
}

.pend-critico {
    box-shadow: inset 4px 0 0 #dc2626;
}

.pend-pulse {
    animation: bc-pulse 2.4s ease-in-out infinite;
}

.bc-pend-busca {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.bc-pend-filtro {
    display: block;
    border-radius: 10px;
    border: 1px solid var(--bc-line);
    background: #fff;
    padding: 0.7rem 0.9rem;
    text-decoration: none;
}

.bc-pend-filtro:hover,
.bc-pend-filtro.is-on {
    border-color: var(--bc-azul);
    box-shadow: 0 0 0 2px rgba(8, 75, 144, 0.12);
}

.bc-pend-filtro-ok {
    border-color: #bbf7d0;
    background: #ecfdf5;
}

.bc-pend-filtro-atencao {
    border-color: #fde68a;
    background: #fffbeb;
}

.bc-pend-filtro-critico {
    border-color: #fecaca;
    background: #fef2f2;
}

.bc-th-sort {
    color: inherit;
    text-decoration: none;
    font-weight: 700;
}

.bc-th-sort:hover {
    color: var(--bc-azul);
}

.bc-paginacao {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.85rem;
    font-size: 0.85rem;
    color: #64748b;
}

.bc-paginacao-nav {
    display: flex;
    gap: 0.4rem;
}

@keyframes bc-pulse {
    0%, 100% { background-color: #fff; }
    50% { background-color: #fee2e2; }
}

@media (prefers-reduced-motion: reduce) {
    .pend-pulse {
        animation: none;
        background-color: #fee2e2;
    }
}

/* Toast */
.bc-toast {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 50;
    background: var(--bc-navy);
    color: #fff;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    box-shadow: 0 8px 24px rgba(0, 32, 58, 0.25);
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
}

.bc-toast.is-on {
    opacity: 1;
    transform: translateY(0);
}

.bc-toast.is-erro {
    background: #991b1b;
}

/* Drawer */
.bc-drawer-bg {
    position: fixed;
    inset: 0;
    background: rgba(0, 32, 58, 0.35);
    z-index: 45;
    display: none;
}

.bc-drawer-bg.is-on {
    display: block;
}

.bc-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: min(420px, 100%);
    background: #fff;
    z-index: 46;
    box-shadow: -8px 0 24px rgba(0, 32, 58, 0.12);
    transform: translateX(100%);
    transition: transform 0.2s ease;
    overflow-y: auto;
    padding: 1.5rem;
}

.bc-drawer.is-on {
    transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
    .bc-drawer {
        transition: none;
    }
}

/* Forms */
.bc-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.3rem;
}

.bc-input {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.55rem 0.75rem;
    font-size: 0.95rem;
    background: #fff;
}

.bc-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--bc-line);
    padding-bottom: 0.5rem;
}

.bc-tab {
    padding: 0.5rem 0.9rem;
    border-radius: 6px 6px 0 0;
    font-weight: 650;
    font-size: 0.9rem;
    color: #64748b;
}

.bc-tab.is-active {
    color: var(--bc-navy);
    background: #fff;
    border: 1px solid var(--bc-line);
    border-bottom-color: #fff;
    margin-bottom: -1px;
}

.parceiro-slot {
    border: 1px solid #bae6fd;
    background: #fff;
    border-radius: 8px;
    padding: 0.7rem 0.4rem;
    font-weight: 650;
    color: var(--bc-azul);
    font-size: 0.95rem;
}

.parceiro-slot:hover,
.parceiro-slot.is-sel {
    background: var(--bc-azul);
    color: #fff;
    border-color: var(--bc-azul);
}

.parceiro-slot .vagas {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    opacity: 0.85;
    margin-top: 0.15rem;
}

@media (max-width: 720px) {
    .bc-kpis {
        grid-template-columns: 1fr;
    }

    .bc-header-inner {
        padding: 0.65rem 1rem;
        gap: 0.75rem;
    }

    .bc-page {
        padding: 1rem;
    }

    .bc-user-name {
        display: none;
    }

    .bc-notif-panel {
        width: min(540px, calc(100vw - 1rem));
        right: -0.5rem;
    }
}

/* Login */
body.bc-login-page {
    min-height: 100vh;
    background:
        radial-gradient(1200px 500px at 10% -10%, rgba(47, 165, 251, 0.22), transparent 55%),
        radial-gradient(900px 420px at 110% 10%, rgba(8, 75, 144, 0.45), transparent 50%),
        var(--bc-navy);
}

.bc-login-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem 2.5rem;
}

.bc-login-brand {
    text-align: center;
    margin-bottom: 1.25rem;
}

.bc-login-logo {
    display: inline-flex;
    align-items: center;
    height: 64px;
    background: #fff;
    border-radius: 10px;
    padding: 0.45rem 1.1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    margin-bottom: 0.85rem;
}

.bc-login-logo img {
    height: 36px;
    width: auto;
    display: block;
}

.bc-login-brand h1 {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
}

.bc-login-brand p {
    color: #cbd5e1;
    font-size: 0.9rem;
    margin-top: 0.15rem;
}

.bc-login-card {
    width: 100%;
    max-width: 440px;
    background: #fff;
    border-radius: 16px;
    padding: 1.35rem 1.4rem 1.15rem;
    box-shadow: 0 22px 50px rgba(0, 16, 32, 0.28);
    position: relative;
    overflow: hidden;
}

.bc-login-accent {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--bc-azul) 0%, var(--bc-azul-claro) 70%, var(--bc-amarelo) 100%);
}

.bc-login-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.3rem;
    background: #eef3f8;
    border-radius: 10px;
    padding: 0.28rem;
    margin: 0.55rem 0 1.05rem;
}

.bc-login-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.55rem 0.5rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #64748b;
    line-height: 1.25;
}

.bc-login-tab:hover {
    color: var(--bc-navy);
}

.bc-login-tab.is-active {
    background: #fff;
    color: var(--bc-navy);
    box-shadow: 0 1px 3px rgba(0, 32, 58, 0.12);
}

.bc-login-pane[hidden] {
    display: none;
}

.bc-login-hint {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0.9rem;
}

.bc-login-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.bc-login-submit {
    width: 100%;
    margin-top: 0.2rem;
    padding: 0.7rem 1rem;
}

.bc-pass-wrap {
    position: relative;
}

.bc-pass-wrap .bc-input {
    padding-right: 2.7rem;
}

.bc-pass-toggle {
    position: absolute;
    right: 0.35rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2rem;
    height: 2rem;
    border: 0;
    background: transparent;
    color: #64748b;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.bc-pass-toggle:hover,
.bc-pass-toggle:focus {
    color: var(--bc-azul);
    background: #f1f5f9;
    outline: none;
}

.bc-login-contato {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.1rem;
    margin-top: 1.15rem;
    padding-top: 0.95rem;
    border-top: 1px solid var(--bc-line);
}

.bc-login-social {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bc-azul);
    background: #f1f6fb;
    border: 1px solid #dbe7f3;
}

.bc-login-social:hover,
.bc-login-social:focus {
    background: var(--bc-azul);
    color: #fff;
    border-color: var(--bc-azul);
    outline: none;
}

.bc-login-copy {
    margin-top: 1.25rem;
    font-size: 0.75rem;
    color: #94a3b8;
    text-align: center;
}

@media (max-width: 480px) {
    .bc-login-card {
        padding: 1.15rem 1rem 1rem;
    }

    .bc-login-tab {
        font-size: 0.75rem;
        padding: 0.5rem 0.35rem;
    }
}
