/* /Components/Layout/MainLayout.razor.rz.scp.css */
.prt-layout[b-sfrxehmc9n] {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* ── Sidebar ── */
.prt-sidebar[b-sfrxehmc9n] {
    width: 220px;
    flex-shrink: 0;
    background-color: #0f1923;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

.prt-brand[b-sfrxehmc9n] {
    display: flex;
    align-items: center;
    padding: 1.25rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    flex-shrink: 0;
}

.prt-brand-name[b-sfrxehmc9n] {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.prt-brand-sub[b-sfrxehmc9n] {
    font-size: 0.6rem;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

/* ── Main ── */
.prt-main[b-sfrxehmc9n] {
    flex: 1;
    min-width: 0;
    background-color: #f4f6f9;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

/* ── Top bar ── */
.prt-topbar[b-sfrxehmc9n] {
    height: 60px;
    background-color: #fff;
    border-bottom: 1px solid #e9ecef;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    gap: 0.6rem;
}

.prt-search[b-sfrxehmc9n] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 0.35rem 0.75rem;
    flex: 1;
    max-width: 380px;
}

.prt-search-icon[b-sfrxehmc9n] {
    color: #adb5bd;
    flex-shrink: 0;
}

.prt-search-input[b-sfrxehmc9n] {
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.85rem;
    color: #495057;
    width: 100%;
}

.prt-search-input[b-sfrxehmc9n]::placeholder {
    color: #adb5bd;
}

.prt-topbar-actions[b-sfrxehmc9n] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.prt-icon-btn[b-sfrxehmc9n] {
    width: 34px;
    height: 34px;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    background: #fff;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    padding: 0;
    font-size: 0.85rem;
}

.prt-icon-btn:hover[b-sfrxehmc9n] {
    background: #f8f9fa;
    color: #343a40;
}

.prt-avatar[b-sfrxehmc9n] {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: #3563e9;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
    user-select: none;
}

/* ── Content ── */
.prt-content[b-sfrxehmc9n] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1.75rem;
}

/* ── Error UI ── */
#blazor-error-ui[b-sfrxehmc9n] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0,0,0,0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-sfrxehmc9n] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

main[b-sfrxehmc9n] {
    flex: 1;
}

.sidebar[b-sfrxehmc9n] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-sfrxehmc9n] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-sfrxehmc9n]  a, .top-row[b-sfrxehmc9n]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-sfrxehmc9n]  a:hover, .top-row[b-sfrxehmc9n]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-sfrxehmc9n]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-sfrxehmc9n] {
        justify-content: space-between;
    }

    .top-row[b-sfrxehmc9n]  a, .top-row[b-sfrxehmc9n]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-sfrxehmc9n] {
        flex-direction: row;
    }

    .sidebar[b-sfrxehmc9n] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-sfrxehmc9n] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-sfrxehmc9n]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-sfrxehmc9n], article[b-sfrxehmc9n] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-sfrxehmc9n] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-sfrxehmc9n] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.prt-nav[b-ew3044pcbx] {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.75rem 0.6rem;
    min-height: 0;
}

.prt-nav-top[b-ew3044pcbx] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.prt-nav-bottom[b-ew3044pcbx] {
    flex-shrink: 0;
    padding-bottom: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.prt-nav-link[b-ew3044pcbx] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.85rem;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    margin-bottom: 2px;
    line-height: 1.4;
}

.prt-nav-link:hover[b-ew3044pcbx] {
    background-color: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.9);
}

.prt-nav-link.active[b-ew3044pcbx] {
    background-color: rgba(53, 99, 233, 0.2);
    color: #fff;
}

.prt-nav-sep[b-ew3044pcbx] {
    border-color: rgba(255,255,255,0.08);
    margin: 0.5rem 0.25rem;
}

.prt-support-btn[b-ew3044pcbx] {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    background-color: #3563e9;
    border: none;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.15s;
}

.prt-support-btn:hover[b-ew3044pcbx] {
    background-color: #2748c7;
    color: #fff;
}

.prt-nav-icon[b-ew3044pcbx] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.8;
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-ynrk3pq44v],
.components-reconnect-repeated-attempt-visible[b-ynrk3pq44v],
.components-reconnect-failed-visible[b-ynrk3pq44v],
.components-pause-visible[b-ynrk3pq44v],
.components-resume-failed-visible[b-ynrk3pq44v],
.components-rejoining-animation[b-ynrk3pq44v] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-ynrk3pq44v],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-ynrk3pq44v],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-ynrk3pq44v],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-ynrk3pq44v],
#components-reconnect-modal.components-reconnect-retrying[b-ynrk3pq44v],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-ynrk3pq44v],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-ynrk3pq44v],
#components-reconnect-modal.components-reconnect-failed[b-ynrk3pq44v],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-ynrk3pq44v] {
    display: block;
}


