body.theme-dark {
    background: linear-gradient(135deg, #0f2b3d 0%, #1a5f7a 100%);
    color: #e0e0e0;
}

.theme-dark .terminal-container,
.theme-dark .employee-container,
.theme-dark .display-container {
    background: transparent;
}

.theme-dark .terminal-header h1,
.theme-dark .employee-header h1,
.theme-dark .display-header h1 {
    color: #fff;
}

.theme-dark .terminal-header p {
    color: rgba(255,255,255,0.7);
}

.theme-dark .queue-section-header {
    border-bottom-color: rgba(255,255,255,0.1);
}

.theme-dark .queue-section-header h3 {
    color: #fff;
}

.theme-dark .service-btn {
    background: white;
    border-color: transparent;
}

.theme-dark .service-btn:hover {
    border-color: var(--primary-light);
}

.theme-dark .service-prefix {
    color: var(--primary);
}

.theme-dark .service-name {
    color: #333;
}

.theme-dark .service-meta {
    color: #999;
}

.theme-dark .stats-bar {
    background: rgba(255,255,255,0.1);
    border-color: transparent;
}

.theme-dark .stat-item {
    color: rgba(255,255,255,0.8);
}

.theme-dark .stat-item strong {
    color: #fff;
}

.theme-dark .employee-header {
    background: var(--emp-card);
    border-color: rgba(255,255,255,0.1);
}

.theme-dark .current-panel {
    background: transparent;
    border-color: rgba(255,255,255,0.1);
}

.theme-dark .employee-header h1 {
    color: #fff;
}

.theme-dark .employee-info {
    color: rgba(255,255,255,0.7);
}

.theme-dark .current-panel h2 {
    color: #fff;
}

.theme-dark .current-ticket-card {
    background: transparent;
    border-left-color: rgba(255,255,255,0.15);
}

.theme-dark .current-ticket-card.called {
    border-left-color: #ffc107;
}

.theme-dark .current-ticket-card.in-progress {
    border-left-color: #28a745;
}

.theme-dark .current-number {
    color: #ff9800;
}

.theme-dark .current-info {
    color: rgba(255,255,255,0.7);
}

.theme-dark .queue-panel {
    background: var(--emp-bg);
}

.theme-dark .queue-panel h2 {
    color: #fff;
}

.theme-dark .queues-info {
    background: rgba(26, 95, 122, 0.2);
    border-color: rgba(26, 95, 122, 0.3);
}

.theme-dark .queues-info h3 {
    color: rgba(255,255,255,0.7);
}

.theme-dark .queue-badge,
.theme-dark .queue-waiting-badge {
    background: rgba(255,152,0,0.15);
    color: #ff9800;
}

.theme-dark .ticket-queue-item {
    background: var(--emp-card) !important;
    border-color: rgba(255,255,255,0.1);
}

.theme-dark .ticket-queue-item:hover {
    background: var(--emp-item-hover);
}

.theme-dark .ticket-queue-item .ticket-num {
    color: #ddd;
}

.theme-dark .ticket-queue-item .ticket-service {
    color: rgba(255,255,255,0.72);
}

.theme-dark .empty-state {
    color: rgba(255,255,255,0.68);
}

.theme-dark .queue-separator {
    background: var(--emp-bg) !important;
}

.theme-dark .queue-list {
    background: var(--emp-bg);
}

.theme-dark .queue-panel-header {
    background: var(--emp-badge-text);
}

.theme-dark .queue-filter-bar {
    background: var(--emp-card);
}

.theme-dark .status-filters {
    background: var(--emp-card);
}

.theme-dark .queue-search {
    background-color: var(--emp-bg) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='%235a6a7a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 15px center;
    background-size: 15px 15px;
    color: var(--emp-text-secondary);
}

.theme-dark .queue-search:focus {
    background-color: var(--emp-card) !important;
}

.theme-dark .search-clear:hover {
    color: var(--emp-text-secondary);
    background: rgba(255,255,255,0.05);
}

.theme-dark .queue-filter-btn {
    background: var(--emp-card);
    color: var(--emp-text-secondary);
    border-color: var(--emp-border);
}

.theme-dark .queue-filter-btn.active,
.theme-dark .queue-filter-btn:hover {
    background: var(--emp-item-hover);
}

.theme-dark .queue-filter-select {
    background: var(--emp-card);
    color: var(--emp-text-secondary);
    border-color: var(--emp-border);
}

.theme-dark .tq-postponed-reason {
    color: #e6a040;
}

.theme-dark .ct-status-row {
    border-top-color: var(--emp-border);
}

.theme-dark .current-actions .btn-secondary {
    background: var(--emp-btn-secondary);
    color: var(--emp-text-secondary);
}

.theme-dark .current-actions .btn-secondary:hover {
    background: var(--emp-btn-secondary-hover);
}

.theme-dark .tq-bottom {
    color: var(--emp-text-muted);
}

.theme-dark .tq-middle {
    color: var(--emp-text-secondary);
}

.theme-dark .tq-middle .tq-service-name {
    color: var(--emp-text-secondary);
}

.theme-dark .ct-service-row {
    color: var(--emp-text-secondary);
}

.theme-dark .ct-queue-row {
    color: var(--emp-text-muted);
}

.theme-dark .ct-ws-row {
    color: var(--emp-text-secondary);
}

.theme-dark .ct-meta-row {
    color: var(--emp-text-secondary);
}

.theme-dark .modal {
    background: #16213e;
}

.theme-dark .modal-header h2 {
    color: #ff9800;
}

.theme-dark .ticket-lock-countdown {
    color: rgba(255,255,255,0.45);
    background: rgba(0,0,0,0.4);
}
