/* Cortex Dialer - Core Stylesheet */
/* Extracted from dashboard.php - DO NOT MODIFY */

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif; 
    background: #eff0f5; 
    overflow-x: hidden; 
}

.layout { 
    display: flex; 
    flex-direction: column; 
    min-height: 100vh; 
}

/* ========== HEADER ========== */
.top-header-bar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 200;
}

.header-bar-left { 
    display: flex; 
    align-items: center; 
    gap: 2rem; 
}

.header-logo { 
    display: flex; 
    align-items: center; 
    gap: 0.75rem; 
}

.header-logo img { 
    height: 55px; 
    width: auto; 
}

.header-bar-center { 
    display: flex; 
    align-items: center; 
    gap: 1.5rem; 
    flex: 1; 
    max-width: 600px; 
    margin: 0 2rem; 
}

.campaign-selector { 
    position: relative; 
    min-width: 200px; 
}

.campaign-selector select { 
    padding: 0.6rem 2.5rem 0.6rem 1rem; 
    border: 1px solid rgba(255,255,255,0.3); 
    border-radius: 10px; 
    background: rgba(255,255,255,0.15); 
    backdrop-filter: blur(10px); 
    font-size: 0.9rem; 
    font-weight: 600; 
    color: white; 
    cursor: pointer; 
    appearance: none; 
    width: 100%; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); 
    transition: all 0.2s; 
    font-family: 'Inter', sans-serif; 
}

.campaign-selector select:hover { 
    background: rgba(255,255,255,0.25); 
}

.campaign-selector select:focus { 
    outline: none; 
    border-color: rgba(255,255,255,0.5); 
    box-shadow: 0 0 0 3px rgba(255,255,255,0.1); 
}

.campaign-selector select option { 
    background: #7c3aed; 
    color: white; 
}

.campaign-selector::after { 
    content: '▼'; 
    position: absolute; 
    right: 1rem; 
    top: 50%; 
    transform: translateY(-50%); 
    pointer-events: none; 
    color: white; 
    font-size: 0.7rem; 
}

.queue-selector { 
    position: relative; 
    min-width: 180px; 
}

.queue-selector select { 
    padding: 0.6rem 2.5rem 0.6rem 1rem; 
    border: 1px solid rgba(255,255,255,0.3); 
    border-radius: 10px; 
    background: rgba(255,255,255,0.15); 
    backdrop-filter: blur(10px); 
    font-size: 0.9rem; 
    font-weight: 600; 
    color: white; 
    cursor: pointer; 
    appearance: none; 
    width: 100%; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); 
    transition: all 0.2s; 
    font-family: 'Inter', sans-serif; 
}

.queue-selector select:hover { 
    background: rgba(255,255,255,0.25); 
}

.queue-selector select:focus { 
    outline: none; 
    border-color: rgba(255,255,255,0.5); 
    box-shadow: 0 0 0 3px rgba(255,255,255,0.1); 
}

.queue-selector select option { 
    background: #7c3aed; 
    color: white; 
}

.queue-selector::after { 
    content: '▼'; 
    position: absolute; 
    right: 1rem; 
    top: 50%; 
    transform: translateY(-50%); 
    pointer-events: none; 
    color: white; 
    font-size: 0.7rem; 
}

.header-bar-right { 
    display: flex; 
    align-items: center; 
    gap: 1.5rem; 
}

.search-box { 
    position: relative; 
}

.search-box input { 
    padding: 0.6rem 1rem 0.6rem 2.5rem; 
    border: 1px solid rgba(255,255,255,0.3); 
    border-radius: 10px; 
    background: rgba(255,255,255,0.15); 
    backdrop-filter: blur(10px); 
    font-size: 0.85rem; 
    width: 240px; 
    font-family: 'Inter', sans-serif; 
    color: white; 
}

.search-box input::placeholder { 
    color: rgba(255,255,255,0.7); 
}

.search-box input:focus { 
    outline: none; 
    border-color: rgba(255,255,255,0.5); 
    background: rgba(255,255,255,0.25); 
}

.search-box::before { 
    content: '🔍'; 
    position: absolute; 
    left: 0.875rem; 
    top: 50%; 
    transform: translateY(-50%); 
    font-size: 0.95rem; 
    opacity: 0.8; 
}

.user-profile { 
    display: flex; 
    align-items: center; 
    gap: 0.75rem; 
}

.user-avatar { 
    width: 38px; 
    height: 38px; 
    border-radius: 50%; 
    background: rgba(255,255,255,0.25); 
    backdrop-filter: blur(10px); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: white; 
    font-weight: 700; 
    font-size: 0.95rem; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.2); 
    border: 2px solid rgba(255,255,255,0.3); 
}

.user-name { 
    font-size: 0.9rem; 
    color: white; 
    font-weight: 600; 
}

.logout-btn {
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 10px;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
}

