/* Clean, simple polish for the admin console */
:root {
  --aseda-ink: #17324d;
  --aseda-muted: #6b7a88;
  --aseda-line: #dde6ee;
  --aseda-blue: #1d5f99;
  --aseda-blue-dark: #174d7c;
  --aseda-blue-soft: #eef6fc;
  --aseda-cyan: #0f91a5;
  --aseda-green: #1f8a5b;
  --aseda-gold: #c88719;
  --aseda-red: #c54848;
  --aseda-bg: #f5f7fa;
}

body {
  background: var(--aseda-bg);
  color: var(--aseda-ink);
  min-height: 100vh;
}

.aseda-date-picker-popover {
  background: #ffffff;
  border: 1px solid #b8c7d3;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(23, 50, 77, 0.18);
  padding: 8px;
  position: absolute;
  z-index: 3000;
}

.aseda-date-picker-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.aseda-date-picker-nav {
  background: #ffffff;
  border: 1px solid #c8d4df;
  border-radius: 3px;
  color: var(--aseda-ink);
  height: 26px;
  line-height: 1;
  width: 28px;
}

.aseda-date-picker-weekdays,
.aseda-date-picker-grid {
  display: grid;
  gap: 2px;
  grid-template-columns: repeat(7, 1fr);
}

.aseda-date-picker-weekdays span {
  color: var(--aseda-muted);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 0;
  text-align: center;
}

.aseda-date-picker-day {
  background: #ffffff;
  border: 1px solid transparent;
  border-radius: 3px;
  color: var(--aseda-ink);
  height: 30px;
  text-align: center;
}

.aseda-date-picker-day:hover,
.aseda-date-picker-day:focus {
  background: var(--aseda-blue-soft);
  border-color: #b8d6eb;
}

.aseda-date-picker-day.is-muted {
  color: #9aa8b4;
}

.aseda-date-picker-day.is-today {
  border-color: var(--aseda-cyan);
}

.aseda-date-picker-day.is-selected {
  background: var(--aseda-blue);
  border-color: var(--aseda-blue);
  color: #ffffff;
}

a {
  color: var(--aseda-blue);
}

.navbar-default {
  background: #ffffff;
  border: 0;
  border-bottom: 1px solid var(--aseda-line);
  box-shadow: none;
}

.navbar-default .navbar-brand {
  color: var(--aseda-ink);
  font-weight: 700;
  letter-spacing: .01em;
}

.nida-footer {
  border-top: 1px solid var(--aseda-line);
  color: var(--aseda-muted);
  font-size: 12px;
  margin-top: 36px;
  padding: 16px 0 24px;
  text-align: center;
}

.nida-footer img {
  display: block;
  height: 58px;
  margin: 0 auto 6px;
  object-fit: contain;
  width: 120px;
}

.nida-footer a {
  margin-left: 8px;
}

.nida-login-brand {
  color: var(--aseda-muted);
  font-size: 12px;
  margin-top: 24px;
}

.nida-login-brand img {
  display: block;
  height: 92px;
  margin: 0 auto 8px;
  object-fit: contain;
  width: 180px;
}

.nida-login-brand a {
  display: inline-block;
  margin-top: 3px;
}

.nida-login-page {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 24px;
}

.nida-login-form {
  margin: auto;
  width: min(400px, 100%);
}

.nida-login-form h3 {
  margin-top: 0;
}

.navbar-default .navbar-nav > li > a {
  color: #38536b;
  font-weight: 600;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  background: #f5f9fb;
  color: var(--aseda-blue);
}

.navbar-text {
  color: var(--aseda-muted) !important;
  font-weight: 600;
}

.entity-context-nav .navbar-form,
.entity-context-form {
  margin-bottom: 10px;
  margin-top: 10px;
}

.entity-context-form {
  align-items: center;
  background: #e8f5ee;
  border: 1px solid #b8ddca;
  border-radius: 5px;
  display: flex;
  gap: 8px;
  padding: 3px 5px 3px 9px;
}

.entity-context-label {
  color: #17633f;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  margin: 0;
  text-transform: none;
}

.entity-context-control {
  min-width: 140px;
}

.entity-context-select {
  border-color: #79b995;
  color: #124d32;
  font-weight: 800;
}

.entity-context-pill {
  background: #e8f5ee;
  border: 1px solid #b8ddca;
  border-radius: 6px;
  color: #17633f !important;
  font-weight: 800;
  margin-bottom: 8px;
  margin-top: 8px;
  padding: 7px 10px;
}

.container {
  max-width: 1180px;
}

.panel {
  border: 1px solid var(--aseda-line);
  border-radius: 8px;
  box-shadow: none;
  overflow: hidden;
}

.panel-default > .panel-heading {
  background: #ffffff;
  border-color: var(--aseda-line);
  color: var(--aseda-ink);
}

.table > thead > tr > th {
  border-bottom: 2px solid #c9d8e5;
  color: #496174;
  font-size: 12px;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: #f8fbfd;
}

.table-hover > tbody > tr:hover {
  background-color: #f1f7fb;
}

.form-control {
  border-color: #cbd9e4;
  border-radius: 6px;
  box-shadow: inset 0 1px 2px rgba(23, 50, 77, .05);
}

.form-control:focus {
  border-color: var(--aseda-cyan);
  box-shadow: inset 0 1px 2px rgba(23, 50, 77, .05), 0 0 0 3px rgba(15, 145, 165, .14);
}

.btn {
  border: 1px solid transparent;
  border-radius: 6px;
  box-shadow: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  padding: 8px 14px;
  transition: background-color .12s ease, border-color .12s ease;
}

.btn:hover,
.btn:focus {
  box-shadow: none;
}

