/* _content/CustomerSupprt/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-gxdfsdbqs3] {
    position: relative;
    display: flex;
    flex-direction: column;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

#blazor-error-ui[b-gxdfsdbqs3] {
    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-gxdfsdbqs3] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/CustomerSupprt/Components/Layout/NavMenu.razor.rz.scp.css */
/* Modern Sidebar Layout */
.modern-sidebar[b-plsnfh4k2h] {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
    position: fixed;
    width: 240px;
    left: 0;
    top: 0;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease;
}

/* Header Section */
.sidebar-header[b-plsnfh4k2h] {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.02);
}

.logo-section[b-plsnfh4k2h] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon[b-plsnfh4k2h] {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.logo-text[b-plsnfh4k2h] {
    display: flex;
    flex-direction: column;
}

.brand-name[b-plsnfh4k2h] {
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.brand-tagline[b-plsnfh4k2h] {
    font-size: 0.7rem;
    color: #94a3b8;
    font-weight: 500;
    margin-top: 2px;
}

.mobile-toggle[b-plsnfh4k2h] {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.2s;
}

.mobile-toggle:hover[b-plsnfh4k2h] {
    background: rgba(255, 255, 255, 0.1);
}

/* User Profile Section */
.user-profile[b-plsnfh4k2h] {
    padding: 0.875rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.15) 100%);
    border-radius: 10px;
    margin: 0.875rem 0.875rem 0.5rem 0.875rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.user-avatar[b-plsnfh4k2h] {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    flex-shrink: 0;
}

.user-info[b-plsnfh4k2h] {
    flex: 1;
    min-width: 0;
}

.user-name[b-plsnfh4k2h] {
    font-weight: 600;
    font-size: 0.875rem;
    color: #f1f5f9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-role[b-plsnfh4k2h] {
    margin-top: 0.25rem;
}

.role-badge[b-plsnfh4k2h] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.625rem;
    border-radius: 6px;
    font-size: 0.6875rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
}

.role-badge.role-admin[b-plsnfh4k2h] {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.role-badge.role-superuser[b-plsnfh4k2h] {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.role-badge.role-agent[b-plsnfh4k2h] {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* Sidebar Content */
.sidebar-content[b-plsnfh4k2h] {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.5rem 0;
}

.sidebar-content[b-plsnfh4k2h]::-webkit-scrollbar {
    width: 6px;
}

.sidebar-content[b-plsnfh4k2h]::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.sidebar-content[b-plsnfh4k2h]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.sidebar-content[b-plsnfh4k2h]::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Navigation Menu */
.nav-menu[b-plsnfh4k2h] {
    padding: 0;
}

.nav-section[b-plsnfh4k2h] {
    margin-bottom: 1.25rem;
    padding: 0 0.875rem;
}

.section-label[b-plsnfh4k2h] {
    padding: 0.5rem 0.875rem;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #64748b;
    margin-bottom: 0.375rem;
}

.nav-item[b-plsnfh4k2h] {
    margin-bottom: 0.25rem;
}

.nav-link[b-plsnfh4k2h] {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.375rem;
    padding: 0.625rem 0.875rem;
    border-radius: 8px;
    text-decoration: none;
    color: #cbd5e1;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    position: relative;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.nav-link:hover[b-plsnfh4k2h] {
    background: rgba(99, 102, 241, 0.12);
    color: #f1f5f9;
    transform: translateX(3px);
}

.nav-item[b-plsnfh4k2h]  a.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(168, 85, 247, 0.2) 100%);
    color: #ffffff;
    border-left: 3px solid #6366f1;
}

.nav-item[b-plsnfh4k2h]  a.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 65%;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    border-radius: 0 4px 4px 0;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.6);
}

.nav-icon[b-plsnfh4k2h] {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    opacity: 0.9;
}

.nav-text[b-plsnfh4k2h] {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-badge[b-plsnfh4k2h] {
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 24px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

.logout-btn[b-plsnfh4k2h] {
    color: #f87171;
}

.logout-btn:hover[b-plsnfh4k2h] {
    background: rgba(248, 113, 113, 0.1);
    color: #ef4444;
}

.nav-divider[b-plsnfh4k2h] {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    margin: 0.75rem 1.25rem;
}

/* Sidebar Footer */
.sidebar-footer[b-plsnfh4k2h] {
    padding: 0.875rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.2);
}

.footer-content[b-plsnfh4k2h] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #64748b;
    justify-content: center;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .modern-sidebar[b-plsnfh4k2h] {
        transform: translateX(-100%);
    }

    .modern-sidebar.mobile-open[b-plsnfh4k2h] {
        transform: translateX(0);
    }

    .mobile-toggle[b-plsnfh4k2h] {
        display: block;
    }

    .sidebar-header[b-plsnfh4k2h] {
        position: relative;
    }
}

