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

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

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

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

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

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

/* ── Top bar ── */
.adm-topbar[b-lhhx1bhnof] {
    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;
}

.adm-search[b-lhhx1bhnof] {
    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;
}

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

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

.adm-search-input[b-lhhx1bhnof]::placeholder {
    color: #adb5bd;
}

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

.adm-icon-btn[b-lhhx1bhnof] {
    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;
}

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

.adm-help-btn[b-lhhx1bhnof] {
    font-size: 0.8rem;
    padding: 0.3rem 0.75rem;
}

.adm-new-btn[b-lhhx1bhnof] {
    font-size: 0.8rem;
    padding: 0.3rem 0.85rem;
    white-space: nowrap;
}

.adm-avatar[b-lhhx1bhnof] {
    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 ── */
.adm-content[b-lhhx1bhnof] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1.75rem;
}

/* ── Error UI ── */
#blazor-error-ui[b-lhhx1bhnof] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0,0,0,0.2);
    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-lhhx1bhnof] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

#blazor-error-ui[b-lhhx1bhnof] {
    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-lhhx1bhnof] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.adm-nav[b-ntia3psfxj] {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.75rem 0.6rem;
    min-height: 0;
}

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

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

.adm-nav-link[b-ntia3psfxj] {
    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;
}

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

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

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

.adm-support-btn[b-ntia3psfxj] {
    border-radius: 6px;
    font-size: 0.82rem;
    padding: 0.45rem;
    background-color: #3563e9;
    border-color: #3563e9;
}

.adm-nav-icon[b-ntia3psfxj] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.8;
}

.bi-house-door-fill-nav-menu[b-ntia3psfxj] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-ntia3psfxj] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.bi-lock-nav-menu[b-ntia3psfxj] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM5 8h6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.bi-person-fill-nav-menu[b-ntia3psfxj] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-fill' viewBox='0 0 16 16'%3E%3Cpath d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3Zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
}

.bi-person-badge-nav-menu[b-ntia3psfxj] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-badge' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3zM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3Cpath d='M4.5 0A2.5 2.5 0 0 0 2 2.5V14a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2.5A2.5 2.5 0 0 0 11.5 0h-7zM3 2.5A1.5 1.5 0 0 1 4.5 1h7A1.5 1.5 0 0 1 13 2.5v10.795a4.2 4.2 0 0 0-.776-.492C11.392 12.387 10.063 12 8 12s-3.392.387-4.224.803a4.2 4.2 0 0 0-.776.492V2.5z'/%3E%3C/svg%3E");
}

.bi-arrow-bar-left-nav-menu[b-ntia3psfxj] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-arrow-bar-left' viewBox='0 0 16 16'%3E%3Cpath d='M12.5 15a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5ZM10 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H9.5a.5.5 0 0 1 .5.5Z'/%3E%3C/svg%3E");
}

[b-ntia3psfxj] .nav-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

    [b-ntia3psfxj] .nav-link:hover {
        color: #fff;
        background-color: rgba(255, 255, 255, 0.08);
    }

    [b-ntia3psfxj] .nav-link.active {
        color: #fff;
        background-color: rgba(255, 255, 255, 0.15);
    }

.bi[b-ntia3psfxj] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-ntia3psfxj] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-ntia3psfxj] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-ntia3psfxj] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.bi-lock-nav-menu[b-ntia3psfxj] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM5 8h6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.bi-person-nav-menu[b-ntia3psfxj] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10Z'/%3E%3C/svg%3E");
}

.bi-person-badge-nav-menu[b-ntia3psfxj] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-badge' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3zM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3Cpath d='M4.5 0A2.5 2.5 0 0 0 2 2.5V14a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2.5A2.5 2.5 0 0 0 11.5 0h-7zM3 2.5A1.5 1.5 0 0 1 4.5 1h7A1.5 1.5 0 0 1 13 2.5v10.795a4.2 4.2 0 0 0-.776-.492C11.392 12.387 10.063 12 8 12s-3.392.387-4.224.803a4.2 4.2 0 0 0-.776.492V2.5z'/%3E%3C/svg%3E");
}

.bi-person-fill-nav-menu[b-ntia3psfxj] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-fill' viewBox='0 0 16 16'%3E%3Cpath d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3Zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
}