.logout-btn:hover {
    background: rgba(255,255,255,0.35);
    border-color: rgba(255,255,255,0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.power-icon {
    font-size: 1.2rem;
    line-height: 1;
}

/* ========== LAYOUT ========== */
.content-wrapper { 
    display: flex; 
    flex: 1; 
}

.sidebar { 
    width: 260px !important; 
    min-width: 260px;
    max-width: 260px;
    background: white; 
    padding: 0; 
    position: fixed; 
    top: 80px; 
    height: calc(100vh - 80px - 3rem); 
    left: 0; 
    margin: 1.5rem 0 1.5rem 1.5rem; 
    border-radius: 24px; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.08); 
    display: flex; 
    flex-direction: column; 
    border: 1px solid rgba(0,0,0,0.06);
    overflow-y: auto;
}

.sidebar-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    width: 100%;
    padding: 1.5rem 1rem 0 1rem;
    margin-top: 1rem;
}

.sidebar-menu-item { 
    display: flex; 
    align-items: center; 
    border-radius: 10px; 
    transition: all 0.2s; 
    cursor: pointer; 
    position: relative; 
    margin-bottom: 0.25rem;
}

.sidebar-menu-item a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    color: #64748b;
    text-decoration: none;
    width: 100%;
    border-radius: 10px;
}

.sidebar-menu-item:hover {
    background: #f1f5f9;
}

.sidebar-menu-item.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.sidebar-menu-item.active a {
    color: white;
}

.sidebar-menu-item.active .sidebar-menu-text {
    font-weight: 700;
}

.sidebar-icon { 
    font-size: 1.1rem; 
    width: 24px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    flex-shrink: 0; 
}

.sidebar-menu-text {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.main-content { 
    flex: 1; 
    margin-left: 260px;
    width: calc(100% - 260px);
    padding: 2rem 2.5rem 2.5rem 2rem; 
}

/* ========== STATS CARDS ========== */
.stats-grid { 
    display: grid; 
    grid-template-columns: repeat(5, 1fr); 
    gap: 1.75rem; 
    margin-bottom: 2.5rem; 
}

.stat-card { 
    background: white; 
    border-radius: 20px; 
    padding: 2rem 1.75rem; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.06); 
    position: relative; 
    overflow: visible; 
    transition: all 0.3s; 
    border: 1px solid rgba(0,0,0,0.06); 
}

.stat-card:hover { 
    transform: translateY(-4px); 
    box-shadow: 0 12px 28px rgba(0,0,0,0.15); 
}

