/* Main CSS for Clicq Dashboard Pages */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: #f8fafc;
    min-height: 100vh;
    color: #1e293b;
    line-height: 1.6;
    font-size: 14px;
}

/* Page Container */
.page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px;
}

/* Simple Layout */
.simple-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.command-panel, .agents-panel {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px;
}

.command-panel h3, .agents-panel h3 {
    margin: 0 0 16px 0;
    color: #1e293b;
    font-size: 18px;
}

.command-panel .form-group {
    margin-bottom: 16px;
}

.command-panel label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}

.command-panel select, .command-panel input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    background: white;
}

.command-panel select:focus, .command-panel input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.agent-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    margin-bottom: 8px;
}

.agent-item.online {
    border-color: #22c55e;
    background: #f0fdf4;
}

.agent-item.offline {
    border-color: #ef4444;
    background: #fef2f2;
}

.agent-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.agent-status {
    font-size: 12px;
    font-weight: 500;
}

.agent-item.online .agent-status {
    color: #16a34a;
}

.agent-item.offline .agent-status {
    color: #dc2626;
}

.agent-time {
    font-size: 12px;
    color: #64748b;
}

/* Command History */
.history-section {
    max-width: 800px;
    margin: 32px auto 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px;
}

.history-section h3 {
    margin: 0 0 16px 0;
    color: #1e293b;
    font-size: 18px;
}

.command-history {
    max-height: 400px;
    overflow-y: auto;
}

.command-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    margin-bottom: 8px;
}

.command-item.success {
    border-color: #22c55e;
    background: #f0fdf4;
}

.command-item.warning {
    border-color: #f59e0b;
    background: #fffbeb;
}

.command-item.error {
    border-color: #ef4444;
    background: #fef2f2;
}

.command-info {
    flex: 1;
}

.command-header {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 4px;
}

.command-host {
    font-weight: 600;
    color: #1e293b;
}

.command-cmd {
    font-family: 'Courier New', monospace;
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
}

.command-status {
    font-size: 12px;
    font-weight: 500;
}

.command-result {
    font-family: 'Courier New', monospace;
    background: #f8fafc;
    padding: 8px;
    border-radius: 4px;
    margin-top: 4px;
    font-size: 12px;
    color: #475569;
}

.command-time {
    font-size: 12px;
    color: #64748b;
    white-space: nowrap;
}

.page-header {
    background: white;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.page-header h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #0f172a;
    letter-spacing: -0.025em;
}

.page-header p {
    color: #64748b;
    font-size: 16px;
    font-weight: 400;
}

/* Cards and Containers */
.dashboard-card, .settings-card, .upload-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 24px;
    transition: box-shadow 0.2s ease;
}

.dashboard-card:hover, .settings-card:hover, .upload-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.dashboard-card-wide {
    grid-column: 1 / -1;
}

.card-header, .settings-header, .upload-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    color: #0f172a;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3, .settings-header h3, .upload-header h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #0f172a;
}

.card-content, .settings-content, .upload-content {
    padding: 24px;
}

.card-actions {
    display: flex;
    gap: 10px;
}

/* Grid Layouts */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.agents-grid, .files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}

input, select, textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    background: white;
    color: #1f2937;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

input::placeholder, textarea::placeholder {
    color: #9ca3af;
}

/* Buttons */
button, .btn-primary, .btn-secondary, .btn-danger {
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    background: #3b82f6;
    color: white;
    border: 1px solid #3b82f6;
}

.btn-primary:hover {
    background: #2563eb;
    border-color: #2563eb;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

.btn-secondary {
    background: white;
    color: #374151;
    border: 1px solid #d1d5db;
}

.btn-secondary:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    color: #1f2937;
}

.btn-danger {
    background: #ef4444;
    color: white;
    border: 1px solid #ef4444;
}

.btn-danger:hover {
    background: #dc2626;
    border-color: #dc2626;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

button:disabled {
    background: #f3f4f6;
    color: #9ca3af;
    border-color: #e5e7eb;
    cursor: not-allowed;
    box-shadow: none;
}

/* Status Indicators */
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #95a5a6;
}