@media (min-width: 769px) {
    .modern-sidebar[b-plsnfh4k2h] {
        position: sticky;
        top: 0;
    }
}
/* _content/CustomerSupprt/Components/Pages/AgentManagement.razor.rz.scp.css */
.agent-management-page[b-fb0gbkrjmy] {
    max-width: 100%;
    padding: 0 1rem;
    margin: 0 auto;
    margin-top: 20px;
}

/* Loading Overlay */
.loading-overlay[b-fb0gbkrjmy] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.loading-spinner[b-fb0gbkrjmy] {
    text-align: center;
}

.loading-spinner .spinner[b-fb0gbkrjmy] {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(102, 126, 234, 0.2);
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin-b-fb0gbkrjmy 0.8s linear infinite;
    margin: 0 auto 1.5rem;
}

.loading-spinner p[b-fb0gbkrjmy] {
    color: #4a5568;
    font-size: 1.125rem;
    font-weight: 500;
    margin: 0;
}

@keyframes spin-b-fb0gbkrjmy {
    to { transform: rotate(360deg); }
}

.page-header[b-fb0gbkrjmy] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-content[b-fb0gbkrjmy] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-icon[b-fb0gbkrjmy] {
    font-size: 3rem;
    opacity: 0.9;
}

.page-title[b-fb0gbkrjmy] {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.page-subtitle[b-fb0gbkrjmy] {
    margin: 0.5rem 0 0 0;
    opacity: 0.95;
    font-size: 1.1rem;
}

/* Metrics Grid */
.metrics-grid[b-fb0gbkrjmy] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.metric-card[b-fb0gbkrjmy] {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid;
}

.metric-card:hover[b-fb0gbkrjmy] {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.metric-primary[b-fb0gbkrjmy] { border-color: #667eea; }
.metric-success[b-fb0gbkrjmy] { border-color: #10b981; }
.metric-info[b-fb0gbkrjmy] { border-color: #3b82f6; }
.metric-warning[b-fb0gbkrjmy] { border-color: #f59e0b; }
.metric-secondary[b-fb0gbkrjmy] { border-color: #6b7280; }
.metric-purple[b-fb0gbkrjmy] { border-color: #8b5cf6; }

.metric-icon[b-fb0gbkrjmy] {
    font-size: 2.5rem;
    opacity: 0.8;
    flex-shrink: 0;
}

.metric-primary .metric-icon[b-fb0gbkrjmy] { color: #667eea; }
.metric-success .metric-icon[b-fb0gbkrjmy] { color: #10b981; }
.metric-info .metric-icon[b-fb0gbkrjmy] { color: #3b82f6; }
.metric-warning .metric-icon[b-fb0gbkrjmy] { color: #f59e0b; }
.metric-secondary .metric-icon[b-fb0gbkrjmy] { color: #6b7280; }
.metric-purple .metric-icon[b-fb0gbkrjmy] { color: #8b5cf6; }

.metric-content[b-fb0gbkrjmy] {
    flex: 1;
}

.metric-value[b-fb0gbkrjmy] {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    line-height: 1;
}

.metric-label[b-fb0gbkrjmy] {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0;
    font-weight: 500;
}

.metric-subtitle[b-fb0gbkrjmy] {
    font-size: 0.85rem;
    color: #9ca3af;
}

/* Content Card */
.content-card[b-fb0gbkrjmy] {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.card-header-actions[b-fb0gbkrjmy] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.card-title[b-fb0gbkrjmy] {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #1f2937;
}

.card-subtitle[b-fb0gbkrjmy] {
    color: #6b7280;
    margin: 0;
    font-size: 0.95rem;
}

.header-actions[b-fb0gbkrjmy] {
    display: flex;
    gap: 0.75rem;
}

.btn-action[b-fb0gbkrjmy] {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-action:disabled[b-fb0gbkrjmy] {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-add[b-fb0gbkrjmy] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-add:hover:not(:disabled)[b-fb0gbkrjmy] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-refresh[b-fb0gbkrjmy] {
    background: #f3f4f6;
    color: #374151;
}

.btn-refresh:hover:not(:disabled)[b-fb0gbkrjmy] {
    background: #e5e7eb;
}

.btn-success[b-fb0gbkrjmy] {
    background: #10b981;
    color: white;
}

.btn-success:hover:not(:disabled)[b-fb0gbkrjmy] {
    background: #059669;
}

.btn-secondary[b-fb0gbkrjmy] {
    background: #6b7280;
    color: white;
}

.btn-secondary:hover:not(:disabled)[b-fb0gbkrjmy] {
    background: #4b5563;
}

.btn-danger[b-fb0gbkrjmy] {
    background: #ef4444;
    color: white;
}

.btn-danger:hover:not(:disabled)[b-fb0gbkrjmy] {
    background: #dc2626;
}

/* Add Agent Section */
.add-agent-section[b-fb0gbkrjmy] {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.section-header[b-fb0gbkrjmy] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h3[b-fb0gbkrjmy] {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}

.btn-close-section[b-fb0gbkrjmy] {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-close-section:hover[b-fb0gbkrjmy] {
    background: #e5e7eb;
    color: #1f2937;
}

.form-grid[b-fb0gbkrjmy] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.form-group[b-fb0gbkrjmy] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label[b-fb0gbkrjmy] {
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
}

.form-label .required[b-fb0gbkrjmy] {
    color: #ef4444;
}

.form-input[b-fb0gbkrjmy] {
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.form-input:focus[b-fb0gbkrjmy] {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-input:disabled[b-fb0gbkrjmy] {
    background: #f9fafb;
    color: #9ca3af;
}

.form-hint[b-fb0gbkrjmy] {
    color: #6b7280;
    font-size: 0.85rem;
}

.form-actions[b-fb0gbkrjmy] {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.alert[b-fb0gbkrjmy] {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.alert-danger[b-fb0gbkrjmy] {
    background: #fef2f2;
    border: 1px solid #fee2e2;
    color: #991b1b;
}

.alert-warning[b-fb0gbkrjmy] {
    background: #fffbeb;
    border: 1px solid #fef3c7;
    color: #92400e;
}

/* Table Styling */
.table-container[b-fb0gbkrjmy] {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.agents-table[b-fb0gbkrjmy] {
    width: 100%;
    border-collapse: collapse;
}

.agents-table thead[b-fb0gbkrjmy] {
    background: #f9fafb;
    border-bottom: 2px solid #e5e7eb;
}

.agents-table th[b-fb0gbkrjmy] {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
    white-space: nowrap;
}

.agents-table th.sortable[b-fb0gbkrjmy] {
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease;
}

.agents-table th.sortable:hover[b-fb0gbkrjmy] {
    background: #f3f4f6;
}

.agents-table th i.bi-arrow-up[b-fb0gbkrjmy],
.agents-table th i.bi-arrow-down[b-fb0gbkrjmy] {
    margin-left: 0.5rem;
    font-size: 0.8rem;
    color: #667eea;
}

.agents-table tbody tr[b-fb0gbkrjmy] {
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.2s ease;
}

.agents-table tbody tr:hover[b-fb0gbkrjmy] {
    background: #f9fafb;
}

.agents-table td[b-fb0gbkrjmy] {
    padding: 1rem;
    font-size: 0.95rem;
    color: #1f2937;
}

.agent-name-cell[b-fb0gbkrjmy] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.agent-avatar[b-fb0gbkrjmy] {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.role-badge[b-fb0gbkrjmy] {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.role-agent[b-fb0gbkrjmy] {
    background: #dbeafe;
    color: #1e40af;
}

.role-admin[b-fb0gbkrjmy] {
    background: #fef3c7;
    color: #92400e;
}

.role-superuser[b-fb0gbkrjmy] {
    background: #f3e8ff;
    color: #6b21a8;
}

.status-badge[b-fb0gbkrjmy] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.status-badge i[b-fb0gbkrjmy] {
    font-size: 0.5rem;
}

.status-available[b-fb0gbkrjmy] {
    background: #d1fae5;
    color: #065f46;
}

.status-busy[b-fb0gbkrjmy] {
    background: #fed7aa;
    color: #92400e;
}

.status-offline[b-fb0gbkrjmy] {
    background: #f3f4f6;
    color: #4b5563;
}

.toggle-switch[b-fb0gbkrjmy] {
    position: relative;
    display: inline-block;
    width: 3rem;
    height: 1.75rem;
}

.toggle-switch input[b-fb0gbkrjmy] {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider[b-fb0gbkrjmy] {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: 0.3s;
    border-radius: 1.75rem;
}

.toggle-slider[b-fb0gbkrjmy]:before {
    position: absolute;
    content: "";
    height: 1.25rem;
    width: 1.25rem;
    left: 0.25rem;
    bottom: 0.25rem;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked + .toggle-slider[b-fb0gbkrjmy] {
    background-color: #10b981;
}

input:checked + .toggle-slider[b-fb0gbkrjmy]:before {
    transform: translateX(1.25rem);
}

.rating-cell[b-fb0gbkrjmy] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #f59e0b;
    font-weight: 600;
}

.action-buttons[b-fb0gbkrjmy] {
    display: flex;
    gap: 0.5rem;
}

.btn-table-action[b-fb0gbkrjmy] {
    padding: 0.5rem 0.75rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.btn-edit[b-fb0gbkrjmy] {
    background: #dbeafe;
    color: #1e40af;
}

.btn-edit:hover[b-fb0gbkrjmy] {
    background: #bfdbfe;
}

.btn-delete[b-fb0gbkrjmy] {
    background: #fee2e2;
    color: #991b1b;
}

.btn-delete:hover[b-fb0gbkrjmy] {
    background: #fecaca;
}

/* Modal Styling */
.modal-overlay[b-fb0gbkrjmy] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.modal-container[b-fb0gbkrjmy] {
    background: white;
    border-radius: 12px;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-small[b-fb0gbkrjmy] {
    max-width: 500px;
}

.modal-header[b-fb0gbkrjmy] {
    padding: 1.5rem 2rem;
    border-bottom: 2px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f9fafb;
}

.modal-header h3[b-fb0gbkrjmy] {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-danger[b-fb0gbkrjmy] {
    background: #fef2f2;
    border-bottom-color: #fecaca;
}

.modal-danger h3[b-fb0gbkrjmy] {
    color: #991b1b;
}

.btn-close-modal[b-fb0gbkrjmy] {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-close-modal:hover:not(:disabled)[b-fb0gbkrjmy] {
    background: #e5e7eb;
    color: #1f2937;
}

.btn-close-modal:disabled[b-fb0gbkrjmy] {
    opacity: 0.5;
    cursor: not-allowed;
}

.modal-body[b-fb0gbkrjmy] {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
}

.modal-footer[b-fb0gbkrjmy] {
    padding: 1.5rem 2rem;
    border-top: 2px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    background: #f9fafb;
}

.spinner[b-fb0gbkrjmy] {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin-b-fb0gbkrjmy 0.8s linear infinite;
}

@keyframes spin-b-fb0gbkrjmy {
    to { transform: rotate(360deg); }
}

.text-muted[b-fb0gbkrjmy] {
    color: #6b7280;
    font-size: 0.9rem;
}

.text-success[b-fb0gbkrjmy] {
    color: #10b981;
}

.text-danger[b-fb0gbkrjmy] {
    color: #ef4444;
}

/* Pagination Controls */
.pagination-controls[b-fb0gbkrjmy] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    flex-wrap: wrap;
    gap: 1rem;
}

.pagination-info[b-fb0gbkrjmy] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #4b5563;
}

.pagination-info label[b-fb0gbkrjmy] {
    font-weight: 600;
}

.page-size-select[b-fb0gbkrjmy] {
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.95rem;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.page-size-select:focus[b-fb0gbkrjmy] {
    outline: none;
    border-color: #667eea;
}

.pagination-text[b-fb0gbkrjmy] {
    color: #6b7280;
}

.pagination-buttons[b-fb0gbkrjmy] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-page[b-fb0gbkrjmy] {
    padding: 0.5rem 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    background: white;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.btn-page:hover:not(:disabled)[b-fb0gbkrjmy] {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

.btn-page:disabled[b-fb0gbkrjmy] {
    opacity: 0.4;
    cursor: not-allowed;
}

.page-indicator[b-fb0gbkrjmy] {
    padding: 0.5rem 1rem;
    font-weight: 600;
    color: #4b5563;
    white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .metrics-grid[b-fb0gbkrjmy] {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .agent-management-page[b-fb0gbkrjmy] {
        padding: 0 0.5rem;
    }
    
    .page-header[b-fb0gbkrjmy] {
        padding: 1.5rem;
    }
    
    .header-content[b-fb0gbkrjmy] {
        flex-direction: column;
        text-align: center;
    }
    
    .page-title[b-fb0gbkrjmy] {
        font-size: 1.5rem;
    }
    
    .metrics-grid[b-fb0gbkrjmy] {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .card-header-actions[b-fb0gbkrjmy] {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .header-actions[b-fb0gbkrjmy] {
        width: 100%;
    }
    
    .btn-action[b-fb0gbkrjmy] {
        flex: 1;
        justify-content: center;
    }
    
    .form-grid[b-fb0gbkrjmy] {
        grid-template-columns: 1fr;
    }
    
    .table-container[b-fb0gbkrjmy] {
        font-size: 0.85rem;
    }
    
    .agents-table th[b-fb0gbkrjmy],
    .agents-table td[b-fb0gbkrjmy] {
        padding: 0.75rem 0.5rem;
    }
    
    .pagination-controls[b-fb0gbkrjmy] {
        flex-direction: column;
        align-items: stretch;
    }
    
    .pagination-info[b-fb0gbkrjmy] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .pagination-buttons[b-fb0gbkrjmy] {
        justify-content: center;
    }
    
    .modal-container[b-fb0gbkrjmy] {
        max-width: 100%;
        margin: 0.5rem;
    }
}