.btn:active,
.btn.active {
  box-shadow: none;
}

.btn-primary {
  background: var(--aseda-blue);
  border-color: var(--aseda-blue);
  color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--aseda-blue-dark);
  border-color: var(--aseda-blue-dark);
  color: #ffffff;
}

.btn-default {
  background: #ffffff;
  border-color: #aebfce;
  color: var(--aseda-ink);
}

.btn-default:hover,
.btn-default:focus {
  background: var(--aseda-blue-soft);
  border-color: #8fb0ca;
  color: var(--aseda-blue-dark);
}

.btn-danger {
  background: #b83f3f;
  border-color: #b83f3f;
  color: #ffffff;
}

.btn-danger:hover,
.btn-danger:focus {
  background: #963333;
  border-color: #963333;
  color: #ffffff;
}

.btn-block {
  padding-bottom: 10px;
  padding-top: 10px;
}

.btn-icon-label {
  align-items: center;
  display: inline-flex;
  gap: 7px;
}

.ui-icon {
  fill: none;
  height: 17px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
  width: 17px;
}

.roster-icon-action {
  align-items: center;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  padding: 8px;
  width: 38px;
}

.roster-icon-button {
  align-items: center;
  display: inline-flex !important;
  height: 30px;
  justify-content: center;
  padding: 6px 9px;
  width: 34px;
}

.help-block,
.text-muted {
  color: var(--aseda-muted);
}

