/* /Components/Features/BulkAdd/BulkAdd.razor.rz.scp.css */
/* BulkAdd Component Scoped Styles */

.range-list-scroll[b-u2qttgvaay] {
    max-height: 220px;
    overflow-y: auto;
}

.history-agent-select[b-u2qttgvaay] {
    max-width: 160px;
}

.download-format-select[b-u2qttgvaay] {
    max-width: 220px;
}

.batches-table-scroll[b-u2qttgvaay] {
    max-height: 520px;
    overflow-y: auto;
}

.col-range-truncate[b-u2qttgvaay] {
    max-width: 140px;
}

.btn-xs[b-u2qttgvaay] {
    padding: 0.125rem 0.375rem;
    font-size: 0.75rem;
    line-height: 1.2;
    border-radius: var(--bs-border-radius-sm);
}

.font-sans[b-u2qttgvaay] {
    font-family: var(--bs-body-font-family);
}

[b-u2qttgvaay] .modal-backdrop-custom {
    background-color: rgba(0, 0, 0, 0.5) !important;
}
/* /Components/Features/Numbers/Numbers.razor.rz.scp.css */
/* Scoped CSS for Numbers Feature */

.col-select[b-dvdbr8yore] {
    width: 40px;
    text-align: center;
}

.col-range[b-dvdbr8yore] {
    max-width: 150px;
}

[b-dvdbr8yore] .modal-backdrop-custom {
    background-color: rgba(0, 0, 0, 0.5) !important;
}

[b-dvdbr8yore] .wildcard-input {
    max-width: 120px;
}
/* /Components/Features/Providers/Providers.razor.rz.scp.css */
/* Providers Component Scoped Styles */

.provider-table[b-81n725m8l5] {
    border-radius: var(--bs-border-radius);
    overflow: hidden;
}

.provider-table th[b-81n725m8l5] {
    font-weight: 600;
    font-size: 0.8125rem;
    color: var(--bs-secondary-color);
    background-color: var(--bs-tertiary-bg);
    border-bottom-width: 1px;
    white-space: nowrap;
}

.provider-table td[b-81n725m8l5] {
    vertical-align: middle;
}