.bi-arrow-bar-left-nav-menu[b-ntia3psfxj] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-arrow-bar-left' viewBox='0 0 16 16'%3E%3Cpath d='M12.5 15a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5ZM10 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H9.5a.5.5 0 0 1 .5.5Z'/%3E%3C/svg%3E");
}

.nav-item[b-ntia3psfxj] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-ntia3psfxj] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-ntia3psfxj] {
        padding-bottom: 1rem;
    }

    .nav-item[b-ntia3psfxj]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-ntia3psfxj]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-ntia3psfxj]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-ntia3psfxj] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-ntia3psfxj] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-ntia3psfxj] {
        display: none;
    }

    .nav-scrollable[b-ntia3psfxj] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-70423op06a],
.components-reconnect-repeated-attempt-visible[b-70423op06a],
.components-reconnect-failed-visible[b-70423op06a],
.components-pause-visible[b-70423op06a],
.components-resume-failed-visible[b-70423op06a],
.components-rejoining-animation[b-70423op06a] {
    display: none;
}

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


#components-reconnect-modal[b-70423op06a] {
    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-70423op06a 0.5s both;
    &[open]

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-70423op06a {
    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/Tenants/Index.razor.rz.scp.css */
/* ── View toggle ── */
.view-toggle .btn[b-d3m7p99ebx] {
    font-size: 0.8rem;
    padding: 0.3rem 0.85rem;
    border-color: #dee2e6;
    color: #6c757d;
}

.view-toggle .btn.active[b-d3m7p99ebx] {
    background: #fff;
    color: #111827;
    font-weight: 500;
    border-color: #dee2e6;
}

/* ── Filters bar ── */
.filter-bar[b-d3m7p99ebx] {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
}

.filter-bar label[b-d3m7p99ebx] {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #9ca3af;
    display: block;
    margin-bottom: 0.25rem;
}

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

.tenant-table th[b-d3m7p99ebx] {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9ca3af;
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    padding: 0.65rem 1rem;
    white-space: nowrap;
}

.tenant-table td[b-d3m7p99ebx] {
    padding: 0.75rem 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.84rem;
}

.tenant-table tbody tr:last-child td[b-d3m7p99ebx] {
    border-bottom: none;
}

.tenant-table tbody tr:hover td[b-d3m7p99ebx] {
    background: #f9fafb;
}

/* ── Avatar ── */
.tenant-avatar[b-d3m7p99ebx] {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

/* ── Status badge ── */
.status-badge[b-d3m7p99ebx] {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.status-ativo[b-d3m7p99ebx]      { background: #d1fae5; color: #065f46; }
.status-suspenso[b-d3m7p99ebx]   { background: #fee2e2; color: #991b1b; }
.status-cancelado[b-d3m7p99ebx]  { background: #f3f4f6; color: #6b7280; }
.status-documento[b-d3m7p99ebx]  { background: #dbeafe; color: #1e40af; }

/* ── Action buttons ── */
.action-btn[b-d3m7p99ebx] {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    background: #fff;
    color: #6b7280;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    text-decoration: none;
}

.action-btn:hover[b-d3m7p99ebx] {
    background: #f3f4f6;
    color: #111827;
}

.action-btn-danger[b-d3m7p99ebx] {
    color: #dc2626;
}

.action-btn-danger:hover[b-d3m7p99ebx] {
    background: #fee2e2 !important;
    color: #991b1b !important;
    border-color: #fca5a5;
}

/* ── Pagination ── */
.pagination-row[b-d3m7p99ebx] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1rem;
    border-top: 1px solid #e9ecef;
    font-size: 0.8rem;
    color: #6b7280;
}

.page-btn[b-d3m7p99ebx] {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    background: #fff;
    font-size: 0.78rem;
    cursor: pointer;
    color: #374151;
}

.page-btn.active[b-d3m7p99ebx] {
    background: #3563e9;
    color: #fff;
    border-color: #3563e9;
    font-weight: 600;
}

.page-btn:disabled[b-d3m7p99ebx] {
    opacity: 0.4;
    cursor: default;
}

/* ── Stat cards ── */
.tenant-stat-card[b-d3m7p99ebx] {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tenant-stat-icon[b-d3m7p99ebx] {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ── Modal ── */
.tm-overlay[b-d3m7p99ebx] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.tm-box[b-d3m7p99ebx] {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    width: 100%;
    max-width: 500px;
    overflow: hidden;
}

.tm-header[b-d3m7p99ebx] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.tm-title[b-d3m7p99ebx] {
    font-size: 0.95rem;
    font-weight: 600;
    color: #111827;
}

.tm-close[b-d3m7p99ebx] {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    color: #6b7280;
    border-radius: 6px;
    cursor: pointer;
    padding: 0;
}

.tm-close:hover[b-d3m7p99ebx] {
    background: #f3f4f6;
    color: #111827;
}

.tm-body[b-d3m7p99ebx] {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tm-row[b-d3m7p99ebx] {
    display: flex;
    gap: 0.75rem;
}

.tm-row .tm-field[b-d3m7p99ebx] {
    flex: 1;
}

.tm-field[b-d3m7p99ebx] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.tm-label[b-d3m7p99ebx] {
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #6b7280;
}

.tm-input[b-d3m7p99ebx],
.tm-select[b-d3m7p99ebx] {
    width: 100%;
    padding: 0.45rem 0.65rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.84rem;
    color: #111827;
    background: #fff;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.tm-input:focus[b-d3m7p99ebx],
.tm-select:focus[b-d3m7p99ebx] {
    border-color: #3563e9;
    box-shadow: 0 0 0 3px rgba(53,99,233,.12);
}

.tm-hint[b-d3m7p99ebx] {
    font-size: 0.72rem;
    color: #9ca3af;
    margin: 0;
}

.tm-checkbox[b-d3m7p99ebx] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.84rem;
    color: #374151;
    cursor: pointer;
    user-select: none;
}

.tm-checkbox input[type=checkbox][b-d3m7p99ebx] {
    width: 15px;
    height: 15px;
    accent-color: #3563e9;
    cursor: pointer;
    flex-shrink: 0;
}

.tm-footer[b-d3m7p99ebx] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid #e9ecef;
    background: #f9fafb;
}

.tm-btn-cancel[b-d3m7p99ebx] {
    background: none;
    border: none;
    color: #6b7280;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.45rem 0.75rem;
    cursor: pointer;
    border-radius: 6px;
}

.tm-btn-cancel:hover[b-d3m7p99ebx] {
    background: #e9ecef;
    color: #111827;
}

.tm-btn-submit[b-d3m7p99ebx] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: #3563e9;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}

.tm-btn-submit:hover[b-d3m7p99ebx] {
    background: #2751c9;
}

.tm-btn-primary[b-d3m7p99ebx] {
    background: #3563e9;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}

.tm-btn-primary:hover[b-d3m7p99ebx] {
    background: #2751c9;
}

.tm-btn-regen[b-d3m7p99ebx] {
    display: inline-flex;
    align-items: center;
    background: #fff;
    color: #b45309;
    border: 1.5px solid #f59e0b;
    border-radius: 6px;
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.tm-btn-regen:hover:not(:disabled)[b-d3m7p99ebx] {
    background: #fffbeb;
    color: #92400e;
    border-color: #d97706;
}

.tm-btn-regen:disabled[b-d3m7p99ebx] {
    opacity: .6;
    cursor: not-allowed;
}


/* ── Modal API Key ── */
.ak-info-row[b-d3m7p99ebx] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.45rem 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.84rem;
}

.ak-info-label[b-d3m7p99ebx] {
    color: #6b7280;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ak-info-value[b-d3m7p99ebx] {
    color: #111827;
}

.ak-code[b-d3m7p99ebx] {
    font-family: monospace;
    font-size: 0.82rem;
    color: #1e40af;
    background: #eff6ff;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
}

.ak-notice[b-d3m7p99ebx] {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    border-radius: 6px;
    padding: 0.65rem 0.75rem;
    font-size: 0.78rem;
    line-height: 1.4;
}

.ak-notice-warn[b-d3m7p99ebx] {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

.ak-notice-info[b-d3m7p99ebx] {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.ak-key-box[b-d3m7p99ebx] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.65rem 0.85rem;
    margin-top: 0.5rem;
}

.ak-key-box code[b-d3m7p99ebx] {
    flex: 1;
    font-family: monospace;
    font-size: 0.78rem;
    color: #0f172a;
    word-break: break-all;
}

.ak-copy-btn[b-d3m7p99ebx] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
    background: #3563e9;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s;
}

.ak-copy-btn:hover[b-d3m7p99ebx] {
    background: #2751c9;
}