.stat-content { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.stat-info { 
    flex: 1; 
}

.stat-label { 
    font-size: 0.8rem; 
    color: #64748b; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 0.8px; 
    margin-bottom: 0.875rem; 
    white-space: nowrap; 
}

.stat-number { 
    font-size: 2.75rem; 
    font-weight: 800; 
    color: #1e293b; 
    line-height: 1; 
    letter-spacing: -1px; 
}

.stat-change { 
    font-size: 0.8rem; 
    color: #10b981; 
    font-weight: 600; 
    margin-top: 0.5rem; 
}

.circular-progress { 
    width: 80px; 
    height: 80px; 
    position: relative; 
}

.circular-progress svg { 
    transform: rotate(-90deg); 
}

.circular-progress circle { 
    fill: none; 
    stroke-width: 8; 
}

.circular-progress .circle-bg { 
    stroke: #f1f5f9; 
}

.circular-progress .circle-progress { 
    stroke-linecap: round; 
    transition: stroke-dashoffset 0.5s; 
}

.progress-text { 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    font-size: 1.1rem; 
    font-weight: 700; 
    color: #1e293b; 
}

.stat-card.blue .circle-progress { stroke: #3b82f6; }
.stat-card.green .circle-progress { stroke: #22c55e; }
.stat-card.purple .circle-progress { stroke: #8b5cf6; }
.stat-card.pink .circle-progress { stroke: #ec4899; }
.stat-card.orange .circle-progress { stroke: #f97316; }

/* ========== SECTIONS ========== */
.agents-section { 
    background: white; 
    border-radius: 20px; 
    padding: 2rem; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.06); 
    border: 1px solid rgba(0,0,0,0.06); 
}

.section-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 1.75rem; 
    padding-bottom: 1.25rem; 
    border-bottom: 2px solid #f1f5f9; 
}

.section-title { 
    font-size: 1.35rem; 
    font-weight: 700; 
    color: #1e293b; 
    letter-spacing: -0.3px; 
}

.live-badge { 
    display: flex; 
    align-items: center; 
    gap: 0.5rem; 
    padding: 0.5rem 1rem; 
    background: #f0fdf4; 
    border-radius: 20px; 
    border: 1px solid #bbf7d0; 
}

.live-dot { 
    width: 8px; 
    height: 8px; 
    background: #10b981; 
    border-radius: 50%; 
    animation: pulse 2s infinite; 
}

.live-text { 
    font-size: 0.85rem; 
    color: #16a34a; 
    font-weight: 600; 
}

@keyframes pulse { 
    0%, 100% { 
        opacity: 1; 
        box-shadow: 0 0 0 0 rgba(16,185,129,0.7); 
    } 
    50% { 
        opacity: 0.8; 
        box-shadow: 0 0 0 6px rgba(16,185,129,0); 
    } 
}

/* ========== TABLES ========== */
.agents-table { 
    width: 100%; 
    border-collapse: separate; 
    border-spacing: 0 0.5rem; 
}

.table-header { 
    background: #f8fafc; 
    border-radius: 12px; 
}

.table-header th { 
    padding: 1rem 1.5rem; 
    text-align: left; 
    font-size: 0.8rem; 
    font-weight: 700; 
    color: #64748b; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
    cursor: pointer; 
    user-select: none; 
    position: relative; 
    border: none; 
}

.table-header th:hover { 
    color: #7c3aed; 
}

.table-header th:first-child { 
    border-radius: 12px 0 0 12px; 
}

.table-header th:last-child { 
    border-radius: 0 12px 12px 0; 
}

.sort-icon { 
    margin-left: 0.5rem; 
    font-size: 0.7rem; 
    opacity: 0.5; 
}

.sort-icon.active { 
    opacity: 1; 
    color: #7c3aed; 
}

/* ========== BUTTONS ========== */
.btn-primary {
    background: #8b5cf6;
    color: white;
    border: none;
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
    background: #7c3aed;
}

.btn-secondary {
    background: white;
    color: #7c3aed;
    border: 2px solid #7c3aed;
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: #7c3aed;
    color: white;
}

.btn-danger {
    background: #ef4444;
    color: white;
    border: none;
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-danger:hover {
    background: #dc2626;
}

/* ========== FORMS ========== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
    background: #f8fafc;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #8b5cf6;
    background: white;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* ========== CARDS ========== */
.card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.06);
    transition: all 0.3s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f1f5f9;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1400px) { 
    .stats-grid { 
        grid-template-columns: repeat(2, 1fr); 
    } 
}

@media (max-width: 768px) { 
    .sidebar { 
        width: 0; 
        transform: translateX(-100%); 
    } 
    .main-content { 
        margin-left: 0; 
        width: 100%; 
        padding: 1.5rem; 
    } 
    .stats-grid { 
        grid-template-columns: 1fr; 
    } 
}

/* ========== GLOBAL SEARCH BOX ========== */
.global-search-box {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.global-search-box input {
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
    width: 100%;
    font-family: 'Inter', sans-serif;
    color: white;
    transition: all 0.2s;
}

.global-search-box input::placeholder {
    color: rgba(255,255,255,0.7);
}

.global-search-box input:focus {
    outline: none;
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.25);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.1);
}

.global-search-box::before {
    content: '🔍';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    opacity: 0.9;
    z-index: 1;
}

.search-results-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
}

.search-results-list {
    padding: 0.5rem;
}

.search-result-item {
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 1px solid #f1f5f9;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: #f8fafc;
}

.result-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.result-phone {
    font-size: 0.9rem;
    color: #7c3aed;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.result-meta {
    font-size: 0.8rem;
    color: #64748b;
}

.no-results {
    padding: 1.5rem;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

/* ========== ROW LAYOUT TABLES ========== */
.data-table-container {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.06);
}

.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.data-table thead {
    background: #f8fafc;
}

.data-table thead th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e2e8f0;
}

.data-table thead th:first-child {
    border-radius: 12px 0 0 0;
}

.data-table thead th:last-child {
    border-radius: 0 12px 0 0;
}

.data-table tbody tr {
    transition: all 0.2s;
    border-bottom: 1px solid #f1f5f9;
}

.data-table tbody tr:hover {
    background: #f8fafc;
}

.data-table tbody td {
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    color: #1e293b;
}

.status-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.active {
    background: #d1fae5;
    color: #065f46;
}

.status-badge.inactive {
    background: #fee2e2;
    color: #991b1b;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.action-btn {
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
}

.action-btn:hover {
    background: #7c3aed;
    color: white;
    transform: translateY(-2px);
}

.action-btn.danger:hover {
    background: #ef4444;
}

/* Upload Area Styles */
.upload-area {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: #f8fafc;
}

.upload-area:hover {
    border-color: #8b5cf6;
    background: #f1f5f9;
}

.upload-area.dragover {
    border-color: #8b5cf6;
    background: #ede9fe;
}

/* ========== MODALS ========== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f1f5f9;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
}

.btn-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #64748b;
    transition: all 0.2s;
}

.btn-close:hover {
    color: #1e293b;
    transform: scale(1.1);
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f1f5f9;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.page-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -0.5px;
}

/* Additional button styles */
.btn-icon {
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
}

.btn-icon:hover {
    background: #7c3aed;
    color: white;
    transform: translateY(-2px);
}

.btn-icon.btn-delete:hover {
    background: #ef4444;
}

/* Level badges for agents */
.level-badge {
    padding: 0.35rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.level-agent {
    background: #dbeafe;
    color: #1e40af;
}

.level-admin {
    background: #fef3c7;
    color: #92400e;
}

/* Status badges */
.status-online {
    background: #d1fae5;
    color: #065f46;
}

.status-offline {
    background: #f1f5f9;
    color: #64748b;
}

/* Empty states */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: #64748b;
}