.dashboard-header {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--aseda-line);
  border-radius: 8px;
  box-shadow: none;
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  padding: 18px 20px;
}
.dashboard-header h2 {
  margin-bottom: 4px;
  margin-top: 0;
}
.dashboard-header-health {
  color: #526579;
  text-align: right;
}
.dashboard-header-health strong,
.dashboard-header-health span,
.dashboard-header-health em {
  display: block;
}
.dashboard-header-health strong {
  color: var(--aseda-ink);
  font-size: 12px;
  text-transform: uppercase;
}
.dashboard-header-health span {
  align-items: center;
  display: flex;
  font-size: 12px;
  font-weight: 700;
  gap: 6px;
  justify-content: flex-end;
  margin-top: 8px;
}
.dashboard-header-health-warning {
  color: #b23b3b;
}
.dashboard-header-health-critical {
  background: #fdeeee;
  border: 1px solid rgba(178, 59, 59, .28);
  border-radius: 8px;
  padding: 9px 12px;
}
.dashboard-header-health em {
  color: #8f2f2f;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  margin-top: 5px;
  max-width: 360px;
}
.dashboard-filter {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}
.dashboard-filter-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dashboard-filter label {
  color: #526879;
  font-size: 12px;
  margin: 0;
  text-transform: uppercase;
}
.dashboard-filter select {
  min-width: 190px;
}
.dashboard-filter-date .form-control {
  width: 150px;
}
.dashboard-stats {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-bottom: 22px;
}
.dashboard-schedule-section {
  background: #f8fafc;
  border: 1px solid var(--aseda-line);
  border-radius: 8px;
  margin-bottom: 22px;
  padding: 16px;
}
.dashboard-section-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}
.dashboard-section-heading h3 {
  color: var(--aseda-ink);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px;
}
.dashboard-section-heading p {
  margin: 0;
}
.dashboard-schedule-section .dashboard-stats {
  margin-bottom: 16px;
}
.metric-card {
  background: #ffffff;
  border: 1px solid var(--aseda-line);
  border-left: 4px solid var(--metric-color, var(--aseda-blue));
  border-radius: 8px;
  box-shadow: none;
  overflow: hidden;
  min-height: 205px;
  padding: 18px;
  position: relative;
}
.metric-card strong {
  color: var(--aseda-ink);
  display: block;
  font-size: 36px;
  line-height: 1.1;
  margin: 6px 0 2px;
}
.metric-label {
  color: #526879;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.metric-card small {
  color: var(--aseda-muted);
}
.metric-week-breakdown,
.metric-day-stats {
  border-top: 1px solid #edf1f5;
  display: grid;
  gap: 4px;
  margin-top: 12px;
  padding-top: 10px;
}
.metric-week-breakdown {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.metric-day-stats {
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
  padding-top: 12px;
}
.metric-day-heading {
  align-items: baseline;
  display: flex;
  justify-content: space-between;
}
.metric-day-heading .metric-label {
  font-size: 14px;
}
.metric-day-heading small {
  font-size: 13px;
}
.metric-card-day strong {
  margin-top: 12px;
}
.metric-week-breakdown span,
.metric-week-breakdown em,
.metric-week-breakdown b,
.metric-day-stats span,
.metric-day-stats em,
.metric-day-stats b {
  display: block;
  text-align: center;
}
.metric-week-breakdown span,
.metric-day-stats span {
  background: #f8fafc;
  border: 1px solid #edf1f5;
  border-radius: 5px;
  min-width: 0;
  padding: 9px 5px;
}
.metric-week-breakdown em,
.metric-day-stats em {
  color: #526879;
  font-size: 11px;
  font-style: normal;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: clip;
  text-transform: uppercase;
}
.metric-week-breakdown b,
.metric-day-stats b {
  color: var(--aseda-ink);
  font-size: 18px;
  line-height: 1.2;
  margin-top: 2px;
}
.metric-card-green {
  --metric-color: var(--aseda-green);
}
.metric-card-blue {
  --metric-color: var(--aseda-blue);
}

.admin-quick-actions {
  margin-bottom: 14px;
}

.admin-quick-actions .metric-card {
  margin-bottom: 12px;
}

.admin-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-account-table > tbody > tr > td {
  vertical-align: middle;
}

.admin-account-edit-form {
  background: #f8fafc;
  border: 1px solid var(--aseda-line);
  border-radius: 6px;
  margin: 4px 0;
  padding: 12px;
}

.admin-panel-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.admin-table-scroll {
  border: 1px solid var(--aseda-line);
  border-radius: 6px;
  max-width: 100%;
  overflow: auto;
}

.admin-table-scroll .table {
  margin-bottom: 0;
}

.admin-table-scroll .table > thead > tr > th {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 2;
}

.admin-table-scroll-sm {
  max-height: 220px;
}

.admin-table-scroll-md {
  max-height: 320px;
}

.admin-table-scroll-lg {
  max-height: 430px;
}

.id-card-settings-grid {
  align-items: flex-start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
}

.id-card-settings-controls {
  display: grid;
  gap: 14px;
}

.id-card-settings-section {
  border-bottom: 1px solid var(--aseda-line);
  padding-bottom: 12px;
}

.id-card-settings-section:last-of-type {
  border-bottom: 0;
}

.id-card-settings-section h4,
.id-card-preview-panel h4 {
  color: var(--aseda-ink);
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 10px;
}

.id-card-control-grid,
.id-card-color-grid {
  display: grid;
  gap: 10px;
}

.id-card-control-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.id-card-control-grid-3,
.id-card-color-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.id-card-settings-section .form-group {
  margin-bottom: 0;
}

.id-card-settings-section label {
  color: #526579;
  font-size: 12px;
  margin-bottom: 4px;
}

.id-card-settings-section input[type="color"] {
  cursor: pointer;
  height: 28px;
  padding: 2px;
  width: 46px;
}

.id-card-color-grid .form-group {
  align-items: center;
  background: #f8fafc;
  border: 1px solid var(--aseda-line);
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
  min-height: 38px;
  padding: 6px 8px;
}

.id-card-color-grid label {
  margin-bottom: 0;
  padding-right: 8px;
}

.id-card-logo-row {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
}

.id-card-logo-row img {
  background: #ffffff;
  border: 1px solid var(--aseda-line);
  border-radius: 4px;
  height: 56px;
  padding: 4px;
}

.id-card-preview-panel {
  background: #f8fafc;
  border: 1px solid var(--aseda-line);
  border-radius: 6px;
  padding: 12px;
}

.id-card-preview-panel img {
  background: #ffffff;
  border: 1px solid #cbd9e4;
  border-radius: 4px;
  margin: 0 auto;
  max-width: 100%;
}

.subscription-status-page {
  margin: 48px auto;
  max-width: 620px;
}

.subscription-status-panel .panel-body {
  padding: 28px;
}

.subscription-status-kicker {
  color: var(--aseda-muted);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.subscription-status-panel h2 {
  color: var(--aseda-ink);
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 10px;
}

@media (max-width: 991px) {
  .id-card-settings-grid,
  .id-card-control-grid-2,
  .id-card-control-grid-3,
  .id-card-color-grid {
    grid-template-columns: 1fr;
  }
}

.inline-form {
  display: inline-block;
  margin: 0;
}

.department-row {
  align-items: center;
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
}

.department-edit-form {
  align-items: center;
  display: flex;
  flex: 1;
  gap: 6px;
  margin: 0;
}

.department-edit-form .form-control {
  min-width: 0;
}

.roster-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.roster-grid-wrap {
  overflow: visible;
}

.roster-secondary-panels {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.roster-secondary-panels > .panel {
  margin-bottom: 0;
}

.roster-scroll-hint {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  margin-left: 10px;
}

.roster-table-scroll {
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--aseda-line);
  border-radius: 6px;
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-gutter: stable;
}

.roster-departments {
  margin-bottom: 0;
}

.roster-department {
  margin-bottom: 12px;
}

.roster-department > .panel-heading a {
  color: var(--aseda-ink);
  display: block;
  text-decoration: none;
}

.roster-department > .panel-heading {
  position: relative;
}

.roster-department > .panel-heading .roster-print-link {
  display: inline-block;
  position: absolute;
  right: 10px;
  top: 7px;
}

.roster-grid {
  background: #ffffff;
  margin-bottom: 0;
  min-width: 1120px;
}

.roster-grid th,
.roster-grid td {
  vertical-align: top !important;
}

.roster-grid td {
  min-width: 132px;
}

.empty-shift-link {
  border: 1px dashed #b8c7d3;
  border-radius: 6px;
  color: var(--aseda-blue);
  display: block;
  font-size: 12px;
  font-weight: 700;
  padding: 8px;
  text-align: center;
}

.empty-shift-link:hover,
.empty-shift-link:focus {
  background: #eef7fd;
  text-decoration: none;
}

.roster-employee-col {
  background: #ffffff;
  box-shadow: 1px 0 0 var(--aseda-line);
  left: 0;
  min-width: 170px;
  position: sticky;
  z-index: 2;
  width: 170px;
}

.roster-grid thead .roster-employee-col {
  z-index: 3;
}

.roster-employee-col small {
  color: var(--aseda-muted);
  display: block;
  font-weight: 600;
  margin-top: 3px;
}

.shift-chip {
  background: #f8fbfd;
  border: 1px solid var(--aseda-line);
  border-left: 4px solid var(--aseda-blue);
  border-radius: 6px;
  cursor: pointer;
  margin-bottom: 8px;
  padding: 8px;
}

.shift-chip.is-selected {
  background: #eef7fd;
  border-color: #9cc9e8;
}

.shift-chip.roster-attendance-completed,
.shift-chip.roster-attendance-present {
  background: #edf9f1;
  border-color: #b9e5c7;
}

.shift-chip.roster-attendance-late,
.shift-chip.roster-attendance-partial {
  background: #fff8e5;
  border-color: #eed48f;
}

.shift-chip.roster-attendance-missed {
  background: #fff0f0;
  border-color: #edb8b8;
}

.shift-chip.roster-attendance-off {
  background: #f5f7f9;
  border-color: #d6dee5;
}

.shift-chip:focus {
  box-shadow: 0 0 0 2px rgba(29, 95, 153, .2);
  outline: none;
}

.shift-chip strong,
.shift-chip span {
  display: block;
}

.shift-chip span {
  color: var(--aseda-muted);
  font-size: 12px;
  font-weight: 700;
}

.shift-chip p {
  margin: 6px 0 0;
}

.time-off-chip {
  background: #fff7e7;
  border: 1px solid #edcc8b;
  border-left: 4px solid var(--aseda-gold);
  border-radius: 6px;
  color: #5d4215;
  display: block;
  font-size: 12px;
  margin-bottom: 6px;
  padding: 7px 8px;
}

.time-off-chip strong,
.time-off-chip span {
  display: block;
}

.time-off-chip span {
  color: #7c612c;
  margin-top: 2px;
}

.shift-chip form {
  margin-top: 4px;
}

.shift-chip .btn-link {
  color: var(--aseda-red);
  font-weight: 700;
  padding: 0;
}

.shift-chip-edit {
  margin-top: 6px;
}

.roster-status-pill {
  border-radius: 999px;
  display: inline-block !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1;
  margin-top: 6px;
  padding: 4px 7px;
  text-transform: uppercase;
}

.roster-status-scheduled {
  background: #eef3f7;
  color: #536575 !important;
}

.roster-status-completed,
.roster-status-present {
  background: #dff4e7;
  color: #17613a !important;
}

.roster-status-late,
.roster-status-partial {
  background: #fff0bd;
  color: #85620f !important;
}

.roster-status-missed {
  background: #ffdede;
  color: #9f2f2f !important;
}

.roster-status-off {
  background: #e8edf2;
  color: #536575 !important;
}

.roster-attendance-detail {
  border: 1px solid var(--aseda-line);
  border-radius: 6px;
  margin-bottom: 12px;
  padding: 10px;
}

.roster-attendance-heading {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  margin-bottom: 8px;
}

.roster-attendance-detail p {
  margin: 5px 0;
}

.roster-attendance-events {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.roster-attendance-events li {
  border-top: 1px solid var(--aseda-line);
  font-size: 12px;
  padding: 6px 0;
}

.spreadsheet-toolbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.spreadsheet-toolbar-bottom {
  margin-bottom: 0;
  margin-top: 12px;
}

.spreadsheet-bulk-panel {
  background: #f8fbfd;
  border: 1px solid var(--aseda-line);
  border-radius: 6px;
  margin-bottom: 12px;
  padding: 12px;
}

.spreadsheet-bulk-controls {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.spreadsheet-bulk-controls .form-group {
  align-items: center;
  display: flex;
  gap: 7px;
  margin-bottom: 0;
}

.spreadsheet-bulk-controls > .form-group:first-child {
  flex: 0 0 auto;
}

.spreadsheet-bulk-controls .form-group > label {
  margin: 0;
  white-space: nowrap;
}

.spreadsheet-bulk-controls .form-control {
  width: 180px;
}

.spreadsheet-bulk-days > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.spreadsheet-bulk-days {
  flex: 0 1 auto;
}

.spreadsheet-bulk-days label,
.spreadsheet-employee-select {
  align-items: flex-start;
  display: flex;
  gap: 6px;
  margin: 0;
}

.spreadsheet-bulk-days label {
  background: #ffffff;
  border: 1px solid var(--aseda-line);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 8px;
}

.spreadsheet-bulk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-start;
}

.spreadsheet-scroll {
  margin-bottom: 0;
}

.roster-spreadsheet-grid td {
  min-width: 148px;
}

.roster-spreadsheet-select {
  min-width: 126px;
}

.spreadsheet-employee-select span {
  min-width: 0;
}

.spreadsheet-bulk-updated {
  border-color: var(--aseda-green);
  box-shadow: inset 0 1px 2px rgba(23, 50, 77, .05), 0 0 0 2px rgba(31, 138, 91, .15);
}

.spreadsheet-focus-cell {
  background: #fff8df;
  box-shadow: inset 0 0 0 2px #d9a520;
}

.spreadsheet-cell-summary {
  color: var(--aseda-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}

.spreadsheet-cell-summary span {
  background: #eef7fd;
  border: 1px solid #c9ddeb;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  padding: 4px 5px;
}

.spreadsheet-warning {
  color: var(--aseda-red);
  font-size: 11px;
  font-weight: 800;
  margin-top: 5px;
}

.private-note {
  color: #8a6414;
  font-size: 12px;
}

.audit-line {
  color: var(--aseda-muted);
  display: block;
  font-size: 11px;
  font-weight: 700;
  margin-top: 6px;
}

@media (max-width: 900px) {
  .spreadsheet-bulk-controls {
    align-items: flex-start;
    flex-direction: column;
  }

  .spreadsheet-bulk-controls > .form-group:first-child {
    flex-basis: auto;
  }

  .spreadsheet-bulk-controls .form-control {
    width: min(220px, 100%);
  }
}

.roster-comment {
  border-bottom: 1px solid var(--aseda-line);
  margin-bottom: 10px;
  padding-bottom: 10px;
}

.roster-comment:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.roster-comment p {
  margin: 6px 0 2px;
}

.roster-detail-panel h4 {
  margin-top: 0;
}

.roster-detail-help {
  margin-bottom: 12px;
}

.roster-assignment-detail {
  border-left: 3px solid var(--aseda-blue);
  display: none;
  padding-left: 10px;
}

.roster-assignment-detail.is-active {
  display: block;
}

.time-off-balance-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 14px;
}

.time-off-balance-grid > div {
  background: #f8fbfd;
  border: 1px solid var(--aseda-line);
  border-radius: 6px;
  padding: 12px;
}

.time-off-balance-grid strong {
  display: block;
  font-size: 24px;
  line-height: 1;
}

.time-off-balance-grid span {
  color: var(--aseda-muted);
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-top: 6px;
  text-transform: uppercase;
}

.time-off-header-actions,
.time-off-tabs {
  align-items: center;
  display: flex;
  gap: 8px;
}

.time-off-balance-strip {
  align-items: stretch;
  border-bottom: 1px solid var(--aseda-line);
  border-top: 1px solid var(--aseda-line);
  display: grid;
  grid-template-columns: repeat(2, minmax(100px, 1fr)) auto;
  margin: 8px 0 24px;
  padding: 14px 0;
}

.time-off-balance-strip > div {
  border-right: 1px solid var(--aseda-line);
  padding: 0 18px;
}

.time-off-balance-strip > div:first-child {
  padding-left: 0;
}

.time-off-balance-strip span,
.time-off-balance-strip strong {
  display: block;
}

.time-off-balance-strip span {
  color: var(--aseda-muted);
  font-size: 12px;
  font-weight: 700;
}

.time-off-balance-strip strong {
  color: var(--aseda-ink);
  font-size: 22px;
  margin-top: 3px;
}

.time-off-balance-strip small {
  align-self: center;
  color: var(--aseda-muted);
  padding-left: 18px;
}

.time-off-date-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.time-off-employee-picker {
  position: relative;
}

.time-off-employee-results {
  left: 0;
  margin-top: 2px;
  max-height: 240px;
  overflow-y: auto;
  position: absolute;
  right: 0;
  z-index: 1055;
}

.time-off-employee-results .list-group-item {
  text-align: left;
  width: 100%;
}

.time-off-workspace {
  margin-top: 8px;
}

.time-off-view-header {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.time-off-view-switch .btn.active {
  background: var(--aseda-blue-dark);
  border-color: var(--aseda-blue-dark);
  color: #fff;
}

.time-off-tabs {
  border-bottom: 1px solid var(--aseda-line);
  margin-bottom: 12px;
}

.time-off-tab {
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  color: #526579;
  font-weight: 700;
  padding: 10px 14px;
}

.time-off-tab:hover,
.time-off-tab:focus {
  color: var(--aseda-blue-dark);
  outline: none;
}

.time-off-tab.is-active {
  border-bottom-color: var(--aseda-blue);
  color: var(--aseda-blue-dark);
}

.time-off-tab span {
  background: #e8eef2;
  border-radius: 10px;
  display: inline-block;
  font-size: 11px;
  margin-left: 4px;
  min-width: 20px;
  padding: 2px 6px;
  text-align: center;
}

.time-off-request-list .table {
  margin-bottom: 0;
}

.time-off-request-row.is-hidden {
  display: none;
}

.time-off-filter-empty {
  color: var(--aseda-muted);
  margin: 24px 0;
  text-align: center;
}

.time-off-timeline-header {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 8px;
}

.time-off-timeline-header strong,
.time-off-timeline-header span {
  display: block;
}

.time-off-timeline-header span {
  color: var(--aseda-muted);
  font-size: 12px;
  margin-top: 2px;
}

.time-off-timeline-controls {
  align-items: center;
  display: flex;
  gap: 8px;
}

.time-off-timeline-controls form {
  margin: 0;
}

.time-off-timeline-controls select {
  min-width: 190px;
}

.time-off-timeline-legend {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  margin-bottom: 8px;
}

.time-off-timeline-legend > span {
  align-items: center;
  color: var(--aseda-muted);
  display: flex;
  font-size: 12px;
  gap: 5px;
}

.time-off-timeline-key {
  border-radius: 2px;
  display: inline-block;
  height: 9px;
  width: 16px;
}

.time-off-timeline-key.approved,
.time-off-timeline-bar.approved {
  background: var(--aseda-green);
}

.time-off-timeline-key.pending,
.time-off-timeline-bar.pending {
  background: var(--aseda-gold);
}

.time-off-timeline-scroll {
  border: 1px solid var(--aseda-line);
  overflow-x: auto;
}

.time-off-timeline {
  min-width: calc(180px + (var(--timeline-days) * 38px));
}

.time-off-timeline-date-row,
.time-off-timeline-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
}

.time-off-timeline-date-row {
  background: #f4f7f9;
  border-bottom: 1px solid var(--aseda-line);
}

.time-off-timeline-row {
  border-bottom: 1px solid var(--aseda-line);
  min-height: 44px;
}

.time-off-timeline-row:last-child {
  border-bottom: 0;
}

.time-off-timeline-name {
  align-items: flex-start;
  background: #fff;
  border-right: 1px solid var(--aseda-line);
  display: flex;
  font-size: 12px;
  font-weight: 700;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 8px 10px;
  position: sticky;
  left: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
  z-index: 3;
}

.time-off-timeline-name strong,
.time-off-timeline-name span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.time-off-timeline-name span {
  color: var(--aseda-muted);
  font-size: 10px;
  font-weight: 400;
  margin-top: 2px;
}

.time-off-timeline-date-row .time-off-timeline-name {
  background: #f4f7f9;
}

.time-off-timeline-track {
  display: grid;
  grid-template-columns: repeat(var(--timeline-days), minmax(38px, 1fr));
  position: relative;
}

.time-off-timeline-dates > div,
.time-off-timeline-day {
  border-right: 1px solid #e6ecef;
}

.time-off-timeline-dates > div {
  padding: 6px 2px;
  text-align: center;
}

.time-off-timeline-dates span,
.time-off-timeline-dates b {
  display: block;
  font-size: 10px;
}

.time-off-timeline-dates span {
  color: var(--aseda-muted);
}

.time-off-timeline-dates .is-weekend,
.time-off-timeline-day.is-weekend {
  background: #f7f9fa;
}

.time-off-timeline-bar {
  border: 0;
  border-radius: 3px;
  color: #fff;
  grid-row: 1;
  margin: 9px 2px;
  min-width: 0;
  overflow: hidden;
  padding: 4px 6px;
  position: relative;
  text-align: left;
  z-index: 2;
}

.time-off-timeline-bar:hover,
.time-off-timeline-bar:focus {
  filter: brightness(.9);
  outline: 2px solid rgba(29, 87, 126, .25);
}

.time-off-timeline-bar span {
  display: block;
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.time-off-review {
  border-bottom: 1px solid var(--aseda-line);
  margin-bottom: 14px;
  padding-bottom: 14px;
}

.time-off-review:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.time-off-review-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 8px;
}

.time-off-request-row {
  cursor: pointer;
}

.time-off-request-row:focus,
.time-off-request-row:hover {
  background: #edf6fb !important;
  outline: none;
}

.time-off-detail-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 16px;
}

.time-off-detail-grid strong,
.time-off-detail-note strong {
  color: #496174;
  display: block;
  font-size: 12px;
  text-transform: uppercase;
}

.time-off-detail-grid span {
  display: block;
  margin-top: 3px;
}

.time-off-detail-note {
  border-top: 1px solid var(--aseda-line);
  padding-top: 12px;
}

.time-off-detail-note p {
  margin: 4px 0 0;
}

.time-off-request-history {
  margin-top: 16px;
}

.time-off-history-row {
  border-bottom: 1px solid var(--aseda-line);
  padding: 10px 0;
}

.time-off-history-row:last-child {
  border-bottom: 0;
}

.time-off-history-row summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  list-style: none;
}

.time-off-history-row summary::-webkit-details-marker {
  display: none;
}

.time-off-history-row b,
.time-off-history-row span,
.time-off-history-row a {
  display: block;
}

.time-off-history-row summary div > span {
  color: var(--aseda-muted);
  font-size: 12px;
  margin-top: 2px;
}

.time-off-history-detail {
  background: #f7f9fa;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 10px;
  padding: 12px;
}

.time-off-history-detail b {
  color: #496174;
  font-size: 11px;
  text-transform: uppercase;
}

.time-off-history-detail span,
.time-off-history-detail a {
  margin-top: 3px;
}

.time-off-history-wide {
  grid-column: 1 / -1;
}

.time-off-status-pending {
  background: var(--aseda-gold);
}

.time-off-status-approved {
  background: var(--aseda-green);
}

.time-off-status-denied,
.time-off-status-cancelled {
  background: var(--aseda-muted);
}

.time-off-status-cancelled_after_approval,
.time-off-status-superseded {
  background: #536575;
}

@media (max-width: 767px) {
  .time-off-header-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }
  .time-off-balance-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 16px;
  }
  .time-off-balance-strip > div,
  .time-off-balance-strip > div:first-child {
    padding: 0 12px;
  }
  .time-off-balance-strip > div:nth-child(2) {
    border-right: 0;
  }
  .time-off-balance-strip small {
    grid-column: 1 / -1;
    padding-left: 12px;
  }
  .time-off-date-grid {
    grid-template-columns: 1fr;
  }
  .time-off-tabs {
    overflow-x: auto;
  }
  .time-off-tab {
    flex: 0 0 auto;
  }
  .time-off-view-header {
    justify-content: center;
  }
  .time-off-view-switch,
  .time-off-view-switch .btn {
    width: 100%;
  }
  .time-off-timeline-header {
    align-items: stretch;
    flex-direction: column;
  }
  .time-off-timeline-controls {
    align-items: stretch;
    flex-direction: column;
  }
  .time-off-timeline-controls select {
    width: 100%;
  }
  .time-off-timeline-header .btn-group {
    display: flex;
  }
  .time-off-timeline-header .btn-group .btn {
    flex: 1;
  }
}
.entity-choice {
  margin-bottom: 15px;
}
.entity-choice .btn {
  padding: 14px;
  text-align: left;
  white-space: normal;
}
.entity-choice strong,
.entity-choice span {
  display: block;
}
.entity-choice span {
  color: #666;
  font-size: 12px;
  margin-top: 4px;
}
.metric-card-cyan {
  --metric-color: var(--aseda-cyan);
}
.metric-card-gold {
  --metric-color: var(--aseda-gold);
}
.metric-card-indigo {
  --metric-color: #4f6fa8;
}
.metric-card-red {
  --metric-color: var(--aseda-red);
}

