/* Signeasy Panel – Custom styles (dark theme) */

body {
  background-color: #0f172a;
  color: #cbd5e1;
  font-size: 0.9rem;
}

/* Cards */
.card {
  background-color: #1e293b;
  border: 1px solid #334155;
}
.card-header {
  background-color: #162032;
  border-bottom: 1px solid #334155;
  font-weight: 600;
}

/* Stat cards on dashboard */
.stat-card {
  border-left: 4px solid;
  transition: transform 0.15s;
}
.stat-card:hover { transform: translateY(-2px); }
.stat-card.stat-campaigns { border-color: #3b82f6; }
.stat-card.stat-sent      { border-color: #22c55e; }
.stat-card.stat-pending   { border-color: #f59e0b; }
.stat-card.stat-pcs       { border-color: #a855f7; }

.stat-value { font-size: 2rem; font-weight: 700; }
.stat-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: #64748b; }

/* Tables */
.table { color: #cbd5e1; }
.table thead th { color: #94a3b8; border-color: #334155; background: #162032; }
.table td, .table th { border-color: #1e293b; vertical-align: middle; }
.table-hover tbody tr:hover td { background-color: #243047; }

/* Logs */
.log-entry { font-size: 0.8rem; border-bottom: 1px solid #1e293b; padding: 4px 0; }
.log-entry.log-error   { color: #f87171; }
.log-entry.log-success { color: #4ade80; }
.log-entry.log-warning { color: #fbbf24; }
.log-entry.log-info    { color: #94a3b8; }

/* Progress bar */
.progress { background: #1e293b; }

/* Nav */
.navbar-brand { font-size: 1.1rem; }
.nav-link.active { color: #60a5fa !important; }

/* Forms */
.form-control, .form-select, .form-control:focus, .form-select:focus {
  background: #1e293b;
  border-color: #334155;
  color: #e2e8f0;
}
.form-control:focus, .form-select:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59,130,246,.25);
}
.form-label { color: #94a3b8; font-size: 0.85rem; }

/* Badges */
.badge { font-weight: 500; }

/* PC status dot */
.pc-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-right: 5px;
}
.pc-dot.online  { background: #22c55e; box-shadow: 0 0 6px #22c55e; }
.pc-dot.offline { background: #475569; }
.pc-dot.working { background: #f59e0b; box-shadow: 0 0 6px #f59e0b; }

/* Scrollable log box */
#live-log-box {
  max-height: 300px;
  overflow-y: auto;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 6px;
  padding: 10px;
  font-family: monospace;
  font-size: 0.78rem;
}

/* Textarea */
textarea.form-control { resize: vertical; min-height: 120px; }