#components-reconnect-modal[b-ynrk3pq44v] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-ynrk3pq44v 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-ynrk3pq44v 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-ynrk3pq44v 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-ynrk3pq44v]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-ynrk3pq44v 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-ynrk3pq44v {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-ynrk3pq44v {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-ynrk3pq44v {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-ynrk3pq44v] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-ynrk3pq44v] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-ynrk3pq44v] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-ynrk3pq44v] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-ynrk3pq44v] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-ynrk3pq44v] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-ynrk3pq44v] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-ynrk3pq44v 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-ynrk3pq44v] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-ynrk3pq44v {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Companies/Index.razor.rz.scp.css */
/* ── Page header ─────────────────────────────────────────── */
.prt-co-page-title[b-jwzn9yvara] {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -.01em;
    color: #111827;
}

.prt-co-page-subtitle[b-jwzn9yvara] {
    font-size: .85rem;
    color: #6b7280;
}

/* ── Add / primary button ────────────────────────────────── */
.prt-co-btn-add[b-jwzn9yvara] {
    background: #1e2a3a;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: .55rem 1.1rem;
    font-size: .875rem;
    font-weight: 600;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    transition: background .15s, box-shadow .15s;
}

.prt-co-btn-add:hover[b-jwzn9yvara] {
    background: #2c3e54;
    color: #fff;
    box-shadow: 0 2px 8px rgba(30,42,58,.3);
}

.prt-co-btn-add:active[b-jwzn9yvara] {
    background: #141f2b;
    color: #fff;
}

/* ── Stat cards ──────────────────────────────────────────── */
.prt-stat-card[b-jwzn9yvara] {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: 1rem 1.15rem;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
}

.prt-stat-icon[b-jwzn9yvara] {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.prt-stat-label[b-jwzn9yvara] {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #9ca3af;
    line-height: 1;
    margin-bottom: .2rem;
}

.prt-stat-value[b-jwzn9yvara] {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    line-height: 1;
}

/* ── Company card ────────────────────────────────────────── */
.prt-co-card[b-jwzn9yvara] {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    overflow: hidden;
    transition: box-shadow .15s, transform .15s;
}

.prt-co-card:hover[b-jwzn9yvara] {
    box-shadow: 0 4px 16px rgba(0,0,0,.1);
    transform: translateY(-1px);
}

/* Avatar */
.prt-co-avatar[b-jwzn9yvara] {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: .02em;
    flex-shrink: 0;
}

/* Status badge */
.prt-co-status[b-jwzn9yvara] {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .72rem;
    font-weight: 600;
    padding: .22em .6em;
    border-radius: 20px;
}

.prt-co-dot[b-jwzn9yvara] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.prt-co-active[b-jwzn9yvara] {
    background: #dcfce7;
    color: #166534;
}

.prt-co-active .prt-co-dot[b-jwzn9yvara] {
    background: #16a34a;
}

.prt-co-inactive[b-jwzn9yvara] {
    background: #f3f4f6;
    color: #6b7280;
}

.prt-co-inactive .prt-co-dot[b-jwzn9yvara] {
    background: #9ca3af;
}

/* Company info */
.prt-co-name[b-jwzn9yvara] {
    font-size: .95rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
    margin-bottom: .2rem;
}

.prt-co-cnpj[b-jwzn9yvara] {
    font-size: .78rem;
    color: #6b7280;
}

.prt-co-location[b-jwzn9yvara] {
    font-size: .82rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: .3rem;
}

/* Certificate badge row */
.prt-co-cert-row[b-jwzn9yvara] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
}

/* Certificate badges */
.prt-co-cert[b-jwzn9yvara] {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .72rem;
    font-weight: 600;
    padding: .22em .6em;
    border-radius: 4px;
}

.prt-co-cert-ok[b-jwzn9yvara] {
    background: #dcfce7;
    color: #166534;
}

.prt-co-cert-warn[b-jwzn9yvara] {
    background: #fef9c3;
    color: #854d0e;
}

.prt-co-cert-expiring[b-jwzn9yvara] {
    background: #fff7ed;
    color: #c2410c;
}

.prt-co-cert-expired[b-jwzn9yvara] {
    background: #fef2f2;
    color: #b91c1c;
}

/* Upload / change cert link-button */
.prt-co-cert-btn[b-jwzn9yvara] {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    font-size: .7rem;
    font-weight: 600;
    color: #3563e9;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color .12s;
}

.prt-co-cert-btn:hover[b-jwzn9yvara] {
    color: #2748c7;
    text-decoration: underline;
}

/* Action buttons row */
.prt-co-actions[b-jwzn9yvara] {
    display: flex;
    border-top: 1px solid #f3f4f6;
    background: #fafafa;
}

.prt-co-action-btn[b-jwzn9yvara] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .3rem;
    padding: .65rem .4rem;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .07em;
    color: #6b7280;
    background: transparent;
    border: none;
    border-right: 1px solid #f3f4f6;
    cursor: pointer;
    text-decoration: none;
    transition: background .12s, color .12s;
    text-transform: uppercase;
    line-height: 1;
}

.prt-co-action-btn:last-child[b-jwzn9yvara] {
    border-right: none;
}

.prt-co-action-btn:hover[b-jwzn9yvara] {
    background: #f3f4f6;
    color: #1e2a3a;
}

/* ── Add company card (dashed) ───────────────────────────── */
.prt-co-add-card[b-jwzn9yvara] {
    border: 2px dashed #d1d5db !important;
    background: #fafafa !important;
    box-shadow: none !important;
    cursor: pointer;
    min-height: 200px;
}