.status-online .status-dot {
    background: #27ae60;
    box-shadow: 0 0 10px rgba(39, 174, 96, 0.5);
}

.status-warning .status-dot {
    background: #f39c12;
}

.status-offline .status-dot {
    background: #e74c3c;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fbbf24;
}

.status-processing {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #3b82f6;
}

.status-completed {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.status-failed {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

/* Result Boxes */
.result-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    margin-top: 16px;
}

.result-box.success {
    border-color: #10b981;
    background: #f0fdf4;
}

.result-box.error {
    border-color: #ef4444;
    background: #fef2f2;
}

/* Loading States */
.loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-placeholder {
    text-align: center;
    padding: 40px;
    color: #7f8c8d;
    font-style: italic;
}

/* Tables */
.table-container {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: white;
}

.history-table, .results-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.history-table th,
.history-table td,
.results-table th,
.results-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
}

.history-table th,
.results-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #374151;
    position: sticky;
    top: 0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.history-table tr:hover,
.results-table tr:hover {
    background: #f8fafc;
}

.sortable {
    cursor: pointer;
    user-select: none;
}

.sortable:hover {
    background: #e9ecef;
}

.sort-indicator {
    margin-left: 5px;
    color: #3498db;
}

/* Agent Cards */
.agent-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    cursor: pointer;
}

.agent-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.agent-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.agent-name {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.agent-status {
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
}

.agent-status-online {
    background: #d5f4e6;
    color: #27ae60;
}

.agent-status-warning {
    background: #fef5e7;
    color: #f39c12;
}

.agent-status-offline {
    background: #fadbd8;
    color: #e74c3c;
}

.agent-info {
    margin-bottom: 15px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.info-label {
    color: #7f8c8d;
}

.info-value {
    font-weight: 500;
}

/* File Cards */
.file-card {
    background: white;
    border-radius: 8px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    cursor: pointer;
}

.file-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.file-card.selected {
    border-color: #3b82f6;
    background: #f0f9ff;
}

.file-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.file-icon {
    font-size: 2em;
}

.file-name {
    font-weight: 600;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #7f8c8d;
    margin-bottom: 8px;
}

.file-host {
    font-size: 12px;
    color: #3498db;
    font-weight: 500;
}

.file-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

/* Enhanced file card styles */
.file-status {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
    text-transform: uppercase;
}

.status-success {
    background: #dcfce7;
    color: #166534;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.file-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 8px 0;
    font-size: 12px;
    color: #64748b;
}

.file-details > div {
    display: flex;
    align-items: center;
    gap: 4px;
}

.file-storage-key {
    font-size: 11px;
    color: #94a3b8;
    background: #f1f5f9;
    padding: 4px 6px;
    border-radius: 4px;
    margin-top: 8px;
    font-family: monospace;
    word-break: break-all;
}

/* File Table Styles */
.files-table-container {
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.files-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.files-table thead {
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
}

.files-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #e2e8f0;
}

.files-table th:first-child {
    width: 40px;
    text-align: center;
}

.files-table th:last-child {
    width: 120px;
    text-align: center;
}

.files-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.files-table tbody tr:hover {
    background: #f8fafc;
}

.files-table tbody tr.selected {
    background: #f0f9ff;
    border-left: 3px solid #3b82f6;
}

.file-checkbox {
    margin: 0;
    cursor: pointer;
}

.file-name-cell {
    max-width: 300px;
}

.file-name-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.file-name-content .file-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.file-name {
    font-weight: 500;
    color: #1e293b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-size {
    font-family: monospace;
    color: #64748b;
}

.file-type {
    color: #64748b;
    font-size: 12px;
}

.file-host {
    color: #64748b;
    font-weight: 500;
}

.file-date {
    color: #64748b;
    font-size: 12px;
}

.file-actions-cell {
    text-align: center;
}

.file-actions-cell button {
    margin: 0 2px;
    padding: 4px 8px;
    font-size: 12px;
}

.no-files {
    text-align: center;
    padding: 40px 20px;
}

.no-files-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.no-files-icon {
    font-size: 48px;
    opacity: 0.5;
}

.no-files h3 {
    margin: 0;
    color: #64748b;
    font-size: 18px;
}

.no-files p {
    margin: 0;
    color: #94a3b8;
    font-size: 14px;
}

/* Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    border: 1px solid #e2e8f0;
}

.modal-large {
    max-width: 800px;
}

.modal-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    color: #0f172a;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px 12px 0 0;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
}

.modal-close {
    background: none;
    border: none;
    color: #64748b;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #f1f5f9;
    color: #374151;
}

.modal-body {
    padding: 30px;
}

.modal-footer {
    padding: 20px 30px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Upload Area */
.upload-area {
    border: 2px dashed #bdc3c7;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.upload-area:hover,
.upload-area.drag-over {
    border-color: #3498db;
    background: #f8f9ff;
}

.upload-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.upload-text strong {
    display: block;
    margin-bottom: 5px;
    color: #2c3e50;
}

.upload-text p {
    color: #7f8c8d;
    font-size: 14px;
}

/* Progress Bar */
.upload-progress {
    margin-top: 20px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    font-size: 14px;
    color: #7f8c8d;
}

/* Overview Cards */
.agents-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.overview-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 15px;
}

.overview-icon {
    font-size: 2em;
}

.overview-number {
    font-size: 2em;
    font-weight: 700;
    color: #2c3e50;
}

.overview-label {
    color: #7f8c8d;
    font-size: 14px;
}

/* Status Grid */
.status-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
}

.status-label {
    color: #7f8c8d;
    font-size: 14px;
}

.status-value {
    font-weight: 600;
    color: #2c3e50;
}

/* Activity List */
.activity-list {
    max-height: 300px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-weight: 500;
    margin-bottom: 5px;
}

.activity-meta {
    font-size: 12px;
    color: #7f8c8d;
}

/* Pagination */
.pagination-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.page-info {
    font-size: 14px;
    color: #7f8c8d;
}

/* Bulk Actions */
.bulk-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-top: 20px;
}