.empty-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.empty-text {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* Loading state */
.loading {
    text-align: center;
    padding: 2rem;
    color: #64748b;
    font-size: 0.95rem;
}

/* Search and filter inputs */
.search-input {
    padding: 0.75rem 1rem;
    border: 2px solid #8b5cf6;
    border-radius: 12px;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
    background: linear-gradient(135deg, #e9d5ff 0%, #ddd6fe 100%);
    min-width: 250px;
    color: #1e293b;
    font-weight: 600;
}

.search-input:focus {
    outline: none;
    border-color: #7c3aed;
    background: linear-gradient(135deg, #ddd6fe 0%, #c4b5fd 100%);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.filter-select {
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
    background: #f8fafc;
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: #8b5cf6;
    background: white;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

/* Toggle switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: 0.3s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: #8b5cf6;
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

/* ========== PAGE HEADER STYLING ========== */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, #7c3aed 0%, #6366f1 50%, #8b5cf6 100%);
    border-image-slice: 1;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(90deg, #7c3aed 0%, #6366f1 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    margin: 0;
}

.page-subtitle {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
    margin-top: 0.5rem;
}

.page-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* ========== INFO CARD STYLING ========== */
.info-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-left: 4px solid #7c3aed;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.1);
}

.info-card.info {
    border-left-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.info-card.success {
    border-left-color: #10b981;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.info-card.warning {
    border-left-color: #f59e0b;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.info-card.danger {
    border-left-color: #ef4444;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
}

.info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.info-content {
    flex: 1;
}

.info-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
}

.info-content p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* ========== MODERN PAGE HEADERS ========== */
.page-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 3px solid #f1f5f9;
}

.page-header-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.page-icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 16px rgba(124,58,237,0.25);
    flex-shrink: 0;
}

/* CRITICAL: Prevent gradient from affecting icons */
.page-icon-wrapper i,
.page-icon-wrapper .fas,
.page-icon-wrapper .far,
.page-icon-wrapper .fab {
    /* Reset gradient - icons show their natural color */
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: white !important;
    background-clip: unset !important;
    color: white !important;
}

.page-header-text {
    flex: 1;
}

.page-subtitle {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
    margin: 0;
    line-height: 1.5;
}

.page-title-gradient {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    background: linear-gradient(90deg, #7c3aed 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.page-header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* ========== PROFESSIONAL INFO CARDS ========== */
.info-card-modern {
    background: linear-gradient(135deg, #f5f3ff 0%, #faf5ff 100%);
    border-left: 4px solid #7c3aed;
    border-radius: 16px;
    padding: 1.75rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    box-shadow: 0 2px 8px rgba(124,58,237,0.08);
}

.info-card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(124,58,237,0.2);
}

/* CRITICAL: Info card icons also must be white */
.info-card-icon i,
.info-card-icon .fas,
.info-card-icon .far,
.info-card-icon .fab {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: white !important;
    background-clip: unset !important;
    color: white !important;
}

/* Ensure emoji display correctly if used anywhere */
.emoji-icon {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: currentColor !important;
    background-clip: unset !important;
    filter: none !important;
}

.info-card-content {
    flex: 1;
}

.info-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
}

.info-card-text {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* ========== SECTION HEADERS ========== */
.section-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2.5rem 0 1.5rem 0;
}

.section-title-modern {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-title-modern i {
    color: #7c3aed;
    font-size: 1.25rem;
}

.section-actions {
    display: flex;
    gap: 0.75rem;
}

/* ========== TAB NAVIGATION (for pages with tabs) ========== */
.tab-navigation-modern {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0;
}

.tab-item-modern {
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #64748b;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: -2px;
    text-decoration: none;
    display: inline-block;
}

.tab-item-modern:hover {
    color: #7c3aed;
    background: #f8fafc;
}

.tab-item-modern.active {
    color: #7c3aed;
    border-bottom-color: #7c3aed;
    background: #faf5ff;
}

/* ============================================================================
   STANDARDIZED CIRCULAR PROGRESS BARS
   ============================================================================ */

.stat-card {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.stat-header {
    margin-bottom: 16px;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #64748b;
}

.stat-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
}

.stat-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-percentage {
    font-size: 1rem;
    font-weight: 600;
    color: #7c3aed;
}

.stat-sublabel {
    font-size: 0.875rem;
    color: #64748b;
}

.progress-ring {
    width: 80px;
    height: 80px;
    transform: rotate(-90deg);
}

.progress-ring-circle {
    transition: stroke-dashoffset 0.5s ease;
    transform-origin: 50% 50%;
}

.progress-ring-bg {
    stroke: #e2e8f0;
    stroke-width: 8;
    fill: none;
}

.progress-ring-bg,
.progress-ring-fill {
    fill: none !important;
}

.progress-ring-fill {
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.5s ease;
}

.progress-ring-fill.blue { stroke: #3b82f6 !important; }
.progress-ring-fill.green { stroke: #10b981 !important; }
.progress-ring-fill.purple { stroke: #7c3aed !important; }
.progress-ring-fill.pink { stroke: #ec4899 !important; }
.progress-ring-fill.orange { stroke: #f59e0b !important; }

/* ========== PAGE LABEL / HERO SECTION ========== */
/* Used for page headers with icon, title, subtitle, and optional CTA button */
/* Generic classes (page-label-*) and Cadence-specific aliases (cadence-*) */

.page-label,
.cadence-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 24px 32px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}

.page-label::before,
.page-label::after {
    pointer-events: none;
}

.page-label-icon,
.cadence-icon {
    font-size: 48px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.page-label-text,
.cadence-title-section {
    flex: 1;
}

.page-label h1,
.page-label-text h1,
.cadence-header h1 {
    margin: 0;
    color: white;
    font-size: 28px;
    font-weight: 600;
}

.page-label-subtitle,
.cadence-subtitle {
    margin: 4px 0 0 0;
    color: rgba(255,255,255,0.9);
    font-size: 14px;
}

.page-label-cta,
.save-btn {
    background: white;
    color: #7c3aed;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

.page-label-cta:hover,
.save-btn:hover {
    background: #f8f9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

/* ========== TEAM STATISTICS (Feature 3) ========== */
/* ========== TEAM STATISTICS BOX (FIX 1) ========== */
.team-statistics-container {
    margin-bottom: 32px;
}

.team-statistics-card {
    background: white;
    border-radius: 16px;
    padding: 28px 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
}

.stat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.stat-header i {
    font-size: 24px;
    color: #667eea;
}

.stat-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.stat-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-value {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.stat-value.stat-highlight {
    color: #667eea;
}

.stat-label {
    font-size: 13px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: #e8e8e8;
}

.btn-manage-licenses {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-manage-licenses:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.btn-manage-licenses i {
    font-size: 18px;
}

/* ========== LICENSE BADGES (Feature 3) ========== */
.license-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.license-active {
    background: #d4edda;
    color: #155724;
}

.license-inactive {
    background: #f8d7da;
    color: #721c24;
}

.license-admin {
    background: #d1ecf1;
    color: #0c5460;
}

/* ========== TOGGLE BUTTON (Feature 3) ========== */
.btn-toggle {
    font-size: 20px;
    transition: all 0.3s;
}

.btn-toggle.active {
    color: #28a745;
}

.btn-toggle:not(.active) {
    color: #6c757d;
}

.btn-toggle:hover {
    transform: scale(1.2);
}

/* ========== FONT AWESOME ICON BUTTONS (Feature 3) ========== */
.btn-icon {
    background: none;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    color: #666;
    font-size: 16px;
    transition: all 0.3s;
    border-radius: 4px;
}

.btn-icon:hover {
    background: #f0f0f0;
    color: #667eea;
}

.btn-icon.btn-danger:hover {
    background: #ffe6e6;
    color: #dc3545;
}

.actions-cell {
    display: flex;
    gap: 4px;
    align-items: center;
}

/* ========== ROLE BADGES ========== */
.role-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.role-agent {
    background: #e3f2fd;
    color: #1976d2;
}

.role-supervisor {
    background: #fff3e0;
    color: #f57c00;
}

.role-manager {
    background: #f3e5f5;
    color: #7b1fa2;
}

.role-admin {
    background: #fce4ec;
    color: #c2185b;
}

/* ========== USERNAME LINK ========== */
.username-link {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
}

.username-link:hover {
    text-decoration: underline;
}

/* ========== LICENSE MANAGER MODAL - FULL SCREEN (FIX 2) ========== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.modal-fullscreen {
    width: 95%;
    height: 95%;
    background: white;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.modal-header-bar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-title {
    font-size: 24px;
    font-weight: 600;
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-title i {
    font-size: 28px;
}

.modal-close-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.modal-body-content {
    flex: 1;
    overflow-y: auto;
    padding: 32px;
}

.license-overview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.license-stat-card {
    padding: 24px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.license-stat-card.card-purple {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.license-stat-card.card-green {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
}

.license-stat-card.card-blue {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.license-stat-card.card-orange {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: white;
}

.card-icon {
    font-size: 48px;
    opacity: 0.9;
}

.card-content {
    flex: 1;
}

.card-value {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 4px;
}

.card-label {
    font-size: 13px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.license-action-bar {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.btn-action {
    padding: 14px 28px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-action.btn-primary {
    background: #8b5cf6;
    color: white;
}

.btn-action.btn-primary:hover {
    background: #7c3aed;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.btn-action.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-action.btn-danger:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

.btn-action.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-action.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
}

.license-table-wrapper {
    background: white;
    border-radius: 16px;
    border: 1px solid #e8e8e8;
    overflow: hidden;
}

.license-data-table {
    width: 100%;
    border-collapse: collapse;
}

.license-data-table thead {
    background: #f8f9fa;
}

.license-data-table th {
    padding: 16px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e8e8e8;
}

.license-data-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s;
}

.license-data-table tbody tr:hover {
    background: #f8f9ff;
}

.license-data-table td {
    padding: 16px;
    font-size: 14px;
    color: #333;
}

/* ========== STATUS TOGGLE SWITCHES (FIX 3) ========== */
.status-toggle-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 34px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked + .toggle-slider {
    background-color: #28a745;
}

input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

input:focus + .toggle-slider {
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.2);
}

.status-label {
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    transition: all 0.3s;
}

.status-active {
    background: #d4edda;
    color: #155724;
}

.status-inactive {
    background: #f8d7da;
    color: #721c24;
}

/* ========== SEARCH & FILTER BAR (FIX 5) ========== */
.search-filter-bar {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    align-items: center;
    padding: 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.06);
}

.search-filter-bar .search-box {
    flex: 1;
    position: relative;
    max-width: 500px;
}

.search-filter-bar .search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #7c3aed;
    font-size: 20px;
    pointer-events: none;
    font-weight: bold;
}

.search-filter-bar .search-input {
    width: 100%;
    padding: 16px 50px 16px 50px;
    border: 3px solid #8b5cf6;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s;
    background: linear-gradient(135deg, #e9d5ff 0%, #ddd6fe 100%);
    color: #1e293b;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.15);
}

.search-filter-bar .search-input:focus {
    outline: none;
    border-color: #7c3aed;
    background: linear-gradient(135deg, #ddd6fe 0%, #c4b5fd 100%);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.2), 0 2px 8px rgba(139, 92, 246, 0.15);
}

.search-filter-bar .search-input::placeholder {
    color: #6b21a8;
    font-weight: 700;
}

.search-filter-bar .search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f0f0f0;
    border: none;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.search-filter-bar .search-clear:hover {
    background: #e0e0e0;
    color: #333;
}

.search-filter-bar .filter-controls {
    display: flex;
    gap: 12px;
}

.search-filter-bar .filter-select {
    padding: 12px 16px;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 140px;
}

.search-filter-bar .filter-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.search-filter-bar .filter-select:hover {
    border-color: #667eea;
}

/* ========== PERMISSION MODES (FIX 6) ========== */
.permissions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.permission-mode-toggle {
    display: flex;
    gap: 0;
    background: #f0f0f0;
    padding: 4px;
    border-radius: 10px;
}

.mode-btn {
    padding: 10px 24px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
}

.mode-btn.active {
    background: white;
    color: #667eea;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.mode-btn:hover:not(.active) {
    color: #333;
}

.permissions-readonly {
    margin-top: 24px;
}

.readonly-notice {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    color: #1565c0;
}

.readonly-notice i {
    font-size: 20px;
}

.permission-summary h4 {
    margin: 0 0 16px 0;
    color: #333;
    font-size: 16px;
}

.permission-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.permission-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #f8f9ff;
    border: 1px solid #667eea;
    border-radius: 8px;
    color: #667eea;
    font-size: 14px;
    font-weight: 500;
}

.permission-badge i {
    font-size: 16px;
}

.custom-warning {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    color: #856404;
}

.custom-warning i {
    font-size: 20px;
}

.custom-warning p {
    margin: 0;
}

/* ========== CAMPAIGN/QUEUE ASSIGNMENTS (FIX 7) ========== */
.assignment-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    margin-top: 24px;
}

.assignment-column {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border: 3px solid #8b5cf6;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.08);
}

.assignment-column h4 {
    margin: 0 0 16px 0;
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.assignment-search {
    position: relative;
    margin-bottom: 16px;
}

.assignment-search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #8b5cf6;
    font-size: 16px;
    font-weight: bold;
}

.assignment-search input {
    width: 100%;
    padding: 12px 14px 12px 40px;
    border: 2px solid #e9ecff;
    border-radius: 10px;
    font-size: 14px;
    background: white;
    color: #1e293b;
    font-weight: 500;
    transition: all 0.2s;
}

.assignment-search input:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.assignment-search input::placeholder {
    color: #64748b;
    font-weight: 500;
}

.assignment-count {
    margin-bottom: 16px;
    padding: 10px 14px;
    background: linear-gradient(135deg, #f8f9ff 0%, #faf5ff 100%);
    border: 2px solid #e9ecff;
    border-radius: 10px;
    font-size: 14px;
    color: #1e293b;
    font-weight: 600;
}

.assignment-count span {
    font-weight: 700;
    color: #8b5cf6;
    font-size: 15px;
}

.assignment-list {
    max-height: 500px;
    overflow-y: auto;
    padding: 4px;
}

.assignment-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    margin-bottom: 8px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s;
}

.assignment-item:hover {
    background: #e9ecef;
}

.assignment-checkbox-label {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.assignment-checkbox {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
}

.assignment-checkbox:checked + .checkbox-custom {
    background: #667eea;
    border-color: #667eea;
}

.assignment-checkbox:checked + .checkbox-custom:before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: white;
    font-size: 12px;
}

.assignment-details {
    flex: 1;
}

.assignment-name {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.assignment-desc {
    display: block;
    font-size: 12px;
    color: #666;
}

.assignment-quick-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #667eea;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.assignment-quick-btn:hover {
    background: #5568d3;
    transform: scale(1.1);
}

/* ========== SELECTABLE ASSIGNMENT ITEMS ========== */
.assignment-item-selectable {
    padding: 14px 16px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #f8f9ff 0%, #faf5ff 100%);
    border: 2px solid #e9ecff;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.assignment-item-selectable::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #8b5cf6 0%, #6366f1 100%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.assignment-item-selectable:hover {
    border-color: #c7d2fe;
    background: linear-gradient(135deg, #f0f2ff 0%, #f3e8ff 100%);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.12);
}

.assignment-item-selectable:hover::before {
    opacity: 1;
}

.assignment-item-selectable.assignment-item-selected {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
}

.assignment-item-selectable.assignment-item-selected .assignment-name,
.assignment-item-selectable.assignment-item-selected .assignment-desc {
    color: white !important;
}

.assignment-item-selectable .assignment-details {
    flex: 1;
}

.assignment-item-selectable .assignment-name {
    display: block;
    font-weight: 700;
    font-size: 15px;
    color: #0f172a;
    margin-bottom: 3px;
}

.assignment-item-selectable .assignment-desc {
    display: block;
    font-size: 13px;
    color: #475569;
    font-weight: 500;
}

/* Update assignment container for 3-column layout with arrows */
.assignment-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    margin-top: 24px;
}

.assignment-arrows {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.arrow-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #667eea;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
}

.arrow-btn:hover {
    background: #5568d3;
    transform: scale(1.1);
}

/* ========== PHONE/DID SECTION (FIX 8) ========== */
.phone-section {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}

.phone-extension-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    color: white;
    margin-bottom: 24px;
}

.extension-badge {
    display: flex;
    align-items: center;
    gap: 16px;
}

.extension-badge i {
    font-size: 36px;
    opacity: 0.9;
}

.extension-label {
    display: block;
    font-size: 12px;
    opacity: 0.9;
    text-transform: uppercase;
}

.extension-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
}

.extension-type {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.type-badge {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.did-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
}

.did-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.did-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.did-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.did-toggle input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.form-divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.form-divider:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: #ddd;
}

.form-divider span {
    position: relative;
    background: #f8f9fa;
    padding: 0 16px;
    color: #999;
    font-size: 13px;
    font-weight: 600;
}

.btn-save-did {
    width: 100%;
    padding: 14px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    margin-top: 20px;
}

.btn-save-did:hover {
    background: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.assigned-did-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: white;
    border-radius: 10px;
    border: 2px solid #667eea;
}

.did-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.did-info i {
    font-size: 28px;
    color: #667eea;
}

.did-number {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.did-caller-id {
    display: block;
    font-size: 13px;
    color: #666;
}

.did-actions {
    display: flex;
    gap: 8px;
}

.btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #667eea;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon:hover {
    background: #5568d3;
    transform: scale(1.1);
}

.btn-icon.btn-danger {
    background: #dc3545;
}

.btn-icon.btn-danger:hover {
    background: #c82333;
}

/* ========== PERFORMANCE SECTION (FIX 9) ========== */
.performance-section {
    background: white;
    border-radius: 16px;
    padding: 24px;
}

.performance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.performance-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.date-range-selector {
    display: flex;
    gap: 12px;
    align-items: center;
}

.date-range-selector select {
    padding: 10px 16px;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
}

.date-range-selector select:focus {
    outline: none;
    border-color: #667eea;
}

.btn-run-report {
    padding: 10px 20px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-run-report:hover {
    background: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.loading-spinner {
    text-align: center;
    padding: 60px 20px;
}

.loading-spinner i {
    font-size: 48px;
    color: #667eea;
    margin-bottom: 16px;
}

.loading-spinner p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.metric-card {
    background: white;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s;
}

.metric-card:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.metric-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.metric-content {
    flex: 1;
}

.metric-label {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
}

.metric-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.charts-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.chart-card {
    background: white;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    padding: 24px;
}

.chart-card h4 {
    margin: 0 0 20px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.chart-card canvas {
    max-height: 300px;
}

/* ========== DATATABLES OVERRIDES ========== */
.dataTables_wrapper .dataTables_length select {
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.dataTables_wrapper .dataTables_filter input {
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-left: 8px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 4px 12px;
    margin: 0 2px;
    border-radius: 4px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #667eea;
    color: white !important;
    border-color: #667eea;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #667eea;
    color: white !important;
    border-color: #667eea;
}

/* ========== PERMISSION TEMPLATES (Feature 7) ========== */
.permission-templates {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
}

.permission-templates label {
    font-weight: 600;
    color: #333;
}

.permission-templates select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    min-width: 200px;
}

.permission-templates button {
    margin-left: auto;
}

/* ========== MODAL IMPROVEMENTS ========== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-dialog {
    position: relative;
    margin: 2rem auto;
    max-width: 800px;
}

.modal-content {
    background-color: #fefefe;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: slideDown 0.3s;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* ========== TAB NAVIGATION ========== */
.tab-nav-wrapper {
    position: relative;
    z-index: 9999 !important;
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: auto !important;
    position: relative;
    z-index: 10000;
}

.tab-btn:hover {
    color: #667eea;
    background: #f8f9ff;
}

.tab-btn.active {
    color: #667eea;
    border-bottom-color: #667eea;
    background: #f8f9ff;
}

.tab-btn i {
    font-size: 1rem;
    margin-right: 0.5rem;
}

/* Colorful tab icons */
.tab-btn:nth-child(1) i { color: #3b82f6; } /* Basic Info - Blue */
.tab-btn:nth-child(2) i { color: #f59e0b; } /* Permissions - Orange */
.tab-btn:nth-child(3) i { color: #10b981; } /* Campaigns - Green */
.tab-btn:nth-child(4) i { color: #8b5cf6; } /* Phone/DID - Purple */
.tab-btn:nth-child(5) i { color: #ef4444; } /* Performance - Red */

/* Keep active tab icon purple */
.tab-btn.active i {
    color: #667eea !important;
}

.tab-btn:hover i {
    opacity: 0.8;
}

.tab-content {
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== STATUSES COMPACT TABLE STYLES ========== */
.statuses-compact .status-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    margin-bottom: 20px;
}

.statuses-compact .section-header-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
}

.statuses-compact .section-title-compact {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.statuses-compact .section-count-badge {
    background: #667eea;
    color: white;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.statuses-compact .compact-table {
    width: 100%;
    border-collapse: collapse;
}

.statuses-compact .compact-table thead {
    background: #f8f9fa;
}

.statuses-compact .compact-table th {
    padding: 10px 12px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e2e8f0;
}

.statuses-compact .compact-table tbody tr {
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s;
}

.statuses-compact .compact-table tbody tr:hover {
    background: #f8f9ff;
}

.statuses-compact .compact-table td {
    padding: 10px 12px;
    font-size: 13px;
    color: #1e293b;
}

.statuses-compact .status-code-compact {
    font-weight: 700;
    color: #667eea;
    font-size: 14px;
}

.statuses-compact .status-name-compact {
    font-weight: 500;
}

.statuses-compact .tiny-badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 600;
    margin-right: 4px;
    white-space: nowrap;
}

.statuses-compact .tiny-badge-success { background: #d4edda; color: #155724; }
.statuses-compact .tiny-badge-warning { background: #fff3cd; color: #856404; }
.statuses-compact .tiny-badge-danger { background: #f8d7da; color: #721c24; }
.statuses-compact .tiny-badge-info { background: #d1ecf1; color: #0c5460; }

.statuses-compact .usage-mini {
    display: flex;
    align-items: center;
    gap: 6px;
}

.statuses-compact .usage-bar-mini {
    width: 50px;
    height: 4px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.statuses-compact .usage-fill-mini {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
}

.statuses-compact .usage-num {
    font-size: 12px;
    font-weight: 600;
    color: #667eea;
    min-width: 25px;
}

.statuses-compact .action-icons-mini {
    display: flex;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.2s;
}

.statuses-compact .compact-table tbody tr:hover .action-icons-mini {
    opacity: 1;
}

.statuses-compact .icon-btn-mini {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.2s;
}

.statuses-compact .icon-btn-mini.edit {
    background: #e0e7ff;
    color: #667eea;
}

.statuses-compact .icon-btn-mini.edit:hover {
    background: #667eea;
    color: white;
}

.statuses-compact .icon-btn-mini.delete {
    background: #fee2e2;
    color: #dc3545;
}

.statuses-compact .icon-btn-mini.delete:hover {
    background: #dc3545;
    color: white;
}

.statuses-compact .controls-bar-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 16px;
}

.statuses-compact .search-compact {
    flex: 1;
    max-width: 350px;
    position: relative;
}

.statuses-compact .search-compact input {
    width: 100%;
    padding: 10px 14px 10px 38px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s;
}

.statuses-compact .search-compact input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.statuses-compact .search-compact i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 14px;
}

.statuses-compact .filter-pills-compact {
    display: flex;
    gap: 8px;
}

.statuses-compact .pill-compact {
    padding: 8px 14px;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    background: white;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s;
}

.statuses-compact .pill-compact:hover {
    border-color: #667eea;
    color: #667eea;
}

.statuses-compact .pill-compact.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.statuses-compact .protected-label {
    font-size: 11px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 4px;
}

.statuses-compact .empty-compact {
    text-align: center;
    padding: 40px 20px;
    color: #94a3b8;
}

.statuses-compact .empty-compact-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.statuses-compact .empty-compact-title {
    font-size: 18px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 8px;
}

.statuses-compact .empty-compact-text {
    font-size: 14px;
    margin-bottom: 16px;
}
