/* Dashboard dark mode */
:root {
  --dash-gap: 16px;
  --dash-card-bg: #2b2f33;        /* Card background */
  --dash-card-border: #3f454b;    /* Card border */
  --dash-text-color: #f2f2f2;     /* Main text */
  --dash-muted-color: #9ca3af;    /* Muted/secondary text */
  --dash-table-header-bg: #374151; /* Table header background */
  --dash-table-border: #4b5563;   /* Table border color */
}

/* Page wrapper */
.dashboard {
  margin: 24px;
  color: var(--dash-text-color);
  background-color: #1f2326; /* Page background */
  min-height: 100vh;
}

/* Two-column responsive grid */
.dashboard-grid {
  display: grid;
  gap: var(--dash-gap);
  grid-template-columns: 1fr;
}
@media (min-width: 960px) {
  .dashboard-grid { grid-template-columns: 1fr 1fr; }
}

/* Card panels */
.dashboard-card {
  background: var(--dash-card-bg);
  border: 3px solid var(--dash-card-border);
  border-radius: 12px;
  padding: 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,.3);
}

/* Titles */
.page-title {
  font-size: 36px; font-weight: 800; color: var(--dash-text-color); margin: 0 0 10px; }
.section-title { margin: 0 0 10px; font-weight: 700; color: var(--dash-text-color); }

/* Range form */
.range-form { margin: 12px 0 24px; }
.range-form .row {
  display: flex; gap: 12px; align-items: end; flex-wrap: wrap;
}
.range-form label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--dash-text-color); }
.range-form input[type="date"] {
  padding: 6px 8px;
  background: #1f2326;
  color: var(--dash-text-color);
  border: 1px solid var(--dash-card-border);
}
.range-form button {
  background: #059669;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
}
.range-form button:hover { background: #047857; }

/* Tables */
.dashboard-table {
  width: 100%;
  border-collapse: collapse;
}
.dashboard-table th,
.dashboard-table td {
  border-bottom: 1px solid var(--dash-table-border);
  padding: 8px 10px;
  text-align: center;
  vertical-align: middle;
}
.dashboard-table thead th {
  background: var(--dash-table-header-bg);
  color: var(--dash-text-color);
  position: sticky;
  top: 0;
  z-index: 1;
}
.dashboard-table tbody tr:hover {
  background: rgba(255,255,255,0.05);
}
.dashboard-table .totals {
  font-weight: 700;
  background: rgba(255,255,255,0.08);
}
.dashboard-time-table {
  min-height: 100px;
}

.muted { color: var(--dash-muted-color); font-size: 16px; }
.spacer-10 { height: 10px; }


/* Emphasize job and user names */
.section-title {
  font-size: 30px;       /* larger text */
  font-weight: 700;
  color: #f8fafc;        /* light text */
  margin: 12px 0 8px;
  border-bottom: 2px solid #059669; /* accent underline */
  padding-bottom: 4px;
}

/* Bigger, bolder job and user names */
.job-title {
  font-size: 22px;
  font-weight: 800;
  color: #f8fafc;
  margin: 14px 0 10px;
}

.user-title {
  font-size: 200%;
  font-weight: 800;
  color: #f8fafc;
  margin: 6px 0 6px;
}


.btn {
  display:inline-block;
  padding:10px 14px;
  background:#059669;
  color:#fff;
  border-radius:8px;
  text-decoration:none;
  font-weight:700;
  border:1px solid #047857;
}
.btn:hover { background:#047857; }

.cell-breakdown { line-height: 1.25; margin-bottom: 3px; }


.badge-active{
  display:inline-block;
  margin-left:8px;
  padding:2px 8px;
  border-radius:9999px;
  background:#c39106;   /* teal accent from your dark theme */
  color:#caeebe;
  font-weight:700;
  font-size:12px;
}