.bulk-info {
    font-weight: 500;
    color: #2c3e50;
}

.bulk-buttons {
    display: flex;
    gap: 10px;
}

/* Settings */
.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.setting-item:last-child {
    border-bottom: none;
}

.setting-item label {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.password-input {
    display: flex;
    gap: 10px;
    align-items: center;
}

.password-input input {
    flex: 1;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.danger-zone {
    border-top: 2px solid #e74c3c;
    padding-top: 20px;
}

.danger-zone h4 {
    color: #e74c3c;
    margin-bottom: 15px;
}

.danger-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 1001;
    animation: slideIn 0.3s ease;
}

.notification-success {
    background: #27ae60;
}

.notification-error {
    background: #e74c3c;
}

.notification-info {
    background: #3498db;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .settings-grid {
        grid-template-columns: 1fr;
    }
    
    .agents-grid,
    .files-grid {
        grid-template-columns: 1fr;
    }
    
    .pagination-info {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .bulk-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .page-container {
        padding: 10px;
    }
    
    .page-header {
        padding: 20px;
    }
    
    .page-header h1 {
        font-size: 2em;
    }
}

/* Dark Theme */
.theme-dark {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #e0e0e0;
}

.theme-dark .page-header,
.theme-dark .dashboard-card,
.theme-dark .settings-card,
.theme-dark .upload-card {
    background: #2c3e50;
    color: #e0e0e0;
}

.theme-dark .page-header h1 {
    color: #e0e0e0;
}

.theme-dark .page-header p {
    color: #b0b0b0;
}

.theme-dark input,
.theme-dark select,
.theme-dark textarea {
    background: #34495e;
    border-color: #4a5f7a;
    color: #e0e0e0;
}

.theme-dark input:focus,
.theme-dark select:focus,
.theme-dark textarea:focus {
    border-color: #3498db;
}

.theme-dark .table-container {
    background: #2c3e50;
}

.theme-dark .history-table,
.theme-dark .results-table {
    background: #2c3e50;
    color: #e0e0e0;
}

.theme-dark .history-table th,
.theme-dark .results-table th {
    background: #34495e;
    color: #e0e0e0;
}

.theme-dark .history-table tr:hover,
.theme-dark .results-table tr:hover {
    background: #34495e;
}