.provider-table .col-target[b-81n725m8l5] {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.provider-table .col-mapping[b-81n725m8l5] {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.webhook-url-input[b-81n725m8l5] {
    font-family: var(--bs-font-monospace);
    font-size: 0.8125rem;
    background-color: var(--bs-tertiary-bg);
}

.allowlist-item[b-81n725m8l5] {
    transition: background-color 0.15s ease-in-out;
}

.allowlist-item:hover[b-81n725m8l5] {
    background-color: var(--bs-tertiary-bg);
}

[b-81n725m8l5] .modal-backdrop-custom {
    background-color: rgba(0, 0, 0, 0.5) !important;
}
/* /Components/Features/Tenants/Tenants.razor.rz.scp.css */
.tenant-brand-dot[b-m7yngzk60q] {
    width: 10px;
    height: 10px;
    display: inline-block;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.tenant-subdomain-badge[b-m7yngzk60q] {
    font-size: 0.75rem;
    font-family: var(--bs-font-monospace);
    text-decoration: none;
    background-color: var(--bs-light);
    border: 1px solid var(--bs-border-color);
    color: var(--bs-primary);
    transition: all 0.15s ease-in-out;
}

.tenant-subdomain-badge:hover[b-m7yngzk60q] {
    background-color: var(--bs-primary-subtle);
    color: var(--bs-primary-text-emphasis);
}

.logo-preview-box[b-m7yngzk60q] {
    display: inline-flex;
    flex-direction: column;
    padding: 0.5rem;
    border: 1px solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    background-color: var(--bs-light);
    max-width: 240px;
}

.logo-preview-img[b-m7yngzk60q] {
    max-height: 48px;
    max-width: 220px;
    object-fit: contain;
}

.modal-backdrop-custom[b-m7yngzk60q] {
    background-color: rgba(0, 0, 0, 0.5);
}

.permission-group-card[b-m7yngzk60q] {
    border: 1px solid var(--bs-border-color-subtle);
    border-radius: var(--bs-border-radius);
    background-color: var(--bs-body-bg);
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.permission-group-header[b-m7yngzk60q] {
    background-color: var(--bs-light);
    padding: 0.4rem 0.75rem;
    font-size: 0.825rem;
    font-weight: 600;
    border-bottom: 1px solid var(--bs-border-color-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* /Components/Features/UsageLimits/UsageLimits.razor.rz.scp.css */
/* Scoped CSS for Usage Limits Feature */

[b-6hos1n51eb] .modal-backdrop-custom {
    background-color: rgba(0, 0, 0, 0.5) !important;
}

[b-6hos1n51eb] .cli-entries-scroll {
    max-height: 100px;
    overflow-y: auto;
}

[b-6hos1n51eb] .col-cli-name {
    width: 220px;
}

[b-6hos1n51eb] .col-cli-actions {
    width: 260px;
}

[b-6hos1n51eb] .cursor-pointer {
    cursor: pointer;
}
/* /Components/Features/Users/Users.razor.rz.scp.css */
/* Scoped CSS for Users Feature */

.modal-backdrop-custom[b-z6bd4frdpu] {
    background-color: rgba(0, 0, 0, 0.5) !important;
}

.user-filter-card[b-z6bd4frdpu] {
    border-radius: 0.5rem;
}

.user-badge-role[b-z6bd4frdpu] {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.traffic-limit-badge[b-z6bd4frdpu] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 0.75rem;
    border-radius: 0.375rem;
    padding: 0.25rem 0.5rem;
}

.ceiling-badge[b-z6bd4frdpu] {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
    font-size: 0.725rem;
    border-radius: 0.375rem;
    padding: 0.2rem 0.45rem;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* ==========================================================================
   MainLayout Scoped CSS (Blazor CSS Isolation)
   ========================================================================== */

/* Shell Layout */
.panel-shell[b-dsgzlb9nj3] {
    display: flex;
    min-height: 100vh;
    background-color: #0b1329;
}

/* Sidebar Container */
.panel-sidebar[b-dsgzlb9nj3] {
    width: 256px;
    flex: 0 0 256px;
    background: linear-gradient(180deg, #0d1527 0%, #090e1a 100%);
    color: #cbd5e1;
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: sticky;
    top: 0;
    z-index: 100;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.25);
}

/* Brand Header */
.panel-brand[b-dsgzlb9nj3] {
    padding: 1rem 1.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
    flex-shrink: 0;
}

.panel-brand-name[b-dsgzlb9nj3] {
    font-weight: 700;
    letter-spacing: .08em;
    color: #f8fafc;
    font-size: .95rem;
    transition: color .2s ease;
}

.panel-brand a:hover .panel-brand-name[b-dsgzlb9nj3] {
    color: #38bdf8;
}

/* Navigation Scroll Area */
.panel-nav[b-dsgzlb9nj3] {
    overflow-y: auto;
    flex: 1;
    padding: .85rem .75rem 1rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.panel-nav[b-dsgzlb9nj3]::-webkit-scrollbar {
    width: 5px;
}
.panel-nav[b-dsgzlb9nj3]::-webkit-scrollbar-track {
    background: transparent;
}
.panel-nav[b-dsgzlb9nj3]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

/* Primary Dashboard Nav Item */
.dashboard-nav-link[b-dsgzlb9nj3],
[b-dsgzlb9nj3] .dashboard-nav-link {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .65rem .95rem !important;
    font-size: .9rem;
    font-weight: 600;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9px;
    text-decoration: none;
    transition: all .2s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: .65rem;
}

.dashboard-nav-link i[b-dsgzlb9nj3],
[b-dsgzlb9nj3] .dashboard-nav-link i {
    font-size: 1.1rem;
    line-height: 1;
}

.dashboard-nav-link:hover[b-dsgzlb9nj3],
[b-dsgzlb9nj3] .dashboard-nav-link:hover {
    background: rgba(59, 130, 246, 0.14);
    color: #ffffff;
    border-color: rgba(59, 130, 246, 0.35);
    transform: translateX(2px);
}

.dashboard-nav-link.active[b-dsgzlb9nj3],
[b-dsgzlb9nj3] .dashboard-nav-link.active {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    color: #ffffff !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

/* Sidebar Divider */
.sidebar-divider[b-dsgzlb9nj3] {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: .6rem 0 .85rem;
}

/* Nav Collapsible Section */
.nav-section[b-dsgzlb9nj3] {
    margin-top: .45rem;
}

.nav-section-header[b-dsgzlb9nj3] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: 0;
    color: #64748b;
    font-weight: 700;
    font-size: .72rem;
    letter-spacing: .08em;
    padding: .45rem .65rem;
    text-transform: uppercase;
    border-radius: 6px;
    cursor: pointer;
    transition: all .2s ease;
}

.nav-section-header:hover[b-dsgzlb9nj3] {
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.03);
}

.nav-chevron[b-dsgzlb9nj3] {
    font-size: .7rem;
    opacity: .75;
}

/* Nav Sub-links */
.nav-links[b-dsgzlb9nj3] {
    list-style: none;
    margin: 0;
    padding: .15rem 0 0;
}

.nav-link[b-dsgzlb9nj3],
[b-dsgzlb9nj3] .nav-link {
    display: flex;
    align-items: center;
    padding: .45rem .75rem .45rem 1.4rem;
    color: #94a3b8;
    text-decoration: none;
    font-size: .86rem;
    font-weight: 500;
    border-radius: 7px;
    transition: all .15s ease;
    margin-bottom: 2px;
}

.nav-link:hover[b-dsgzlb9nj3],
[b-dsgzlb9nj3] .nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #f8fafc;
    transform: translateX(2px);
}

.nav-link.active[b-dsgzlb9nj3],
[b-dsgzlb9nj3] .nav-link.active {
    background: rgba(37, 99, 235, 0.18);
    color: #60a5fa;
    font-weight: 600;
    border-left: 3px solid #3b82f6;
    border-radius: 0 7px 7px 0;
}

/* User Card Footer */
.panel-user-footer[b-dsgzlb9nj3] {
    padding: .85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
    flex-shrink: 0;
}

.user-card-inner[b-dsgzlb9nj3] {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    padding: .75rem .8rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.user-avatar-gradient[b-dsgzlb9nj3] {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #3b82f6 0%, #7c3aed 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.35);
    flex-shrink: 0;
}

.user-card-name[b-dsgzlb9nj3] {
    font-size: .88rem;
    font-weight: 600;
    color: #f8fafc;
    line-height: 1.25;
}

.user-card-role[b-dsgzlb9nj3] {
    font-size: .72rem;
    color: #94a3b8;
    margin-top: 2px;
}

.logout-action-btn[b-dsgzlb9nj3] {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    border: 1px solid rgba(239, 68, 68, 0.35);
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all .2s cubic-bezier(0.4, 0, 0.2, 1);
}

.logout-action-btn:hover[b-dsgzlb9nj3] {
    background: #dc2626;
    border-color: #ef4444;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(220, 38, 38, 0.55);
    transform: translateY(-1px) scale(1.04);
}
}

/* Main Content Area */
.panel-main[b-dsgzlb9nj3] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #f8fafc;
}

/* News Banner Ticker */
.news-bar[b-dsgzlb9nj3] {
    background: #0f172a;
    color: #f8fafc;
    overflow: hidden;
    white-space: nowrap;
    padding: .4rem 0;
    font-size: .84rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.news-track[b-dsgzlb9nj3] {
    display: inline-block;
    padding-left: 100%;
    animation: news-scroll-b-dsgzlb9nj3 40s linear infinite;
}

.news-bar:hover .news-track[b-dsgzlb9nj3] {
    animation-play-state: paused;
}

@keyframes news-scroll-b-dsgzlb9nj3 {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.panel-content[b-dsgzlb9nj3] {
    padding: 1.75rem 2rem;
    flex: 1;
    background: #f8fafc;
}

/* Blazor Error UI */
#blazor-error-ui[b-dsgzlb9nj3] {
    color-scheme: light only;
    background: #fef3c7;
    border-top: 1px solid #f59e0b;
    color: #92400e;
    bottom: 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.75rem 1.5rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-dsgzlb9nj3] {
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 0.65rem;
}

/* Responsive */
@media (max-width: 800px) {
    .panel-shell[b-dsgzlb9nj3] {
        flex-direction: column;
    }
    .panel-sidebar[b-dsgzlb9nj3] {
        width: 100%;
        height: auto;
        position: static;
        flex: none;
    }
    .panel-content[b-dsgzlb9nj3] {
        padding: 1rem;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-25d4i5zjz2],
.components-reconnect-repeated-attempt-visible[b-25d4i5zjz2],
.components-reconnect-failed-visible[b-25d4i5zjz2],
.components-pause-visible[b-25d4i5zjz2],
.components-resume-failed-visible[b-25d4i5zjz2],
.components-rejoining-animation[b-25d4i5zjz2] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-25d4i5zjz2],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-25d4i5zjz2],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-25d4i5zjz2],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-25d4i5zjz2],
#components-reconnect-modal.components-reconnect-retrying[b-25d4i5zjz2],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-25d4i5zjz2],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-25d4i5zjz2],
#components-reconnect-modal.components-reconnect-failed[b-25d4i5zjz2],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-25d4i5zjz2] {
    display: block;
}


#components-reconnect-modal[b-25d4i5zjz2] {
    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-25d4i5zjz2 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-25d4i5zjz2 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-25d4i5zjz2 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-25d4i5zjz2]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-25d4i5zjz2 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-25d4i5zjz2 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-25d4i5zjz2 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-25d4i5zjz2 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-25d4i5zjz2] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-25d4i5zjz2] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-25d4i5zjz2] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-25d4i5zjz2] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-25d4i5zjz2] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-25d4i5zjz2] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-25d4i5zjz2] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-25d4i5zjz2 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-25d4i5zjz2] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-25d4i5zjz2 {
    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/Home.razor.rz.scp.css */
/* ==========================================================================
   Home.razor Scoped CSS (Blazor CSS Isolation)
   ========================================================================== */

/* Quick Nav Tiles */
.hover-lift[b-ndmnrxwady] {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s ease;
    border-radius: 10px !important;
}

.hover-lift:hover[b-ndmnrxwady] {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07) !important;
    border-color: #94a3b8 !important;
}

/* Stat Cards */
.card[b-ndmnrxwady] {
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: box-shadow 0.2s ease;
}

/* Spin animation for refresh button */
.spin[b-ndmnrxwady] {
    display: inline-block;
    animation: spin-animation-b-ndmnrxwady 1s linear infinite;
}

@keyframes spin-animation-b-ndmnrxwady {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Table polishing */
.table th[b-ndmnrxwady] {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    font-weight: 600;
    border-bottom: 2px solid #e2e8f0;
}

.table td[b-ndmnrxwady] {
    vertical-align: middle;
    font-size: 0.88rem;
}
