/* Modern Theme for Solid Trading Bot */
/* Dark Mode Trading Dashboard */

:root {
  /* Color Palette */
  --bg-primary: #0d1117;
  --bg-secondary: #161b22;
  --bg-tertiary: #21262d;
  --bg-card: #1c2128;
  --bg-hover: #30363d;

  /* Text Colors */
  --text-primary: #e6edf3;
  --text-secondary: #8b949e;
  --text-muted: #6e7681;

  /* Accent Colors */
  --accent-primary: #58a6ff;
  --accent-success: #3fb950;
  --accent-warning: #d29922;
  --accent-danger: #f85149;
  --accent-info: #58a6ff;

  /* Gradient Backgrounds for Cards */
  --gradient-balance: linear-gradient(135deg, #1a5fb4 0%, #3584e4 100%);
  --gradient-profit: linear-gradient(135deg, #26a269 0%, #33d17a 100%);
  --gradient-loss: linear-gradient(135deg, #c01c28 0%, #ed333b 100%);
  --gradient-neutral: linear-gradient(135deg, #5e5c64 0%, #77767b 100%);
  --gradient-target: linear-gradient(135deg, #a2890b 0%, #f5c211 100%);
  --gradient-info: linear-gradient(135deg, #1c71d8 0%, #62a0ea 100%);

  /* Borders */
  --border-color: #30363d;
  --border-radius: 12px;
  --border-radius-sm: 8px;
  --border-radius-lg: 16px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.5);
  --shadow-glow-success: 0 0 20px rgba(63, 185, 80, 0.3);
  --shadow-glow-danger: 0 0 20px rgba(248, 81, 73, 0.3);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;

  /* Font */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

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

body {
  font-family: var(--font-family);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

/* Modern Header */
.modern-header {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 24px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.modern-header .header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
}

.modern-header .logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modern-header .logo-icon {
  width: 32px;
  height: 32px;
  background: var(--gradient-info);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modern-header nav {
  display: flex;
  gap: 8px;
}

.modern-header nav a {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--border-radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.modern-header nav a:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}

.modern-header .nav-cta {
  background: var(--gradient-info);
  color: white !important;
}

.modern-header .nav-cta:hover {
  opacity: 0.9;
  background: var(--gradient-info) !important;
}

/* Main Container */
.main-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 24px 24px;
}

/* Login Section */
.login-section {
  padding: 0 20px 40px;
}

.login-hero {
  min-height: calc(100vh - 150px);
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding: 40px 0 0; */
}

.login-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
}

.login-card h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
}

.login-card .subtitle {
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 32px;
  font-size: 0.9rem;
}

.login-card .features {
  background: var(--bg-tertiary);
  border-radius: var(--border-radius-sm);
  padding: 16px;
  margin-bottom: 24px;
}

.login-card .features li {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.login-card .features li:last-child {
  margin-bottom: 0;
}

.login-card .features li::before {
  content: "✓";
  color: var(--accent-success);
  font-weight: bold;
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.2);
}

.form-control::placeholder {
  color: var(--text-muted);
}

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238b949e' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-info);
  color: white;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-success {
  background: var(--gradient-profit);
  color: white;
}

.btn-success:hover {
  box-shadow: var(--shadow-glow-success);
}

.btn-danger {
  background: var(--gradient-loss);
  color: white;
}

.btn-danger:hover {
  box-shadow: var(--shadow-glow-danger);
}

.btn-secondary {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-hover);
}

.btn-warning {
  background: var(--gradient-target);
  color: #000;
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.8125rem;
}

/* Dashboard Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

@media (max-width: 1200px) {
  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

/* Stat Cards */
.stat-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-normal);
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stat-card .stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.stat-card .stat-label {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-card .stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-mono);
}

.stat-card .stat-change {
  font-size: 0.75rem;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Card Variants */
.stat-card.balance .stat-icon {
  background: var(--gradient-balance);
}

.stat-card.profit .stat-icon {
  background: var(--gradient-profit);
}

.stat-card.loss .stat-icon {
  background: var(--gradient-loss);
}

.stat-card.target .stat-icon {
  background: var(--gradient-target);
}

.stat-card.info .stat-icon {
  background: var(--gradient-info);
}

.stat-card.neutral .stat-icon {
  background: var(--gradient-neutral);
}

.stat-card.profit .stat-value {
  color: var(--accent-success);
}

.stat-card.loss .stat-value {
  color: var(--accent-danger);
}

/* Control Panel */
.control-panel {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 20px;
  margin-bottom: 24px;
}

.control-panel .controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.control-panel .btn {
  min-width: 140px;
}

/* Activity Panel */
.activity-panel {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.activity-panel .panel-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.activity-panel .panel-header h3 {
  font-size: 1rem;
  font-weight: 600;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--bg-tertiary);
  border-radius: var(--border-radius-sm);
}

.tab-btn {
  padding: 8px 16px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.tab-btn:hover {
  color: var(--text-primary);
}

.tab-btn.active {
  background: var(--bg-secondary);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

/* Activity Log */
.activity-log {
  height: 300px;
  overflow-y: auto;
  padding: 16px 20px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
}

.activity-log::-webkit-scrollbar {
  width: 8px;
}

.activity-log::-webkit-scrollbar-track {
  background: var(--bg-tertiary);
}

.activity-log::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}

.activity-log .log-entry {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.activity-log .log-entry:last-child {
  border-bottom: none;
}

.activity-log .log-entry.profit {
  color: var(--accent-success);
}

.activity-log .log-entry.loss {
  color: var(--accent-danger);
}

.activity-log .log-entry.info {
  color: var(--accent-info);
}

/* Activity Log - Styled log messages */
.activity-log .log-success {
  color: var(--accent-success);
  font-weight: 600;
}

.activity-log .log-profit {
  color: var(--accent-success);
  font-weight: 700;
  background: rgba(63, 185, 80, 0.1);
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
}

.activity-log .log-loss {
  color: var(--accent-danger);
  font-weight: 700;
  background: rgba(248, 81, 73, 0.1);
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
}

.activity-log .log-warning {
  color: var(--accent-warning);
  font-weight: 600;
}

.activity-log .log-info {
  color: var(--accent-info);
  font-weight: 500;
}

.activity-log .log-trade {
  color: #a371f7;
  font-weight: 600;
  background: rgba(163, 113, 247, 0.1);
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
}

.activity-log .log-muted {
  color: var(--text-muted);
  font-size: 0.9em;
}

/* History Table */
.history-table {
  width: 100%;
  border-collapse: collapse;
}

.history-table th,
.history-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.history-table th {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--bg-tertiary);
}

.history-table td {
  font-size: 0.875rem;
  font-family: var(--font-mono);
}

.history-table tbody tr:hover {
  background: var(--bg-hover);
}

/* Settings Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

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

.modal-header h3 {
  font-size: 1.125rem;
  font-weight: 600;
}

.modal-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  border: none;
  border-radius: 8px;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 1.25rem;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.modal-body {
  padding: 24px;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* Settings Form Grid */
.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.settings-grid .form-group.full-width {
  grid-column: 1 / -1;
}

@media (max-width: 480px) {
  .settings-grid {
    grid-template-columns: 1fr;
  }
}

/* Status Indicator */
.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-indicator.connected {
  background: rgba(63, 185, 80, 0.15);
  color: var(--accent-success);
}

.status-indicator.disconnected {
  background: rgba(248, 81, 73, 0.15);
  color: var(--accent-danger);
}

.status-indicator::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 16px 20px;
  min-width: 300px;
  max-width: 400px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.toast.success {
  border-left: 4px solid var(--accent-success);
}

.toast.error {
  border-left: 4px solid var(--accent-danger);
}

.toast.info {
  border-left: 4px solid var(--accent-info);
}

.toast-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast.success .toast-icon {
  background: rgba(63, 185, 80, 0.2);
  color: var(--accent-success);
}

.toast.error .toast-icon {
  background: rgba(248, 81, 73, 0.2);
  color: var(--accent-danger);
}

.toast.info .toast-icon {
  background: rgba(88, 166, 255, 0.2);
  color: var(--accent-info);
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 4px;
}

.toast-message {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

/* Disclaimer */
.disclaimer {
  margin-top: 24px;
  padding: 16px;
  background: var(--bg-tertiary);
  border-radius: var(--border-radius-sm);
  font-size: 0.6rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.disclaimer strong {
  color: var(--text-secondary);
}

/* Mobile Responsive - Native App Feel */
@media (max-width: 768px) {
  .modern-header {
    padding: 10px 16px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  }

  .modern-header .logo {
    font-size: 1rem;
  }

  .modern-header .logo-icon {
    width: 28px;
    height: 28px;
  }

  .modern-header nav {
    display: none;
  }

  .main-container {
    padding: 60px 12px 80px;
  }

  /* Mobile Dashboard Grid - 2 columns */
  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .stat-card {
    padding: 14px;
    border-radius: 10px;
  }

  .stat-card .stat-icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .stat-card .stat-label {
    font-size: 0.7rem;
  }

  .stat-card .stat-value {
    font-size: 1.1rem;
  }

  .stat-card .stat-change {
    font-size: 0.65rem;
  }

  /* Mobile Control Panel - Fixed Bottom */
  .control-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-radius: 16px 16px 0 0;
    padding: 12px 16px;
    margin: 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  }

  .control-panel .controls {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .control-panel .btn {
    min-width: unset;
    padding: 10px 8px;
    font-size: 0.7rem;
    flex-direction: column;
    gap: 4px;
  }

  .control-panel .btn i {
    font-size: 1.1rem;
  }

  .control-panel .btn.btn-lg {
    padding: 10px 8px;
  }

  /* Mobile Activity Panel */
  .activity-panel {
    margin-bottom: 0;
    border-radius: 12px;
  }

  .activity-panel .panel-header {
    padding: 12px 16px;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .activity-panel .panel-header h3 {
    font-size: 0.9rem;
  }

  .tabs {
    width: 100%;
  }

  .tab-btn {
    flex: 1;
    padding: 8px 12px;
    font-size: 0.75rem;
  }

  .activity-log {
    height: 200px;
    padding: 12px;
    font-size: 0.75rem;
  }

  .activity-log .log-entry {
    padding: 6px 0;
  }

  /* Mobile Connection Bar */
  .connection-bar {
    padding: 8px 12px;
    font-size: 0.7rem;
    flex-wrap: wrap;
    gap: 8px;
    border-radius: 10px;
    margin-bottom: 1em;
  }

  .connection-bar .digit-value {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  /* Mobile Login */
  .login-section {
    padding: 20px 16px;
    min-height: calc(100vh - 60px);
  }

  .login-card {
    padding: 24px 20px;
    border-radius: 16px;
  }

  .login-card h2 {
    font-size: 1.4rem;
  }

  .login-card .subtitle {
    font-size: 0.85rem;
  }

  .login-card .features {
    padding: 12px;
  }

  .login-card .features li {
    font-size: 0.8rem;
  }

  /* Mobile Modal */
  .modal-content {
    margin: 10px;
    max-height: calc(100vh - 20px);
    border-radius: 16px;
  }

  .modal-header {
    padding: 16px 20px;
  }

  .modal-body {
    padding: 16px 20px;
  }

  .settings-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .form-control {
    padding: 10px 14px;
    font-size: 16px;
    /* Prevents iOS zoom */
  }

  /* Mobile Toast */
  .toast-container {
    bottom: 90px;
    right: 12px;
    left: 12px;
  }

  .toast {
    min-width: unset;
    width: 100%;
    padding: 12px 16px;
  }

  /* Mobile Disclaimer */
  .disclaimer {
    font-size: 0.7rem;
    padding: 12px;
    margin-bottom: 80px;
  }

  /* Mobile History Table */
  .history-table th,
  .history-table td {
    padding: 8px 10px;
    font-size: 0.7rem;
  }
}

/* Extra small devices */
@media (max-width: 380px) {
  .dashboard-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .stat-card {
    padding: 12px;
  }

  .stat-card .stat-value {
    font-size: 1rem;
  }

  .control-panel .btn {
    padding: 8px 6px;
    font-size: 0.65rem;
  }

  .control-panel .btn i {
    font-size: 1rem;
  }
}

/* iOS Safe Area Support */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .control-panel {
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }
}

/* Touch-friendly interactions */
@media (hover: none) and (pointer: coarse) {
  .btn {
    min-height: 44px;
  }

  .tab-btn {
    min-height: 40px;
  }

  .stat-card:hover {
    transform: none;
  }
}

/* Loading Skeleton */
.skeleton {
  background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-hover) 50%, var(--bg-tertiary) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* Connection Status Bar */
.connection-bar {
  background: var(--bg-tertiary);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  border-bottom: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 1em;
}

.connection-bar .market-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.connection-bar .market-price {
  font-family: var(--font-mono);
  color: var(--text-primary);
  font-weight: 600;
}

.connection-bar .last-digit {
  display: flex;
  align-items: center;
  gap: 8px;
}

.connection-bar .digit-value {
  width: 28px;
  height: 28px;
  background: var(--accent-primary);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

/* Quick Stats Bar */
.quick-stats {
  display: flex;
  gap: 24px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 16px;
}

.quick-stat {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quick-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.quick-stat-value {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.875rem;
}

/* Tab Content */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Utility Classes */
.text-success {
  color: var(--accent-success) !important;
}

.text-danger {
  color: var(--accent-danger) !important;
}

.text-warning {
  color: var(--accent-warning) !important;
}

.text-info {
  color: var(--accent-info) !important;
}

.text-muted {
  color: var(--text-muted) !important;
}

.mt-1 {
  margin-top: 4px;
}

.mt-2 {
  margin-top: 8px;
}

.mt-3 {
  margin-top: 16px;
}

.mt-4 {
  margin-top: 24px;
}

.mb-1 {
  margin-bottom: 4px;
}

.mb-2 {
  margin-bottom: 8px;
}

.mb-3 {
  margin-bottom: 16px;
}

.mb-4 {
  margin-bottom: 24px;
}

.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}