@media (min-width: 1100px) {
  .dashboard-stats {
    gap: 10px;
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
  .metric-card {
    min-height: 185px;
    padding: 14px 10px;
  }
  .metric-card strong {
    font-size: 30px;
  }
  .metric-day-heading {
    display: block;
  }
  .metric-day-heading .metric-label {
    font-size: 12px;
  }
  .metric-day-heading small {
    display: block;
    font-size: 11px;
    margin-top: 2px;
  }
  .metric-day-stats {
    gap: 5px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .metric-day-stats span {
    padding: 6px 3px;
  }
  .metric-day-stats em {
    font-size: 9px;
  }
  .metric-day-stats b {
    font-size: 15px;
  }
}
.dashboard-row {
  margin-bottom: 18px;
}
.schedule-breakdown-panel {
  background: #ffffff;
  border: 1px solid var(--aseda-line);
  border-radius: 8px;
  padding: 16px;
}
.schedule-overview {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: 150px minmax(0, 1fr);
  margin-bottom: 18px;
}
.schedule-donut-wrap {
  display: flex;
  justify-content: center;
}
.schedule-donut {
  align-items: center;
  border-radius: 50%;
  display: flex;
  height: 132px;
  justify-content: center;
  position: relative;
  width: 132px;
}
.schedule-donut::after {
  background: #ffffff;
  border-radius: 50%;
  content: "";
  height: 78px;
  position: absolute;
  width: 78px;
}
.schedule-donut > div {
  position: relative;
  text-align: center;
  z-index: 1;
}
.schedule-donut strong,
.schedule-donut span,
.schedule-overview-copy strong {
  display: block;
}
.schedule-donut strong {
  color: var(--aseda-ink);
  font-size: 26px;
  line-height: 1;
}
.schedule-donut span {
  color: #526579;
  font-size: 12px;
}
.schedule-overview-copy p {
  margin: 3px 0 0;
}
.schedule-total-strip {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  margin-bottom: 16px;
}
.schedule-total-strip div {
  background: #f8fafc;
  border: 1px solid var(--aseda-line);
  border-radius: 6px;
  padding: 10px 12px;
}
.schedule-total-strip span,
.schedule-breakdown-name span,
.schedule-breakdown-numbers span {
  color: #526579;
  font-size: 12px;
}
.schedule-total-strip strong {
  color: var(--aseda-ink);
  display: block;
  font-size: 22px;
  line-height: 1.1;
  margin-top: 3px;
}
.schedule-breakdown-list {
  display: grid;
  gap: 12px;
}
.schedule-day-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 18px;
}
.schedule-day-card {
  background: #ffffff;
  border: 1px solid var(--aseda-line);
  border-radius: 6px;
  padding: 12px;
}
.schedule-day-heading {
  align-items: baseline;
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}
.schedule-day-heading strong {
  color: var(--aseda-ink);
}
.schedule-day-heading span,
.schedule-day-numbers span {
  color: #526579;
  font-size: 12px;
}
.schedule-day-card .schedule-breakdown-chart {
  margin-bottom: 8px;
}
.schedule-day-numbers {
  display: grid;
  gap: 3px 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.schedule-day-numbers strong {
  color: var(--aseda-ink);
}
.schedule-breakdown-row {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(140px, 1.1fr) minmax(180px, 2fr) minmax(250px, 2fr);
}
.schedule-breakdown-name strong,
.schedule-breakdown-name span {
  display: block;
}
.schedule-breakdown-chart {
  background: #eef3f7;
  border-radius: 6px;
  display: flex;
  height: 16px;
  min-width: 0;
  overflow: hidden;
}
.schedule-breakdown-chart-link {
  color: inherit;
  outline-offset: 3px;
}
.schedule-breakdown-chart-link:hover,
.schedule-breakdown-chart-link:focus {
  box-shadow: 0 0 0 3px rgba(29, 95, 153, .18);
}
.schedule-segment {
  display: block;
  min-width: 3px;
}
.schedule-segment-scheduled {
  background: #9aa8b4;
}
.schedule-segment-attended {
  background: #2e7d32;
}
.schedule-segment-late {
  background: #8a5a00;
}
.schedule-segment-partial {
  background: #26758f;
}
.schedule-segment-missed {
  background: #b23b3b;
}
.schedule-segment-pending {
  background: #526579;
}
.schedule-breakdown-numbers {
  display: grid;
  gap: 4px 10px;
  grid-template-columns: repeat(5, minmax(0, auto));
  justify-content: end;
}
.schedule-breakdown-numbers strong {
  color: var(--aseda-ink);
}
.schedule-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}
.schedule-legend-inline {
  margin-top: 10px;
}
.schedule-legend span {
  color: #526579;
  font-size: 12px;
}
.schedule-legend i {
  border-radius: 2px;
  display: inline-block;
  height: 10px;
  margin-right: 5px;
  width: 10px;
}
.department-employee-panel {
  background: #ffffff;
  border: 1px solid var(--aseda-line);
  border-radius: 8px;
  margin-top: 16px;
  padding: 14px 16px 16px;
}
.department-employee-heading {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 10px;
}
.department-employee-heading h4 {
  margin: 0;
}
.department-employee-heading p {
  margin: 3px 0 0;
}
.department-employee-heading > span {
  background: #f8fafc;
  border: 1px solid var(--aseda-line);
  border-radius: 6px;
  color: #526579;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 8px;
  white-space: nowrap;
}
.department-employee-table-wrap {
  border: 1px solid var(--aseda-line);
  border-radius: 6px;
  max-height: 360px;
  overflow: auto;
}
.department-employee-table {
  margin-bottom: 0;
}
.department-employee-table > thead > tr > th {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1;
}
.department-employee-table th,
.department-employee-table td {
  white-space: nowrap;
}
.department-employee-table th a {
  color: #496174;
  display: inline-block;
}
.department-employee-sort-link > span,
.department-employee-sort-color {
  display: block;
}
.department-employee-sort-color {
  border-radius: 999px;
  height: 5px;
  margin-top: 5px;
  min-width: 44px;
  width: 100%;
}
.department-employee-table td:first-child {
  min-width: 190px;
}
.department-employee-table td:first-child span {
  display: block;
}
.status-dot {
  border-radius: 50%;
  display: inline-block;
  height: 9px;
  margin-right: 6px;
  width: 9px;
}
.status-dot.online {
  background: #2e7d32;
  box-shadow: 0 0 0 3px rgba(46, 125, 50, .12);
}
.status-dot.offline {
  background: #aaa;
  box-shadow: 0 0 0 3px rgba(170, 170, 170, .12);
}
.device-detail-row {
  cursor: pointer;
}
.device-detail-row:focus {
  outline: 2px solid var(--aseda-cyan);
  outline-offset: -2px;
}
.device-issue-pill {
  border-radius: 999px;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 8px;
}
.device-issue-critical {
  background: #fdeeee;
  color: #b23b3b;
}
.device-issue-warning {
  background: #fff6e6;
  color: #8a5a00;
}
.device-detail-section {
  margin-bottom: 16px;
}
.device-detail-section h5 {
  color: var(--aseda-blue-dark);
  font-weight: 700;
  margin: 0 0 8px;
}
.device-detail-table {
  margin-bottom: 0;
}
.device-detail-table th {
  color: #526579;
  width: 180px;
}
.device-detail-long {
  overflow-wrap: anywhere;
  word-break: break-word;
}
.activity-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.activity-list li {
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
}
.activity-list li:last-child {
  border-bottom: 0;
}
.activity-list span {
  color: #777;
  font-size: 12px;
  margin-left: 12px;
}
.summary-daily-hours {
  margin-top: 6px;
}
.summary-filter {
  margin-top: 16px;
}
.summary-filter-fields {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(150px, 1fr)) repeat(2, minmax(130px, .75fr)) minmax(230px, 1.4fr) minmax(110px, .65fr);
}
.summary-filter .form-group {
  margin: 0;
}
.summary-filter label {
  color: #526579;
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 5px;
}
.summary-filter .form-control {
  width: 100%;
}
.summary-filter .summary-filter-checkbox {
  align-items: center;
  color: #263746;
  cursor: pointer;
  display: flex;
  font-size: 14px;
  gap: 8px;
  min-height: 34px;
  margin: 0;
}
.summary-filter-checkbox input {
  margin: 0;
}
.summary-filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.summary-daily-hours summary {
  color: #526579;
  cursor: pointer;
  font-size: 12px;
}
.summary-daily-hours-grid {
  display: grid;
  gap: 4px 10px;
  grid-template-columns: repeat(2, minmax(52px, auto));
  margin-top: 6px;
  max-width: 180px;
}
.summary-daily-hours-grid span {
  color: #526579;
  font-size: 12px;
}
.summary-daily-hours-grid strong {
  font-size: 12px;
  text-align: right;
}
@media (max-width: 1199px) {
  .summary-filter-fields {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
  }
}
@media (max-width: 767px) {
  .summary-filter-fields {
    grid-template-columns: 1fr;
  }
  .summary-filter-actions .btn {
    flex: 1 1 auto;
  }
}
.report-proof-thumb {
  display: inline-block;
  margin-right: 6px;
}
.report-proof-thumb img {
  border-radius: 4px;
  object-fit: cover;
}
.report-status {
  display: inline-block;
  font-size: 12px;
  padding: 5px 8px;
}
.report-status-completed,
.report-status-complete,
.report-status-present {
  background-color: #2e7d32;
}
.report-status-late,
.report-status-no-clock-out,
.report-status-missing-clock-out,
.report-status-missing-clock-in {
  background-color: #8a5a00;
}
.report-status-missed,
.report-status-incomplete {
  background-color: #b23b3b;
}
.report-status-scheduled,
.report-status-unscheduled {
  background-color: #526579;
}
.report-shift-cell {
  border-left: 4px solid #526579;
  border-radius: 4px;
  padding: 7px 9px;
}
.report-shift-cell strong,
.report-shift-cell span,
.report-shift-cell em {
  display: block;
}
.report-shift-cell span {
  color: #526579;
  font-size: 12px;
  line-height: 1.3;
  margin-top: 2px;
}
.report-shift-cell em {
  color: #333;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 4px;
}
.report-shift-completed,
.report-shift-complete,
.report-shift-present {
  background-color: #eef7ef;
  border-left-color: #2e7d32;
}
.report-shift-late,
.report-shift-no-clock-out,
.report-shift-missing-clock-out,
.report-shift-missing-clock-in {
  background-color: #fff6e6;
  border-left-color: #8a5a00;
}
.report-shift-missed,
.report-shift-incomplete {
  background-color: #fdeeee;
  border-left-color: #b23b3b;
}
.report-shift-scheduled,
.report-shift-unscheduled,
.report-shift-on-call,
.report-shift-on-call-worked,
.report-shift-on-call-active {
  background-color: #eef2f5;
  border-left-color: #526579;
}

@media (max-width: 767px) {
  .dashboard-header {
    align-items: flex-start;
    display: block;
  }
  .dashboard-header-health {
    margin-top: 12px;
    text-align: left;
  }
  .dashboard-header-health span {
    justify-content: flex-start;
  }
  .dashboard-header .btn {
    margin-top: 10px;
  }
  .dashboard-section-heading {
    align-items: flex-start;
    display: block;
  }
  .dashboard-filter {
    align-items: flex-start;
    display: block;
    margin-top: 12px;
  }
  .dashboard-filter label {
    display: block;
    margin-bottom: 4px;
  }
  .dashboard-filter select {
    min-width: 0;
    width: 100%;
  }
  .dashboard-filter-field,
  .dashboard-filter-date .form-control,
  .dashboard-filter .btn {
    width: 100%;
  }
  .schedule-overview,
  .schedule-breakdown-row {
    display: block;
  }
  .schedule-donut-wrap {
    justify-content: flex-start;
    margin-bottom: 12px;
  }
  .schedule-breakdown-chart {
    margin: 8px 0;
  }
  .schedule-breakdown-numbers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
  }
  .activity-list li {
    display: block;
  }
  .activity-list span {
    display: block;
    margin-left: 0;
    margin-top: 3px;
  }
}
