/* ========================================================
   BLUEONNIX CRON JOBS MANAGER STYLESHEET
   Strict Solid Minimal Design — Zero Gradients — Zero Border Radius
   ======================================================== */

.cron-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-bottom: none;
  gap: 1rem;
}

.cron-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cron-container {
  background: var(--card-bg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 240px);
}

.cron-table-wrapper {
  overflow-x: auto;
  flex: 1;
}

.cron-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.84rem;
}

.cron-table th {
  background: var(--bg);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 5;
}

.cron-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
}

.cron-table tr.cron-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.cron-title-cell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cron-icon-badge {
  width: 32px;
  height: 32px;
  background: #1e293b;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 !important;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.cron-name-text {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
}

.cron-command-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-top: 0.2rem;
  max-width: 340px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cron-schedule-badge {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  display: inline-block;
  border-radius: 0 !important;
}

/* Status Badges */
.cron-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.74rem;
  font-weight: 600;
  border-radius: 0 !important;
  cursor: pointer;
  user-select: none;
  border: 1px solid transparent;
}

.cron-status-active {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.25);
}

.cron-status-paused {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
  border-color: rgba(245, 158, 11, 0.25);
}

.cron-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: auto;
}

.cron-log-box {
  background: #09090b;
  color: #a1a1aa;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.5;
  padding: 1rem;
  height: 380px;
  overflow-y: auto;
  border: 1px solid var(--border);
  white-space: pre-wrap;
  word-break: break-all;
}