.prt-co-add-card:hover[b-jwzn9yvara] {
    border-color: #1e2a3a !important;
    background: #f4f6f9 !important;
    transform: none !important;
}

.prt-co-add-icon[b-jwzn9yvara] {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #e0e7ff;
    color: #3563e9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.prt-co-add-card:hover .prt-co-add-icon[b-jwzn9yvara] {
    background: #c7d2fe;
    color: #2748c7;
}

.prt-co-add-title[b-jwzn9yvara] {
    font-size: .95rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: .35rem;
}

.prt-co-add-desc[b-jwzn9yvara] {
    font-size: .8rem;
    color: #9ca3af;
    max-width: 180px;
}

/* ── Modal ───────────────────────────────────────────────── */
.prt-co-modal[b-jwzn9yvara] {
    border: none;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,.18);
}

.prt-co-label[b-jwzn9yvara] {
    display: block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: .3rem;
}

.prt-co-section-title[b-jwzn9yvara] {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: .75rem;
    padding-bottom: .4rem;
    border-bottom: 1px solid #f3f4f6;
}

/* ── Dark-mode ───────────────────────────────────────────── */
[data-bs-theme="dark"] .prt-co-page-title[b-jwzn9yvara]   { color: #f9fafb; }
[data-bs-theme="dark"] .prt-co-page-subtitle[b-jwzn9yvara]{ color: #9ca3af; }
[data-bs-theme="dark"] .prt-stat-card[b-jwzn9yvara]       { background: #1f2937; border-color: #374151; }
[data-bs-theme="dark"] .prt-stat-value[b-jwzn9yvara]      { color: #f9fafb; }
[data-bs-theme="dark"] .prt-co-card[b-jwzn9yvara]         { background: #1f2937; border-color: #374151; }
[data-bs-theme="dark"] .prt-co-name[b-jwzn9yvara]         { color: #f9fafb; }
[data-bs-theme="dark"] .prt-co-cnpj[b-jwzn9yvara],
[data-bs-theme="dark"] .prt-co-location[b-jwzn9yvara]     { color: #9ca3af; }
[data-bs-theme="dark"] .prt-co-actions[b-jwzn9yvara]      { background: #111827; border-color: #374151; }
[data-bs-theme="dark"] .prt-co-action-btn[b-jwzn9yvara]   { color: #9ca3af; border-color: #374151; }
[data-bs-theme="dark"] .prt-co-action-btn:hover[b-jwzn9yvara] { background: #374151; color: #f3f4f6; }
[data-bs-theme="dark"] .prt-co-add-card[b-jwzn9yvara]     { background: #111827 !important; border-color: #374151 !important; }
[data-bs-theme="dark"] .prt-co-add-card:hover[b-jwzn9yvara] { border-color: #3563e9 !important; }
[data-bs-theme="dark"] .prt-co-add-icon[b-jwzn9yvara]     { background: #1f2937; color: #6b7280; }
[data-bs-theme="dark"] .prt-co-add-title[b-jwzn9yvara]    { color: #d1d5db; }
[data-bs-theme="dark"] .prt-co-add-desc[b-jwzn9yvara]     { color: #6b7280; }
[data-bs-theme="dark"] .prt-co-modal[b-jwzn9yvara]        { background: #1f2937; }
/* /Components/Pages/Customers/Index.razor.rz.scp.css */
/* ── Page ──────────────────────────────────────────────── */
.prt-cl-page-title[b-dpdy43q0rn] {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--prt-text-primary, #111827);
}

.prt-cl-page-subtitle[b-dpdy43q0rn] {
    color: var(--prt-text-muted, #6b7280);
    font-size: .9rem;
}

/* ── Add button ────────────────────────────────────────── */
.prt-cl-btn-add[b-dpdy43q0rn] {
    background: #3563e9;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: .875rem;
    font-weight: 600;
    padding: .5rem 1.2rem;
    white-space: nowrap;
}

.prt-cl-btn-add:hover[b-dpdy43q0rn] {
    background: #2a51c8;
    color: #fff;
}

/* ── Table ─────────────────────────────────────────────── */
.prt-cl-table[b-dpdy43q0rn] {
    font-size: .875rem;
    border-collapse: separate;
    border-spacing: 0;
}

.prt-cl-row:hover td[b-dpdy43q0rn] {
    background: #f8faff;
}

/* ── Avatar ────────────────────────────────────────────── */
.prt-cl-avatar[b-dpdy43q0rn] {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    text-transform: uppercase;
}

/* ── Document badge ────────────────────────────────────── */
.prt-cl-doc-badge[b-dpdy43q0rn] {
    display: inline-block;
    font-size: .65rem;
    font-weight: 700;
    border-radius: 4px;
    padding: 1px 5px;
    letter-spacing: .04em;
}

.prt-cl-doc-cnpj[b-dpdy43q0rn] {
    background: #eff6ff;
    color: #1d4ed8;
}

.prt-cl-doc-cpf[b-dpdy43q0rn] {
    background: #f0fdf4;
    color: #15803d;
}

/* ── Danger action button ──────────────────────────────── */
.prt-action-danger[b-dpdy43q0rn] {
    color: #dc2626 !important;
}

.prt-action-danger:hover[b-dpdy43q0rn] {
    background: #fef2f2 !important;
    color: #b91c1c !important;
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* ── Stat cards ─────────────────────────────────────────────── */
.prt-stat-card[b-3v3t1usvjq] {
    background: #fff;
    border-radius: 10px;
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

.prt-card[b-3v3t1usvjq] {
    background: #fff;
    border-radius: 10px;
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

.prt-stat-icon[b-3v3t1usvjq] {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #eef2f7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3563e9;
}

.prt-stat-badge[b-3v3t1usvjq] {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
}

.prt-badge-green[b-3v3t1usvjq] { background: #d1fae5; color: #065f46; }
.prt-badge-blue[b-3v3t1usvjq]  { background: #dbeafe; color: #1e40af; }

.prt-stat-label[b-3v3t1usvjq] {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #9ca3af;
    margin-bottom: 0.25rem;
}

.prt-stat-value[b-3v3t1usvjq] {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.prt-stat-sub[b-3v3t1usvjq] {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.prt-stat-bar[b-3v3t1usvjq] {
    height: 4px;
    background: #f3f4f6;
    border-radius: 2px;
    margin-top: 0.75rem;
    overflow: hidden;
}

.prt-stat-bar-fill[b-3v3t1usvjq] {
    height: 100%;
    background: #3563e9;
    border-radius: 2px;
}

.prt-bar-green[b-3v3t1usvjq] { background: #10b981; }
.prt-bar-red[b-3v3t1usvjq]   { background: #ef4444; }

/* ── Company avatar ─────────────────────────────────────────── */
.prt-company-avatar[b-3v3t1usvjq] {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #3563e9;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

[data-bs-theme="dark"] .prt-stat-card[b-3v3t1usvjq],
[data-bs-theme="dark"] .prt-card[b-3v3t1usvjq] {
    background: #1e293b;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
}

[data-bs-theme="dark"] .prt-stat-icon[b-3v3t1usvjq] {
    background: #334155;
}

[data-bs-theme="dark"] .prt-stat-value[b-3v3t1usvjq] {
    color: #f1f5f9;
}

/* ── NFSe recentes — card + tabela ─────────────────────────── */
.prt-card-nfse[b-3v3t1usvjq] {
    padding: 0 !important;
    overflow: hidden;
}

.prt-card-nfse-header[b-3v3t1usvjq] {
    padding: 1.1rem 1.25rem 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.prt-home-table-wrap[b-3v3t1usvjq] {
    /* ocupa borda interna do card */
}

.prt-home-table[b-3v3t1usvjq] {
    font-size: .875rem;
    margin-bottom: 0;
}

/* Cabeçalho escuro igual ao da página de NFSe */
.prt-home-table thead tr[b-3v3t1usvjq] {
    background-color: #1e2a3a !important;
}

.prt-home-th[b-3v3t1usvjq] {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: rgba(255,255,255,.75) !important;
    background-color: #1e2a3a !important;
    border-bottom: none !important;
    border-color: transparent !important;
    padding: .85rem 1rem;
    white-space: nowrap;
}

.prt-home-td[b-3v3t1usvjq] {
    padding: .7rem 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #f3f4f6 !important;
    border-color: #f3f4f6 !important;
    color: #374151;
    font-size: .85rem;
}

.prt-home-row:last-child .prt-home-td[b-3v3t1usvjq] {
    border-bottom: none !important;
}

.prt-home-row:hover .prt-home-td[b-3v3t1usvjq] {
    background-color: #f9fafb;
}

.prt-home-num[b-3v3t1usvjq] {
    font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
    color: #1e2a3a;
    font-size: .825rem;
    font-weight: 600;
}

/* Badges de status */
.prt-home-badge[b-3v3t1usvjq] {
    display: inline-flex;
    align-items: center;
    padding: .2em .55em;
    border-radius: 5px;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.prt-badge-success[b-3v3t1usvjq]  { background: #d1fae5; color: #065f46; }
.prt-badge-danger[b-3v3t1usvjq]   { background: #fee2e2; color: #991b1b; }
.prt-badge-warning[b-3v3t1usvjq]  { background: #fef3c7; color: #92400e; }
.prt-badge-secondary[b-3v3t1usvjq] { background: #f3f4f6; color: #6b7280; }

/* /Components/Pages/NFSe/Index.razor.rz.scp.css */
/* ── Page header ─────────────────────────────────────────── */
.prt-page-title[b-j25mys32ui] {
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #111827;
}

.prt-page-subtitle[b-j25mys32ui] {
    font-size: .85rem;
    color: #6b7280;
}

/* ── Modal Recibo NFSe ───────────────────────────────────── */
.prt-recibo-modal[b-j25mys32ui] {
    border-radius: 12px;
    overflow: hidden;
    border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

.prt-recibo-header[b-j25mys32ui] {
    background: #1e2a3a;
    border-bottom: none;
    padding: 1.1rem 1.5rem;
    color: #fff;
}

.prt-recibo-header .btn-close[b-j25mys32ui] {
    filter: invert(1) grayscale(1);
    opacity: .7;
}

.prt-recibo-doctype[b-j25mys32ui] {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.55);
}

.prt-recibo-num[b-j25mys32ui] {
    font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
    font-size: .875rem;
    font-weight: 700;
    color: #fff;
}

/* ─ Parties block ─ */
.prt-recibo-parties[b-j25mys32ui] {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 0;
    padding: 1.25rem 1.5rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e5e7eb;
}

.prt-recibo-party-divider[b-j25mys32ui] {
    background: #e5e7eb;
    margin: 0 1.25rem;
}

.prt-recibo-party-label[b-j25mys32ui] {
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: .5rem;
}

.prt-recibo-party-name[b-j25mys32ui] {
    font-size: .975rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: .4rem;
    line-height: 1.3;
}

.prt-recibo-info-row[b-j25mys32ui] {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .8rem;
    color: #6b7280;
    margin-bottom: .2rem;
}

.prt-recibo-info-row i[b-j25mys32ui] {
    font-size: .75rem;
    flex-shrink: 0;
    color: #9ca3af;
}

/* ─ Generic section ─ */
.prt-recibo-section[b-j25mys32ui] {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.prt-recibo-section-label[b-j25mys32ui] {
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: .5rem;
}

.prt-recibo-desc[b-j25mys32ui] {
    font-size: .875rem;
    color: #374151;
    line-height: 1.6;
    white-space: pre-wrap;
}

/* ─ Values row ─ */
.prt-recibo-values-row[b-j25mys32ui] {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-bottom: 1px solid #e5e7eb;
}

.prt-recibo-value-item[b-j25mys32ui] {
    flex: 1 1 120px;
    padding: .9rem 1.5rem;
    border-right: 1px solid #e5e7eb;
}

.prt-recibo-value-item:last-child[b-j25mys32ui] {
    border-right: none;
}

.prt-recibo-value-label[b-j25mys32ui] {
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: .3rem;
}

.prt-recibo-value-data[b-j25mys32ui] {
    font-size: .9rem;
    font-weight: 600;
    color: #111827;
}

.prt-recibo-value-highlight[b-j25mys32ui] {
    background: #f0f9f4;
}

.prt-recibo-value-highlight .prt-recibo-value-label[b-j25mys32ui] {
    color: #16a34a;
}

.prt-recibo-value-highlight .prt-recibo-value-data[b-j25mys32ui] {
    color: #15803d;
}

/* ─ Chave de acesso ─ */
.prt-recibo-chave-section[b-j25mys32ui] {
    background: #fafafa;
}

.prt-recibo-chave-code[b-j25mys32ui] {
    display: block;
    font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
    font-size: .78rem;
    color: #1e2a3a;
    word-break: break-all;
    background: #f1f5f9;
    padding: .6rem .85rem;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    line-height: 1.6;
}

/* ─ Footer ─ */
.prt-recibo-footer[b-j25mys32ui] {
    background: #f8f9fa;
    border-top: 1px solid #e5e7eb;
    padding: .8rem 1.25rem;
    gap: .5rem;
}

.prt-font-mono[b-j25mys32ui] {
    font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
}

/* ── Modal XML Viewer ────────────────────────────────────── */
.prt-xml-modal[b-j25mys32ui] {
    border-radius: 12px;
    overflow: hidden;
    border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.prt-xml-header[b-j25mys32ui] {
    background: #1e2a3a;
    border-bottom: none;
    padding: 1rem 1.5rem;
    flex-shrink: 0;
}

.prt-xml-header .modal-title[b-j25mys32ui] { color: #fff; }
.prt-xml-header small[b-j25mys32ui] { color: rgba(255,255,255,.5); }
.prt-xml-header .btn-close[b-j25mys32ui] { filter: invert(1) grayscale(1); opacity: .7; }

.prt-xml-tabs[b-j25mys32ui] {
    display: flex;
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
    padding: .5rem .75rem 0;
    gap: .25rem;
    flex-shrink: 0;
}

.prt-xml-tab[b-j25mys32ui] {
    background: transparent;
    border: 1px solid transparent;
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    padding: .45rem .9rem;
    font-size: .8rem;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: .3rem;
    transition: all .12s;
}

.prt-xml-tab:hover[b-j25mys32ui] {
    background: #e2e8f0;
    color: #374151;
}

.prt-xml-tab-active[b-j25mys32ui] {
    background: #fff !important;
    border-color: #e2e8f0 #e2e8f0 #fff !important;
    color: #1e2a3a !important;
    font-weight: 600;
}

.prt-xml-tab-badge[b-j25mys32ui] {
    background: #dbeafe;
    color: #1d4ed8;
    font-size: .6rem;
    font-weight: 600;
    padding: .1em .45em;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.prt-xml-modal .modal-body[b-j25mys32ui] {
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
}

.prt-xml-pre[b-j25mys32ui] {
    margin: 0;
    padding: 1.25rem 1.5rem;
    font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
    font-size: .76rem;
    line-height: 1.65;
    color: #1e293b;
    background: #fff;
    white-space: pre;
    overflow-x: auto;
    tab-size: 2;
}

.prt-xml-empty[b-j25mys32ui] {
    padding: 3rem 1.5rem;
    text-align: center;
    color: #9ca3af;
    font-size: .875rem;
}

.prt-xml-footer[b-j25mys32ui] {
    background: #f8f9fa;
    border-top: 1px solid #e5e7eb;
    padding: .8rem 1.25rem;
    gap: .5rem;
    flex-shrink: 0;
}



/* ── Emit button ─────────────────────────────────────────── */
.prt-btn-emit[b-j25mys32ui] {
    background: #1e2a3a;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: .55rem 1.25rem;
    font-size: .875rem;
    font-weight: 500;
    white-space: nowrap;
    transition: background .15s;
    display: flex;
    align-items: center;
}

.prt-btn-emit:hover:not(:disabled)[b-j25mys32ui] {
    background: #2d3e52;
    color: #fff;
}

.prt-btn-emit:disabled[b-j25mys32ui] {
    opacity: .55;
    cursor: not-allowed;
}

/* ── Filter card ─────────────────────────────────────────── */
.prt-filter-card[b-j25mys32ui] {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
}

.prt-filter-label[b-j25mys32ui] {
    display: block;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .07em;
    color: #9ca3af;
    margin-bottom: .35rem;
    text-transform: uppercase;
}

.prt-filter-input[b-j25mys32ui] {
    border-radius: 6px;
    font-size: .85rem;
    border-color: #d1d5db;
    background: #f9fafb;
}

.prt-filter-input:focus[b-j25mys32ui] {
    border-color: #3563e9;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(53, 99, 233, .12);
}

/* Status toggle group */
.prt-status-group[b-j25mys32ui] {
    display: flex;
    gap: 4px;
    flex-wrap: nowrap;
}

.prt-status-btn[b-j25mys32ui] {
    flex: 1;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #374151;
    border-radius: 6px;
    font-size: .78rem;
    font-weight: 500;
    padding: .3rem .5rem;
    cursor: pointer;
    transition: all .12s;
    white-space: nowrap;
    line-height: 1.4;
}

.prt-status-btn:hover[b-j25mys32ui] {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.prt-status-btn.prt-status-active[b-j25mys32ui] {
    background: #1e2a3a !important;
    color: #fff !important;
    border-color: #1e2a3a !important;
}

/* Apply filters button */
.prt-btn-filter[b-j25mys32ui] {
    background: #fff;
    color: #1e2a3a;
    border: 1.5px solid #d1d5db;
    border-radius: 7px;
    font-size: .85rem;
    font-weight: 500;
    padding: .45rem .85rem;
    transition: all .15s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    white-space: nowrap;
}

.prt-btn-filter:hover[b-j25mys32ui] {
    background: #f3f4f6;
    border-color: #9ca3af;
    color: #111827;
}

/* ── Table ───────────────────────────────────────────────── */
.prt-table-card[b-j25mys32ui] {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.prt-nfse-table[b-j25mys32ui] {
    font-size: .875rem;
    margin-bottom: 0;
}

/* Dark header — override Bootstrap table defaults */
.prt-nfse-table thead tr[b-j25mys32ui] {
    background-color: #1e2a3a !important;
}

.prt-th[b-j25mys32ui] {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .75) !important;
    background-color: #1e2a3a !important;
    border-bottom: none !important;
    border-color: transparent !important;
    padding: .85rem 1rem;
    white-space: nowrap;
}

.prt-td[b-j25mys32ui] {
    padding: .75rem 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #f3f4f6 !important;
    border-color: #f3f4f6 !important;
    color: #374151;
}

.prt-nfse-row:last-child .prt-td[b-j25mys32ui] {
    border-bottom: none !important;
}

.prt-nfse-row:hover .prt-td[b-j25mys32ui] {
    background-color: #f9fafb;
}

.prt-nfse-num[b-j25mys32ui] {
    font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
    color: #1e2a3a;
    font-size: .825rem;
    font-weight: 600;
}

/* ── Status badges ───────────────────────────────────────── */
.prt-badge[b-j25mys32ui] {
    display: inline-flex;
    align-items: center;
    padding: .2em .65em;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .05em;
    border-radius: 4px;
    text-transform: uppercase;
    white-space: nowrap;
}

.prt-badge-success[b-j25mys32ui] {
    background: #dcfce7;
    color: #166534;
}

.prt-badge-danger[b-j25mys32ui] {
    background: #fee2e2;
    color: #991b1b;
}

.prt-badge-warning[b-j25mys32ui] {
    background: #fff7ed;
    color: #c2410c;
}

.prt-badge-secondary[b-j25mys32ui] {
    background: #f3f4f6;
    color: #6b7280;
}

/* ── Action buttons ──────────────────────────────────────── */
.prt-action-btn[b-j25mys32ui] {
    padding: .2rem .4rem;
    color: #9ca3af;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 5px;
    line-height: 1;
    font-size: .875rem;
    transition: all .12s;
}

.prt-action-btn:hover[b-j25mys32ui] {
    color: #1e2a3a;
    background: #f3f4f6;
    border-color: #e5e7eb;
}

/* ── Footer / pagination ─────────────────────────────────── */
.prt-table-footer[b-j25mys32ui] {
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    font-size: .825rem;
    min-height: 48px;
}

.prt-page-btn[b-j25mys32ui] {
    border-radius: 6px !important;
    font-size: .8rem;
    min-width: 2rem;
    border-color: #e5e7eb !important;
    color: #374151 !important;
}

.prt-page-btn:hover[b-j25mys32ui] {
    background: #f3f4f6 !important;
}

.page-item.active .prt-page-btn[b-j25mys32ui] {
    background: #1e2a3a !important;
    border-color: #1e2a3a !important;
    color: #fff !important;
}

.page-item.disabled .prt-page-btn[b-j25mys32ui] {
    opacity: .4;
}

/* ── Dark-mode overrides ─────────────────────────────────── */
[data-bs-theme="dark"] .prt-page-title[b-j25mys32ui]      { color: #f9fafb; }
[data-bs-theme="dark"] .prt-page-subtitle[b-j25mys32ui]   { color: #9ca3af; }
[data-bs-theme="dark"] .prt-filter-card[b-j25mys32ui]     { background: #1f2937; border-color: #374151; }
[data-bs-theme="dark"] .prt-filter-label[b-j25mys32ui]    { color: #6b7280; }
[data-bs-theme="dark"] .prt-filter-input[b-j25mys32ui]    { background: #111827; border-color: #374151; color: #f3f4f6; }
[data-bs-theme="dark"] .prt-status-btn[b-j25mys32ui]      { background: #1f2937; border-color: #374151; color: #d1d5db; }
[data-bs-theme="dark"] .prt-status-btn:hover[b-j25mys32ui]{ background: #374151; }
[data-bs-theme="dark"] .prt-btn-filter[b-j25mys32ui]      { background: #1f2937; color: #f3f4f6; border-color: #4b5563; }
[data-bs-theme="dark"] .prt-btn-filter:hover[b-j25mys32ui]{ background: #374151; }
[data-bs-theme="dark"] .prt-table-card[b-j25mys32ui]      { background: #1f2937; border-color: #374151; }
[data-bs-theme="dark"] .prt-nfse-table thead tr[b-j25mys32ui] { background-color: #0f172a !important; }
[data-bs-theme="dark"] .prt-th[b-j25mys32ui]             { background-color: #0f172a !important; }
[data-bs-theme="dark"] .prt-td[b-j25mys32ui]            { border-color: #374151 !important; color: #d1d5db; }
[data-bs-theme="dark"] .prt-nfse-row:hover .prt-td[b-j25mys32ui] { background-color: #374151; }
[data-bs-theme="dark"] .prt-nfse-num[b-j25mys32ui]      { color: #93c5fd; }
[data-bs-theme="dark"] .prt-badge-success[b-j25mys32ui]  { background: #14532d; color: #86efac; }
[data-bs-theme="dark"] .prt-badge-danger[b-j25mys32ui]   { background: #7f1d1d; color: #fca5a5; }
[data-bs-theme="dark"] .prt-badge-warning[b-j25mys32ui]  { background: #7c2d12; color: #fdba74; }
[data-bs-theme="dark"] .prt-table-footer[b-j25mys32ui]   { background: #111827; border-color: #374151; }
[data-bs-theme="dark"] .prt-page-btn[b-j25mys32ui]       { border-color: #374151 !important; color: #d1d5db !important; }
[data-bs-theme="dark"] .prt-page-btn:hover[b-j25mys32ui] { background: #374151 !important; }
[data-bs-theme="dark"] .page-item.active .prt-page-btn[b-j25mys32ui] { background: #3563e9 !important; border-color: #3563e9 !important; }

/* ── Modal Emitir NFSe ───────────────────────────────────── */
.prt-emit-modal[b-j25mys32ui] {
    border: none;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,.18);
}

.prt-emit-section-title[b-j25mys32ui] {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: .75rem;
    padding-bottom: .4rem;
    border-bottom: 1px solid #f3f4f6;
}

.prt-emit-label[b-j25mys32ui] {
    display: block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: .3rem;
}

.prt-emit-badge[b-j25mys32ui] {
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .05em;
    padding: .2rem .5rem;
    border-radius: 4px;
}

.prt-emit-company-name[b-j25mys32ui] {
    font-size: .82rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    max-width: 240px;
}

.prt-emit-badge-prod[b-j25mys32ui] {
    background: #dcfce7;
    color: #166534;
}

.prt-emit-badge-homol[b-j25mys32ui] {
    background: #fef9c3;
    color: #854d0e;
}

.prt-emit-result-icon[b-j25mys32ui] {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.prt-emit-result-success[b-j25mys32ui] {
    background: #dcfce7;
    color: #16a34a;
}

.prt-emit-result-error[b-j25mys32ui] {
    background: #fee2e2;
    color: #dc2626;
}

.prt-emit-chave[b-j25mys32ui] {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: .75rem 1rem;
    max-width: 480px;
    text-align: left;
}

.prt-emit-chave-label[b-j25mys32ui] {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #9ca3af;
}

.prt-emit-chave code[b-j25mys32ui] {
    font-size: .78rem;
    color: #374151;
    word-break: break-all;
}

/* ── Dark-mode: modal emissão ───────────────────────────── */
[data-bs-theme="dark"] .prt-emit-modal[b-j25mys32ui]         { background: #1f2937; }
[data-bs-theme="dark"] .prt-emit-section-title[b-j25mys32ui] { border-color: #374151; }
[data-bs-theme="dark"] .prt-emit-badge-prod[b-j25mys32ui]    { background: #14532d; color: #86efac; }
[data-bs-theme="dark"] .prt-emit-badge-homol[b-j25mys32ui]   { background: #713f12; color: #fde68a; }
[data-bs-theme="dark"] .prt-emit-chave[b-j25mys32ui]         { background: #111827; border-color: #374151; }
[data-bs-theme="dark"] .prt-emit-chave code[b-j25mys32ui]    { color: #d1d5db; }

/* ── Readonly (tributa\u00e7\u00e3o preview) ────────────────────────── */
.prt-readonly[b-j25mys32ui] {
    background-color: #f3f4f6 !important;
    color: #6b7280 !important;
    cursor: default !important;
    border-color: #e5e7eb !important;
}

.prt-readonly:focus[b-j25mys32ui] {
    box-shadow: none !important;
    outline: none !important;
    border-color: #e5e7eb !important;
}

[data-bs-theme="dark"] .prt-readonly[b-j25mys32ui] {
    background-color: #111827 !important;
    color: #9ca3af !important;
    border-color: #374151 !important;
}
/* ── Customer chip (cliente selecionado) ─────────────────── */
.prt-cliente-chip[b-j25mys32ui] {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem .85rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
}

[data-bs-theme="dark"] .prt-cliente-chip[b-j25mys32ui] {
    background: #14532d;
    border-color: #166534;
}

/* ── Customer search results list ────────────────────────── */
.prt-cliente-resultado[b-j25mys32ui] {
    display: block;
    width: 100%;
    padding: .75rem 1.25rem;
    background: none;
    border: none;
    border-bottom: 1px solid #f3f4f6;
    text-align: left;
    cursor: pointer;
    transition: background .1s;
}

.prt-cliente-resultado:hover[b-j25mys32ui] {
    background: #f9fafb;
}

.prt-cliente-resultado:last-child[b-j25mys32ui] {
    border-bottom: none;
}

[data-bs-theme="dark"] .prt-cliente-resultado[b-j25mys32ui] {
    border-color: #374151;
    color: #d1d5db;
}

[data-bs-theme="dark"] .prt-cliente-resultado:hover[b-j25mys32ui] {
    background: #374151;
}

/* ── Customer search table (modal pesquisa) ──────────────── */
.prt-busca-thead[b-j25mys32ui] {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #f9fafb;
}

.prt-busca-th[b-j25mys32ui] {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #9ca3af;
    padding: .6rem 1rem;
    border-bottom: 1px solid #e5e7eb !important;
    white-space: nowrap;
}

.prt-busca-td[b-j25mys32ui] {
    padding: .65rem 1rem;
    vertical-align: middle;
    border-color: #f3f4f6 !important;
    color: #374151;
}

.prt-busca-row[b-j25mys32ui] {
    cursor: pointer;
}

.prt-busca-row:hover .prt-busca-td[b-j25mys32ui] {
    background: #f3f4f6;
}

[data-bs-theme="dark"] .prt-busca-thead[b-j25mys32ui] { background: #1f2937; }
[data-bs-theme="dark"] .prt-busca-th[b-j25mys32ui]    { border-color: #374151 !important; }
[data-bs-theme="dark"] .prt-busca-td[b-j25mys32ui]    { border-color: #374151 !important; color: #d1d5db; }
[data-bs-theme="dark"] .prt-busca-row:hover .prt-busca-td[b-j25mys32ui] { background: #374151; }
/* /Components/Shared/MunicipalitySearch.razor.rz.scp.css */
.prt-mun-wrap[b-33jzg0xmfq] {
    position: relative;
}

.prt-mun-dropdown[b-33jzg0xmfq] {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    z-index: 1050;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .10);
    max-height: 240px;
    overflow-y: auto;
}

.prt-mun-item[b-33jzg0xmfq] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.45rem 0.75rem;
    background: transparent;
    border: none;
    text-align: left;
    font-size: .875rem;
    color: #111827;
    cursor: pointer;
    transition: background .12s;
}

    .prt-mun-item:hover[b-33jzg0xmfq] {
        background: #f0f4ff;
    }

.prt-mun-badge[b-33jzg0xmfq] {
    display: inline-block;
    min-width: 2.2rem;
    padding: 0.1rem 0.35rem;
    font-size: .7rem;
    font-weight: 600;
    color: #fff;
    background: #3563e9;
    border-radius: 0.25rem;
    text-align: center;
    flex-shrink: 0;
}

.prt-mun-feedback[b-33jzg0xmfq] {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    padding: 0.5rem 0.75rem;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    z-index: 1050;
    font-size: .8rem;
}
