:root {
  --diiwaan-font-sans: var(--tblr-font-sans-serif);
  --diiwaan-font-size: 0.925rem;
  --diiwaan-bg: #f5f8fc;
  --diiwaan-surface: #ffffff;
  --diiwaan-surface-soft: #f8fafc;
  --diiwaan-border: #dbe5f2;
  --diiwaan-border-soft: #e7eef7;
  --diiwaan-text: #132238;
  --diiwaan-muted: #667085;
  --diiwaan-heading: #071b3a;
  --diiwaan-primary: #0d6efd;
  --diiwaan-primary-dark: #084fb4;
  --diiwaan-teal: #10a79d;
  --diiwaan-radius: 10px;
  --diiwaan-shadow: 0 0.45rem 1.25rem rgba(15, 23, 42, 0.055);
  --diiwaan-shadow-soft: 0 0.24rem 0.85rem rgba(15, 23, 42, 0.04);
}

html[data-bs-theme="dark"] {
  --diiwaan-bg: #0d1624;
  --diiwaan-surface: #111c2d;
  --diiwaan-surface-soft: #172438;
  --diiwaan-border: #26364d;
  --diiwaan-border-soft: #203047;
  --diiwaan-text: #dbe7f6;
  --diiwaan-muted: #8ea2bb;
  --diiwaan-heading: #f4f8ff;
  --diiwaan-primary: #4c8dff;
  --diiwaan-primary-dark: #2f6fe4;
  --diiwaan-teal: #22c5b7;
  --diiwaan-shadow: 0 0.45rem 1.25rem rgba(0, 0, 0, 0.22);
  --diiwaan-shadow-soft: 0 0.24rem 0.85rem rgba(0, 0, 0, 0.16);
  color-scheme: dark;
}

html {
  font-size: 15px;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--diiwaan-bg);
  color: var(--diiwaan-text);
  font-family: var(--tblr-font-sans-serif);
  font-size: var(--diiwaan-font-size);
  letter-spacing: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
.card-title,
.modal-title {
  color: var(--diiwaan-heading);
  font-family: var(--tblr-font-sans-serif);
  font-weight: 600;
  letter-spacing: 0;
}

a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.text-secondary,
.text-muted,
.form-text,
small {
  color: var(--diiwaan-muted) !important;
}

.table-actions {
  white-space: nowrap;
}

.table-actions .btn + .btn,
.table-actions form + .btn,
.table-actions .btn + form,
.table-actions form + form {
  margin-left: 0.25rem;
}

.book-records-table .badge,
.follow-ups-table .badge,
.work-queue-table .badge {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  max-width: 100%;
  min-height: 28px;
  min-width: 148px;
  overflow: hidden;
  padding-left: 0.68rem;
  padding-right: 0.68rem;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.book-records-table .book-col-next .btn,
.work-queue-table td.text-end > .btn,
.work-queue-actions .btn {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 31px;
  min-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.book-records-table .book-col-next .btn i,
.work-queue-table td.text-end > .btn i,
.work-queue-actions .btn i {
  flex: 0 0 auto;
}

.follow-ups-table {
  min-width: 1080px;
  table-layout: fixed;
}

.follow-ups-table th,
.follow-ups-table td {
  vertical-align: middle;
}

.follow-ups-table th:nth-child(1),
.follow-ups-table td:nth-child(1) {
  width: 142px;
}

.follow-ups-table th:nth-child(2),
.follow-ups-table td:nth-child(2) {
  text-transform: uppercase;
  width: 86px;
}

.follow-ups-table th:nth-child(3),
.follow-ups-table td:nth-child(3) {
  width: 17%;
}

.follow-ups-table th:nth-child(4),
.follow-ups-table td:nth-child(4) {
  width: 110px;
}

.follow-ups-table th:nth-child(6),
.follow-ups-table td:nth-child(6),
.follow-ups-table th:nth-child(7),
.follow-ups-table td:nth-child(7) {
  width: 15%;
}

.follow-ups-table th:nth-child(8),
.follow-ups-table td:nth-child(8) {
  width: 168px;
}

.follow-ups-table th:nth-child(9),
.follow-ups-table td:nth-child(9) {
  width: 72px;
}

.returns-history-table {
  min-width: 1040px;
  table-layout: fixed;
}

.returns-history-table th,
.returns-history-table td {
  vertical-align: middle;
}

.returns-history-table .return-col-owner,
.returns-history-table .return-col-receiver,
.returns-history-table .return-col-staff,
.follow-ups-table td:nth-child(3),
.follow-ups-table td:nth-child(5),
.follow-ups-table td:nth-child(6),
.follow-ups-table td:nth-child(7) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.returns-history-table .return-col-plate {
  text-transform: uppercase;
  width: 86px;
}

.returns-history-table .return-col-owner {
  width: 22%;
}

.returns-history-table .return-col-phone {
  width: 112px;
}

.returns-history-table .return-col-type {
  width: 158px;
}

.returns-history-table .return-col-date {
  width: 142px;
}

.returns-history-table .return-col-receiver {
  width: 17%;
}

.returns-history-table .return-col-expiry {
  width: 102px;
}

.returns-history-table .return-col-staff {
  width: 15%;
}

.book-records-table {
  min-width: 1160px;
  table-layout: fixed;
  text-transform: capitalize;
  width: 100%;
}

.book-records-card {
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  box-shadow: 0 0.45rem 1.15rem rgba(15, 23, 42, 0.045);
  overflow: hidden;
}

.book-records-header {
  background: linear-gradient(180deg, #fff, #f8fafc);
  border-bottom-color: #dbe3ec;
  padding: 0.95rem 1rem;
}

.book-records-table th,
.book-records-table td {
  vertical-align: middle;
}

.book-records-table thead th {
  background: #eef3f8;
  border-bottom: 1px solid #cbd5e1;
  color: #0f172a;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.book-records-table tbody td {
  border-color: #e5eaf1;
  color: #1f2937;
  font-size: 0.9rem;
  padding-bottom: 0.58rem;
  padding-top: 0.58rem;
}

.book-records-table tbody tr:hover {
  --bs-table-hover-bg: #f8fafc;
}

.book-records-table .book-col-owner,
.book-records-table .book-col-model {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.book-records-table .book-col-owner {
  width: 19%;
}

.book-records-table .book-col-select {
  text-align: center;
  width: 38px;
}

.book-records-table .book-col-phone,
.book-records-table .book-col-date,
.book-records-table .book-col-next,
.book-records-table .book-col-actions {
  white-space: nowrap;
}

.book-records-table .book-col-plate {
  text-transform: uppercase;
}

.book-records-table .book-col-plate {
  width: 86px;
}

.book-records-table .book-col-phone {
  width: 104px;
}

.book-records-table .book-col-model {
  width: 12%;
}

.book-records-table .book-col-date {
  width: 92px;
}

.book-records-table .book-col-status {
  padding-left: 1rem;
  padding-right: 1rem;
  width: 190px;
}

.book-records-table .book-col-validity {
  width: 88px;
  white-space: nowrap;
}

.book-records-table .book-col-next {
  padding-left: 1rem;
  padding-right: 1rem;
  width: 188px;
}

.book-records-table .book-col-next .btn {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

.book-records-table .book-col-next .btn i {
  flex: 0 0 auto;
}

.book-validity-wrap {
  align-items: flex-start;
  display: inline-flex;
  flex-direction: column;
  gap: 0.25rem;
}

.book-validity-badge {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.74rem;
  font-weight: 800;
  gap: 0.32rem;
  letter-spacing: 0;
  line-height: 1;
  padding: 0.36rem 0.56rem;
  text-transform: uppercase;
}

.book-validity-badge.validity-active {
  background: #dcfce7;
  color: #166534;
}

.book-validity-badge.validity-expired {
  background: #fee2e2;
  color: #991b1b;
}

.book-validity-badge.validity-unknown {
  background: #eef2f7;
  color: #475569;
}

.book-validity-description {
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.2;
  text-transform: none;
}

.book-records-table .book-col-actions {
  width: 94px;
}

.book-records-table .book-col-actions .btn {
  align-items: center;
  display: inline-flex;
  height: 31px;
  justify-content: center;
  width: 34px;
}

@media (max-width: 1399.98px) {
  .book-records-table {
    min-width: 1080px;
  }

  .book-records-table .book-col-phone {
    display: none;
  }

  .book-records-table .book-col-owner {
    width: 24%;
  }
}

@media (max-width: 1199.98px) {
  .book-records-table {
    min-width: 1020px;
  }

  .book-records-table .book-col-date {
    display: none;
  }

  .book-records-table .book-col-owner {
    width: 28%;
  }
}

@media (max-width: 991.98px) {
  .book-records-table .book-col-phone {
    display: none;
  }

  .book-records-table .book-col-model {
    width: 18%;
  }
}

.book-record-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.book-record-tab {
  align-items: center;
  background: #fff;
  border: 1px solid #dbe3ec;
  border-radius: 7px;
  color: var(--bs-body-color);
  display: inline-flex;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0.45rem 0.65rem;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.book-record-tab:hover {
  background: #f8fafc;
  border-color: #b6c2d2;
  color: #0066d9;
}

.book-record-tab.active {
  background: linear-gradient(135deg, #0066d9, #009b9b);
  border-color: #0066d9;
  box-shadow: 0 0.35rem 0.9rem rgba(0, 102, 217, 0.2);
  color: #fff;
}

.book-record-tab-icon {
  align-items: center;
  display: inline-flex;
  font-size: 1rem;
  justify-content: center;
  width: 1.15rem;
}

.book-record-tab-label {
  font-weight: 600;
  line-height: 1;
}

.book-record-tab-count {
  align-items: center;
  background: #eef2f7;
  border-radius: 999px;
  color: #344054;
  display: inline-flex;
  font-size: 0.74rem;
  font-weight: 700;
  justify-content: center;
  line-height: 1;
  min-width: 1.5rem;
  padding: 0.25rem 0.4rem;
}

.book-record-tab.active .book-record-tab-count {
  background: rgba(255, 255, 255, 0.92);
  color: var(--bs-primary);
}

.book-plate-groups {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.book-plate-group-label {
  color: var(--bs-secondary-color);
  font-size: 0.78rem;
  font-weight: 800;
  margin-right: 0.25rem;
  text-transform: uppercase;
}

.book-plate-group {
  align-items: center;
  background: #fff;
  border: 1px solid var(--bs-border-color);
  border-radius: 999px;
  color: var(--bs-body-color);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 800;
  gap: 0.35rem;
  min-height: 32px;
  padding: 0.35rem 0.7rem;
  text-decoration: none;
}

.book-plate-group:hover,
.book-plate-group.active {
  background: #111827;
  border-color: #111827;
  color: #fff;
}

.book-plate-group span {
  background: #eef2f7;
  border-radius: 999px;
  color: #344054;
  font-size: 0.72rem;
  line-height: 1;
  padding: 0.2rem 0.4rem;
}

.book-plate-group.active span,
.book-plate-group:hover span {
  background: rgba(255, 255, 255, 0.92);
  color: #111827;
}

.book-bulk-actions {
  background: #ffffff;
  border: 1px solid #dbe3ec;
  border-left: 3px solid #0066d9;
  border-radius: 7px;
  box-shadow: 0 0.25rem 0.85rem rgba(15, 23, 42, 0.035);
  padding: 0.75rem;
}

.book-bulk-actions .form-label {
  color: #667085;
  font-size: 0.76rem;
  font-weight: 800 !important;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.book-bulk-note {
  min-width: 240px;
}

.book-bulk-company {
  min-width: 220px;
}

.book-records-page .app-content {
  background: #f6f8fb;
}

.book-records-page .page-pretitle {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.book-records-page .page-title {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  font-size: 1.3rem;
  font-weight: 600;
  gap: 0.35rem;
}

.book-records-command {
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
  border: 1px solid #d8e6f7;
  border-radius: 12px;
  box-shadow: 0 0.5rem 1.45rem rgba(15, 23, 42, 0.06);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  padding: 1rem;
}

.book-records-kicker {
  color: #0f766e;
  display: block;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
}

.book-records-command h1 {
  color: #09204a;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0;
}

.book-records-command h1 span {
  color: #0d6efd;
}

.book-records-command p {
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0.18rem 0 0;
}

.book-records-command-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.book-records-page .book-records-card {
  border: 1px solid #dbe5f2;
  border-radius: 12px;
  box-shadow: 0 0.35rem 1rem rgba(15, 23, 42, 0.045);
}

.book-records-page .book-records-card > .card-body {
  padding: 0.95rem;
}

.book-records-page .card-subtitle {
  color: #64748b;
  font-size: 0.84rem;
  margin-top: 0.15rem;
}

.book-records-page .book-record-tabs {
  background: #f8fafc;
  border: 1px solid #dbe5f2;
  border-radius: 10px;
  display: grid;
  gap: 0.35rem;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  padding: 0.48rem;
}

.book-records-page .book-record-tab {
  align-items: center;
  background: transparent;
  border-color: transparent;
  border-radius: 8px;
  color: #334155;
  min-height: 42px;
  padding: 0.48rem 0.58rem;
  text-decoration: none;
}

.book-records-page .book-record-tab:hover {
  background: #fff;
  border-color: transparent;
  color: #0d6efd;
}

.book-records-page .book-record-tab.active {
  background: #ffffff;
  border-color: transparent;
  box-shadow: 0 0.2rem 0.7rem rgba(15, 23, 42, 0.06);
  color: #0d6efd;
}

.book-records-page .book-record-tab-icon {
  background: transparent;
  border-radius: 6px;
  color: #0d6efd;
  height: 24px;
  width: 24px;
}

.book-records-page .book-record-tab-label {
  font-size: 0.84rem;
  font-weight: 500;
}

.book-records-page .book-record-tab-count {
  border-radius: 999px;
  font-weight: 500;
}

.book-records-page .book-record-tab.active .book-record-tab-count {
  background: #0d6efd;
  color: #fff;
}

.book-records-page .book-plate-groups {
  background: #fff;
  border: 1px solid #dbe5f2;
  border-radius: 10px;
  padding: 0.55rem;
}

.book-records-page .book-plate-group {
  background: #f8fafc;
  border-color: #d9e2ef;
  border-radius: 8px;
  color: #334155;
}

.book-records-page .book-plate-group:hover,
.book-records-page .book-plate-group.active {
  background: #0d6efd;
  border-color: #0d6efd;
  color: #fff;
}

.book-records-page .book-plate-group.active span,
.book-records-page .book-plate-group:hover span {
  color: #0d6efd;
}

.book-records-page .book-bulk-actions {
  background: #ffffff;
  border: 1px solid #dbe5f2;
  border-radius: 10px;
  box-shadow: none;
  padding: 0.85rem;
}

.book-bulk-title {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.book-records-page .book-bulk-actions > .d-flex {
  gap: 0.65rem !important;
}

.book-records-page .book-bulk-actions .form-label {
  color: #334155;
  margin-bottom: 0.32rem;
}

.book-records-page .book-bulk-actions .form-select,
.book-records-page .book-bulk-actions .form-control {
  border-color: #d8e2ef;
  min-height: 34px;
}

.book-records-page .book-bulk-actions .btn {
  min-height: 34px;
}

.book-bulk-helper {
  align-items: center;
  color: #64748b;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.8rem;
  gap: 0.5rem;
  margin-top: 0.55rem;
}

.book-bulk-helper span:first-child {
  background: #eaf3ff;
  border: 1px solid #cfe3ff;
  border-radius: 999px;
  color: #0d47a1;
  font-weight: 850;
  padding: 0.22rem 0.55rem;
}

.book-records-page .book-records-table thead th {
  background: #f1f5fa;
  border-bottom-color: #d7e2ef;
  color: #334155;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.02em;
  padding: 0.72rem 0.7rem;
}

.book-records-page .book-records-table tbody td {
  border-color: #e7edf5;
  color: #172033;
  font-size: 0.86rem;
  padding: 0.72rem 0.72rem;
}

.book-records-page .book-records-table tbody tr:hover {
  --bs-table-hover-bg: #f3f8ff;
}

.book-records-page .book-records-table tbody tr {
  border-bottom: 1px solid #eef3f8;
}

.book-records-page .book-records-table .book-col-plate {
  color: #0d47a1;
  font-weight: 900;
}

.book-records-page .book-records-table .book-col-status,
.book-records-page .book-records-table .book-col-next {
  background-clip: padding-box;
  border-left: 1px solid #edf2f7;
  padding-left: 1rem;
  padding-right: 1rem;
}

.book-records-page .book-records-table .book-col-status .badge {
  display: inline-flex;
  justify-content: center;
  font-size: 0.72rem;
  line-height: 1.15;
  max-width: 100%;
  min-width: 148px;
  overflow: hidden;
  padding: 0.42rem 0.68rem;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.book-records-page .book-records-table .book-col-next .btn {
  font-size: 0.78rem;
  justify-content: center;
  min-width: 150px;
  padding-left: 0.65rem;
  padding-right: 0.65rem;
}

.book-records-page .book-records-table .book-col-next .btn i {
  flex: 0 0 auto;
}

.book-records-datatable .dt-layout-row:first-child {
  background: #ffffff;
  border: 1px solid #dbe5f2;
  border-radius: 12px;
  box-shadow: 0 0.28rem 0.9rem rgba(15, 23, 42, 0.035);
  margin-bottom: 0.85rem !important;
  padding: 0.7rem 0.75rem;
}

.book-records-datatable .dt-layout-row:first-child .dt-layout-cell {
  align-items: center;
  display: flex;
}

.book-records-datatable .dt-layout-row:first-child .dt-layout-cell:last-child {
  justify-content: flex-end;
}

.book-records-datatable .dt-search {
  position: relative;
  width: min(100%, 420px);
}

.book-records-datatable .dt-search::before {
  color: #64748b;
  content: "\F52A";
  font-family: "bootstrap-icons";
  font-size: 0.9rem;
  left: 0.82rem;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.book-records-datatable .dt-search input {
  background: #f8fafc;
  min-height: 38px;
  padding-left: 2.25rem;
  width: 100%;
}

.book-records-datatable .dt-length {
  align-items: center;
  color: #64748b;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 750;
  gap: 0.42rem;
  white-space: nowrap;
}

.book-records-datatable .dt-length select {
  background-color: #fff;
  font-weight: 800;
  min-height: 38px;
  min-width: 76px;
}

.book-records-datatable .dt-layout-row:last-child {
  align-items: center;
  background: #fff;
  border: 1px solid #e3ebf5;
  border-radius: 0 0 12px 12px;
  margin-top: 0 !important;
  padding: 0.65rem 0.75rem;
}

.book-records-datatable .dt-info {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 700;
}

.book-records-datatable .dt-paging {
  align-items: center;
  display: flex;
  justify-content: flex-end;
}

.book-records-datatable .dt-paging .pagination {
  margin-bottom: 0;
}

.book-records-page .book-col-actions .btn-group {
  gap: 0.25rem;
}

.book-records-page .book-col-actions .btn {
  border-radius: 7px !important;
  height: 30px;
  width: 30px;
}

.book-records-page .book-validity-badge {
  font-size: 0.68rem;
  padding: 0.3rem 0.48rem;
}

.book-records-page .book-validity-description {
  display: none;
}

.abandoned-books-table {
  min-width: 1040px;
  text-transform: capitalize;
}

.abandoned-books-table th,
.abandoned-books-table td {
  vertical-align: middle;
}

.abandoned-note-cell {
  max-width: 280px;
  white-space: normal;
}

.book-profile-card {
  border: 0;
  border-radius: 9px;
  box-shadow: 0 0.55rem 1.45rem rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.book-profile-card .card-body {
  background:
    linear-gradient(180deg, rgba(15, 118, 110, 0.06), rgba(255, 255, 255, 0) 42%),
    #fff;
}

.book-profile-kicker {
  align-items: center;
  color: #0f766e;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 800;
  gap: 0.35rem;
  letter-spacing: 0;
  margin-bottom: 0.55rem;
  text-transform: uppercase;
}

.book-profile-avatar {
  background: #f8fafc;
  border: 1px solid #dbe4ee;
  border-radius: 0.65rem;
  box-shadow: 0 0.35rem 1rem rgba(15, 23, 42, 0.12);
  display: block;
  height: 120px;
  margin-bottom: 1rem;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
  padding: 0.35rem;
  width: 160px;
}

.book-profile-status .badge {
  font-size: 0.82rem;
  padding: 0.45rem 0.65rem;
}

.book-profile-validity {
  background: #f8fafc;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  padding: 0.48rem 0.6rem;
}

.book-profile-validity .book-validity-wrap {
  align-items: center;
  display: flex;
}

.book-profile-validity .book-validity-badge {
  box-shadow: 0 0.25rem 0.65rem rgba(15, 23, 42, 0.065);
  font-size: 0.84rem;
  gap: 0.35rem;
  justify-content: center;
  min-width: 116px;
  padding: 0.43rem 0.68rem;
}

.book-profile-validity .book-validity-badge i {
  font-size: 0.98rem;
}

.book-profile-validity .book-validity-badge.validity-active {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  color: #14532d;
}

.book-profile-validity .book-validity-badge.validity-expired {
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  color: #7f1d1d;
}

.book-profile-validity .book-validity-badge.validity-unknown {
  background: linear-gradient(135deg, #eef2f7, #e2e8f0);
  color: #334155;
}

.book-profile-validity .book-validity-description {
  color: #475569;
  font-size: 0.76rem;
  font-weight: 700;
  text-align: center;
}

.book-profile-mini-list {
  background: rgba(248, 250, 252, 0.78);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-top: 0.8rem;
  overflow: hidden;
}

.book-profile-mini-item {
  align-items: flex-start;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  padding: 0.65rem 0.7rem;
}

.book-profile-mini-item + .book-profile-mini-item {
  border-top: 1px solid #e2e8f0;
}

.book-profile-mini-item span {
  align-items: center;
  color: #64748b;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  gap: 0.38rem;
  line-height: 1.25;
}

.book-profile-mini-item strong {
  color: #0f172a;
  font-size: 0.82rem;
  line-height: 1.25;
  text-align: right;
}

.book-profile-actions {
  margin-top: 1rem;
}

.book-profile-hero {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(0, 102, 217, 0.09), rgba(0, 155, 155, 0.08)),
    #fff;
  border: 1px solid #cfe0f4;
  border-radius: 9px;
  box-shadow: 0 0.55rem 1.35rem rgba(15, 23, 42, 0.055);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  overflow: hidden;
  padding: 1rem 1.1rem;
  position: relative;
}

.book-profile-hero::after {
  background: rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  content: "";
  height: 120px;
  position: absolute;
  right: -44px;
  top: -44px;
  width: 120px;
}

.book-profile-hero > * {
  position: relative;
  z-index: 1;
}

.book-profile-hero-label {
  align-items: center;
  color: #0f766e;
  display: inline-flex;
  font-size: 0.74rem;
  font-weight: 800;
  gap: 0.4rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.book-profile-hero h1 {
  color: #0f172a;
  font-size: 1.65rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.1;
  margin: 0.2rem 0 0;
  text-transform: uppercase;
}

.book-profile-hero p {
  color: #475569;
  font-weight: 700;
  margin: 0.25rem 0 0;
  text-transform: capitalize;
}

.book-profile-hero-badges {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.book-profile-summary-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.book-profile-summary-tile {
  align-items: center;
  background: #fff;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  box-shadow: 0 0.35rem 1rem rgba(15, 23, 42, 0.045);
  display: flex;
  gap: 0.75rem;
  min-height: 76px;
  padding: 0.85rem;
}

.book-profile-summary-icon {
  align-items: center;
  border-radius: 0.5rem;
  display: inline-flex;
  flex: 0 0 40px;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.book-profile-summary-label,
.book-section-eyebrow {
  color: var(--bs-secondary-color);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.book-profile-summary-value {
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0.1rem;
  overflow-wrap: anywhere;
}

.book-next-step-card {
  border: 1px solid #bfdbfe;
  border-left: 4px solid var(--bs-primary);
  border-radius: 9px;
  box-shadow: 0 0.4rem 1rem rgba(15, 23, 42, 0.06);
}

.book-next-step-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.book-next-step-actions .btn {
  font-weight: 800;
}

#book-profile-tabs .nav-link {
  align-items: center;
  color: var(--bs-secondary-color);
  display: inline-flex;
  font-weight: 700;
  gap: 0.15rem;
  min-height: 44px;
}

#book-profile-tabs .nav-link.active {
  color: var(--bs-primary);
}

#book-profile-tabs {
  background: #f8fafc;
  padding: 0.35rem 0.45rem 0;
}

.book-timeline {
  display: grid;
  gap: 1rem;
  position: relative;
}

.book-timeline-item {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: 42px minmax(0, 1fr);
  position: relative;
}

.book-timeline-item:not(:last-child)::before {
  background: var(--bs-border-color);
  bottom: -1rem;
  content: "";
  left: 20px;
  position: absolute;
  top: 42px;
  width: 2px;
}

.book-timeline-icon {
  align-items: center;
  border-radius: 50%;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  position: relative;
  width: 42px;
  z-index: 1;
}

.book-timeline-content {
  background: #fff;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  box-shadow: 0 0.25rem 0.8rem rgba(15, 23, 42, 0.035);
  padding: 0.8rem;
}

.book-profile-tabs-card .tab-content .table {
  font-size: 0.9rem;
}

.book-profile-tabs-card .tab-content thead th {
  background: #eef3f8;
  color: #0f172a;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .book-profile-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .book-profile-summary-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .book-profile-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .book-profile-hero-badges {
    align-items: flex-start;
  }

  .book-next-step-actions {
    justify-content: flex-start;
    width: 100%;
  }
}

.company-scope-form {
  min-width: 220px;
}

.company-scope-form .form-select {
  border-color: rgba(15, 23, 42, 0.14);
  border-radius: 8px;
  color: #0f1f44;
  font-weight: 700;
  max-width: 260px;
}

.admin-dashboard-page .app-content {
  background: #f6f8fb;
}

.admin-hero {
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #eef6ff 100%);
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 12px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 18px 20px;
}

.admin-kicker {
  color: #0f766e;
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-hero h1 {
  color: #0f1f44;
  font-size: 1.45rem;
  font-weight: 800;
  margin: 4px 0;
}

.admin-hero p {
  color: #64748b;
  margin: 0;
}

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

.admin-metric-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 16px;
}

.admin-metric {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
  color: #0f1f44;
  display: grid;
  gap: 3px;
  min-height: 104px;
  padding: 14px;
  position: relative;
  text-decoration: none;
}

.admin-metric span {
  align-items: center;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-size: 1.2rem;
  height: 44px;
  justify-content: center;
  margin-bottom: 4px;
  width: 44px;
}

.admin-metric small {
  color: #64748b;
  font-weight: 700;
}

.admin-metric strong {
  color: #0f1f44;
  font-size: 1.55rem;
  line-height: 1;
}

.admin-metric em {
  color: #64748b;
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 700;
  grid-column: 2;
  line-height: 1.2;
}

.admin-metric.metric-companies span { background: #2563eb; }
.admin-metric.metric-active span { background: #16a34a; }
.admin-metric.metric-inactive span { background: #64748b; }
.admin-metric.metric-users span { background: #7c3aed; }
.admin-metric.metric-user-inactive span { background: #ef4444; }
.admin-metric.metric-books span { background: #0f766e; }
.admin-metric.metric-reprinted span { background: #f97316; }
.admin-metric.metric-renewed span { background: #0ea5e9; }

.admin-chart-box {
  height: 250px;
  position: relative;
}

.admin-chart-wide {
  height: 280px;
}

.admin-note-list,
.admin-activity-list {
  display: grid;
  gap: 12px;
}

.admin-note-list div,
.admin-activity-item {
  align-items: flex-start;
  display: flex;
  gap: 10px;
}

.admin-note-list i,
.admin-activity-item > span {
  align-items: center;
  background: #eef6ff;
  border-radius: 50%;
  color: #2563eb;
  display: inline-flex;
  flex: 0 0 auto;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.admin-activity-item strong {
  color: #0f1f44;
  display: block;
  font-size: 0.9rem;
}

.admin-activity-item small {
  color: #64748b;
}

@media (max-width: 1399.98px) {
  .admin-metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .admin-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-dashboard-page .admin-hero-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .admin-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .user-admin-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .admin-metric-grid {
    grid-template-columns: 1fr;
  }

  .user-admin-summary-grid {
    grid-template-columns: 1fr;
  }
}

.header-settings-link {
  align-items: center;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 10px;
  color: #0f1f44;
  display: inline-flex;
  height: 36px;
  justify-content: center;
  margin-right: 0.35rem;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  width: 36px;
}

.header-settings-link:hover {
  background: #eef6ff;
  border-color: rgba(37, 99, 235, 0.22);
  color: #2563eb;
}

.admin-dashboard-page {
  background:
    radial-gradient(circle at 88% 0%, rgba(20, 184, 166, 0.08), transparent 28rem),
    linear-gradient(180deg, #f8fbff 0%, #f5f7fb 100%);
}

.admin-dashboard-page .app-content-header {
  background: transparent;
  border-bottom: 0;
  padding-bottom: 0.45rem;
}

.admin-dashboard-page .app-content-header h3 {
  color: #071b3a;
  font-weight: 850;
  letter-spacing: 0;
}

.admin-dashboard-page .app-content {
  background: transparent;
}

.admin-hero {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(238, 246, 255, 0.96) 58%, rgba(236, 253, 245, 0.96) 100%);
  border-color: rgba(37, 99, 235, 0.16);
  border-radius: 14px;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  position: relative;
}

.admin-hero::after {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.12), rgba(20, 184, 166, 0.1));
  border-radius: 999px;
  content: "";
  height: 140px;
  position: absolute;
  right: -46px;
  top: -66px;
  width: 140px;
}

.admin-hero > * {
  position: relative;
  z-index: 1;
}

.admin-hero h1 {
  font-size: 1.55rem;
  letter-spacing: 0;
}

.admin-hero-actions .btn {
  border-radius: 10px;
  font-weight: 800;
  min-width: 108px;
  padding: 0.34rem 0.62rem;
  white-space: nowrap;
}

.admin-dashboard-page .admin-hero-actions {
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 0.42rem;
}

.admin-metric-grid {
  gap: 14px;
}

.admin-metric {
  align-items: center;
  border-color: rgba(15, 23, 42, 0.07);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
  grid-template-columns: auto 1fr;
  min-height: 104px;
  overflow: hidden;
  padding: 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.admin-metric:hover {
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
  transform: translateY(-1px);
}

.admin-metric span {
  grid-row: span 2;
  height: 50px;
  margin: 0 4px 0 0;
  width: 50px;
}

.admin-metric small {
  align-self: end;
  color: #475569;
  font-size: 0.82rem;
}

.admin-metric strong {
  align-self: start;
  font-size: 1.55rem;
}

.admin-audit-page .app-content {
  background:
    radial-gradient(circle at 92% 3%, rgba(20, 184, 166, 0.07), transparent 30rem),
    #f5f7fb;
}

.admin-audit-hero {
  align-items: center;
  background: linear-gradient(135deg, #061f3d 0%, #073a63 62%, #078a96 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  box-shadow: 0 0.65rem 1.55rem rgba(6, 31, 61, 0.16);
  color: #fff;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  overflow: hidden;
  padding: 1rem;
  position: relative;
}

.admin-audit-hero::after {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 60%);
  border-radius: 999px;
  content: "";
  height: 180px;
  position: absolute;
  right: -58px;
  top: -88px;
  width: 270px;
}

.admin-audit-hero > * {
  position: relative;
  z-index: 1;
}

.admin-audit-hero h1 {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0;
}

.admin-audit-hero p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0.25rem 0 0;
}

.admin-audit-summary-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-bottom: 0.85rem;
}

.admin-audit-summary {
  background: #fff;
  border: 1px solid #dfe7f2;
  border-radius: 10px;
  box-shadow: 0 0.35rem 1rem rgba(15, 23, 42, 0.05);
  color: #0b1f44;
  display: grid;
  gap: 0.16rem;
  min-height: 118px;
  padding: 0.82rem;
}

.admin-audit-summary span {
  align-items: center;
  border-radius: 0.78rem;
  color: #fff;
  display: inline-flex;
  font-size: 1rem;
  height: 36px;
  justify-content: center;
  margin-bottom: 0.15rem;
  width: 36px;
}

.admin-audit-summary small {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.admin-audit-summary strong {
  font-size: 1.42rem;
  font-weight: 900;
  line-height: 1;
}

.admin-audit-summary em {
  color: #64748b;
  font-size: 0.77rem;
  font-style: normal;
  font-weight: 700;
}

.admin-audit-summary.audit-companies span { background: #0d6efd; }
.admin-audit-summary.audit-warning span { background: #f59e0b; }
.admin-audit-summary.audit-users span { background: #16a34a; }
.admin-audit-summary.audit-danger span { background: #ef4444; }
.admin-audit-summary.audit-muted span { background: #64748b; }
.admin-audit-summary.audit-quiet span { background: #7c3aed; }

.admin-audit-filter {
  background: #fff;
  border: 1px solid #dfe7f2;
  border-radius: 10px;
  box-shadow: 0 0.35rem 1rem rgba(15, 23, 42, 0.05);
  margin-bottom: 0.85rem;
  padding: 0.95rem;
}

.admin-audit-filter .form-label {
  color: #334155;
  font-size: 0.78rem;
  font-weight: 850;
}

.backup-center-page .app-content {
  background:
    radial-gradient(circle at 92% 3%, rgba(20, 184, 166, 0.07), transparent 30rem),
    #f5f7fb;
}

.backup-center-hero {
  align-items: center;
  background: linear-gradient(135deg, #061f3d 0%, #073a63 62%, #078a96 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  box-shadow: 0 0.65rem 1.55rem rgba(6, 31, 61, 0.16);
  color: #fff;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  overflow: hidden;
  padding: 1rem;
  position: relative;
}

.backup-center-hero::after {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 60%);
  border-radius: 999px;
  content: "";
  height: 180px;
  position: absolute;
  right: -58px;
  top: -88px;
  width: 270px;
}

.backup-center-hero > * {
  position: relative;
  z-index: 1;
}

.backup-center-hero h1 {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0;
}

.backup-center-hero p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0.25rem 0 0;
}

.backup-center-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.backup-center-summary-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 0.85rem;
}

.backup-center-summary {
  background: #fff;
  border: 1px solid #dfe7f2;
  border-radius: 10px;
  box-shadow: 0 0.35rem 1rem rgba(15, 23, 42, 0.05);
  color: #0b1f44;
  display: grid;
  gap: 0.16rem;
  min-height: 112px;
  padding: 0.82rem;
}

.backup-center-summary span {
  align-items: center;
  background: #0d6efd;
  border-radius: 0.78rem;
  color: #fff;
  display: inline-flex;
  font-size: 1rem;
  height: 36px;
  justify-content: center;
  margin-bottom: 0.15rem;
  width: 36px;
}

.backup-center-summary span.success {
  background: #16a34a;
}

.backup-center-summary span.warning {
  background: #f59e0b;
}

.backup-center-summary small {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.backup-center-summary strong {
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.15;
  word-break: break-word;
}

.backup-center-summary em {
  color: #64748b;
  font-size: 0.77rem;
  font-style: normal;
  font-weight: 700;
}

.backup-restore-card {
  box-shadow: 0 0.35rem 1rem rgba(220, 53, 69, 0.08);
}

.backup-history-list {
  display: grid;
  gap: 0.65rem;
}

.backup-history-list > div {
  align-items: center;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 10px;
  display: flex;
  gap: 0.65rem;
  padding: 0.65rem;
}

.backup-history-list i {
  align-items: center;
  background: #eaf3ff;
  border-radius: 0.7rem;
  color: #0d6efd;
  display: inline-flex;
  flex: 0 0 34px;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.backup-history-list strong {
  color: #0b1f44;
  display: block;
  font-size: 0.86rem;
  line-height: 1.2;
  word-break: break-word;
}

.backup-history-list small {
  color: #64748b;
  display: block;
  font-size: 0.75rem;
  margin-top: 0.15rem;
}

.backup-safety-list li + li {
  margin-top: 0.45rem;
}

.admin-company-cell {
  align-items: center;
  display: flex;
  gap: 0.7rem;
  min-width: 220px;
}

.admin-company-cell img {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  height: 42px;
  object-fit: contain;
  padding: 0.28rem;
  width: 42px;
}

.admin-company-link {
  color: #0b1f44;
  font-weight: 850;
  text-decoration: none;
}

.admin-company-link:hover {
  color: #0d6efd;
  text-decoration: underline;
}

.admin-attention-list {
  display: grid;
  gap: 0.65rem;
}

.admin-attention-list a {
  align-items: center;
  background: #fff8ed;
  border: 1px solid rgba(249, 115, 22, 0.18);
  border-radius: 12px;
  color: #0f1f44;
  display: flex;
  gap: 0.65rem;
  padding: 0.65rem;
  text-decoration: none;
}

.admin-attention-list a:hover {
  border-color: rgba(249, 115, 22, 0.34);
  box-shadow: 0 0.4rem 1rem rgba(15, 23, 42, 0.06);
}

.admin-attention-list a > span {
  align-items: center;
  background: #ffedd5;
  border-radius: 999px;
  color: #ea580c;
  display: inline-flex;
  flex: 0 0 auto;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.admin-attention-list strong,
.admin-empty-state span {
  display: block;
  font-size: 0.88rem;
  font-weight: 850;
}

.admin-attention-list small {
  color: #9a3412;
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  margin-top: 0.1rem;
}

.admin-empty-state {
  align-items: center;
  background: #f0fdf4;
  border: 1px solid rgba(22, 163, 74, 0.2);
  border-radius: 12px;
  color: #166534;
  display: flex;
  gap: 0.6rem;
  padding: 0.75rem;
}

.admin-empty-state i {
  font-size: 1.35rem;
}

.user-admin-page .app-content {
  background:
    radial-gradient(circle at 90% 0%, rgba(20, 184, 166, 0.06), transparent 28rem),
    linear-gradient(180deg, #f8fbff 0%, #f5f7fb 100%);
}

.company-users-hero {
  align-items: center;
  background: linear-gradient(135deg, #061f3d 0%, #073a63 62%, #078a96 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  box-shadow: 0 0.65rem 1.55rem rgba(6, 31, 61, 0.16);
  color: #fff;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  overflow: hidden;
  padding: 1rem;
  position: relative;
}

.company-users-hero::after {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 60%);
  border-radius: 999px;
  content: "";
  height: 170px;
  position: absolute;
  right: -52px;
  top: -82px;
  width: 260px;
}

.company-users-hero > * {
  position: relative;
  z-index: 1;
}

.company-users-hero h1 {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0;
}

.company-users-hero p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0.25rem 0 0;
}

.company-users-hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.user-admin-summary-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.user-admin-summary {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  box-shadow: 0 0.45rem 1.2rem rgba(15, 23, 42, 0.05);
  display: grid;
  gap: 0.15rem 0.7rem;
  grid-template-columns: auto 1fr;
  min-height: 82px;
  padding: 0.85rem;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

a.user-admin-summary:hover {
  border-color: rgba(13, 110, 253, 0.28);
  color: inherit;
  transform: translateY(-1px);
}

.user-admin-summary span {
  align-items: center;
  background: #dbeafe;
  border-radius: 999px;
  color: #2563eb;
  display: inline-flex;
  grid-row: span 2;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.user-admin-summary span.success {
  background: #dcfce7;
  color: #16a34a;
}

.user-admin-summary span.danger {
  background: #fee2e2;
  color: #dc2626;
}

.user-admin-summary span.warning {
  background: #fef3c7;
  color: #d97706;
}

.user-admin-summary small {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 800;
}

.user-admin-summary strong {
  color: #0f1f44;
  font-size: 1.45rem;
  line-height: 1;
}

.user-admin-filter-panel {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  box-shadow: 0 0.35rem 1rem rgba(15, 23, 42, 0.045);
  margin-bottom: 1rem;
  padding: 1rem;
}

.company-users-page .user-admin-filter-panel {
  border-radius: 10px;
}

.user-admin-filter-panel .form-label {
  color: #334155;
  font-size: 0.78rem;
  font-weight: 850;
}

.user-admin-person,
.user-reset-profile {
  align-items: center;
  display: flex;
  gap: 0.7rem;
}

.user-admin-person > span,
.user-reset-profile > span {
  align-items: center;
  background: linear-gradient(135deg, #2563eb, #14b8a6);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 850;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.user-admin-person strong,
.user-reset-profile strong {
  color: #0f1f44;
  display: block;
  line-height: 1.2;
}

.user-admin-person small,
.user-reset-profile small {
  color: #64748b;
  display: block;
  font-size: 0.78rem;
  margin-top: 0.1rem;
}

.user-admin-table tbody td {
  height: 62px;
}

.user-reset-profile {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  margin-bottom: 1rem;
  padding: 0.85rem;
}

.admin-note-list div,
.admin-activity-item {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 12px;
  padding: 10px;
}

.admin-note-list i,
.admin-activity-item > span {
  background: #eaf3ff;
  color: #0d6efd;
}

.admin-chart-box canvas {
  max-height: 100%;
}

.company-profile-stat {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  padding: 0.9rem 1rem;
}

.company-profile-stat span {
  color: #0d6efd;
  display: block;
  font-size: 1.6rem;
  font-weight: 850;
  line-height: 1;
}

.company-profile-stat small {
  color: #64748b;
  display: block;
  font-weight: 700;
  margin-top: 0.25rem;
}

.company-profile-details {
  display: grid;
  gap: 0.45rem;
  margin: 0;
}

.company-profile-details dt {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.company-profile-details dd {
  color: #0f1f44;
  margin: 0 0 0.45rem;
}

.company-logo-form-preview {
  align-items: center;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  display: inline-flex;
  height: 56px;
  justify-content: center;
  padding: 0.35rem;
  width: 72px;
}

.company-logo-form-preview img {
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.company-profile-logo {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.08);
  object-fit: contain;
  padding: 0.55rem;
}

.company-admin-profile-page .app-content {
  background:
    radial-gradient(circle at 92% 3%, rgba(20, 184, 166, 0.07), transparent 30rem),
    #f5f7fb;
}

.company-admin-hero {
  align-items: center;
  background: linear-gradient(135deg, #061f3d 0%, #073a63 62%, #078a96 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  box-shadow: 0 0.65rem 1.55rem rgba(6, 31, 61, 0.16);
  color: #fff;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  overflow: hidden;
  padding: 1rem;
  position: relative;
}

.company-admin-hero::after {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 60%);
  border-radius: 999px;
  content: "";
  height: 190px;
  position: absolute;
  right: -58px;
  top: -92px;
  width: 280px;
}

.company-admin-hero > * {
  position: relative;
  z-index: 1;
}

.company-admin-hero-main {
  align-items: center;
  display: flex;
  gap: 0.9rem;
  min-width: 0;
}

.company-admin-logo {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 0.95rem;
  display: inline-flex;
  flex: 0 0 78px;
  height: 78px;
  justify-content: center;
  padding: 0.55rem;
  width: 78px;
}

.company-admin-logo img {
  display: block;
  height: auto;
  max-height: 62px;
  max-width: 62px;
  object-fit: contain;
  width: auto;
}

.company-admin-kicker {
  color: #63f4e8;
  display: block;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0;
  margin-bottom: 0.12rem;
  text-transform: uppercase;
}

.company-admin-hero h1 {
  color: #fff;
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.15;
  margin: 0;
}

.company-admin-hero p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0.25rem 0 0;
}

.company-admin-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.55rem;
}

.company-admin-contact span {
  align-items: center;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 750;
  gap: 0.35rem;
  min-height: 30px;
  padding: 0.24rem 0.6rem;
}

.company-admin-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.company-admin-summary-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 0.85rem;
}

.company-admin-summary {
  background: #fff;
  border: 1px solid #dfe7f2;
  border-radius: 10px;
  box-shadow: 0 0.35rem 1rem rgba(15, 23, 42, 0.05);
  color: #0b1f44;
  display: grid;
  gap: 0.18rem;
  min-height: 122px;
  padding: 0.82rem;
  text-decoration: none;
}

a.company-admin-summary:hover {
  border-color: rgba(13, 110, 253, 0.28);
  color: #0b1f44;
  text-decoration: none;
  transform: translateY(-1px);
}

.company-admin-summary,
.company-admin-summary:hover,
.company-admin-summary:focus,
.company-admin-summary:active,
.company-admin-summary *,
.company-admin-summary:hover *,
.company-admin-summary:focus *,
.company-admin-summary:active * {
  text-decoration: none !important;
}

.company-admin-summary span {
  align-items: center;
  border-radius: 0.78rem;
  color: #fff;
  display: inline-flex;
  font-size: 1rem;
  height: 36px;
  justify-content: center;
  margin-bottom: 0.15rem;
  width: 36px;
}

.company-admin-summary small {
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 850;
  text-transform: uppercase;
}

.company-admin-summary strong {
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
}

.company-admin-summary em {
  color: #64748b;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 700;
}

.summary-users span { background: #0d6efd; }
.summary-inactive span { background: #64748b; }
.summary-books span { background: #0ea5a7; }
.summary-renewals span { background: #f59e0b; }
.summary-activity span { background: #7c3aed; }

.company-admin-panel {
  background: #fff;
  border: 1px solid #dfe7f2;
  border-radius: 10px;
  box-shadow: 0 0.35rem 1rem rgba(15, 23, 42, 0.05);
  height: 100%;
  padding: 0.9rem;
}

.company-admin-panel-header {
  align-items: center;
  border-bottom: 1px solid #edf1f6;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: -0.9rem -0.9rem 0.85rem;
  padding: 0.85rem 0.9rem;
}

.company-admin-panel-header h2 {
  color: #0b1f44;
  font-size: 1rem;
  font-weight: 900;
  margin: 0;
}

.company-admin-panel-header p {
  color: #64748b;
  font-size: 0.82rem;
  margin: 0.12rem 0 0;
}

.company-admin-details {
  display: grid;
  gap: 0.5rem;
  margin: 0;
}

.company-admin-details dt {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.company-admin-details dd {
  color: #0b1f44;
  font-weight: 750;
  margin: 0 0 0.35rem;
}

.company-admin-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.company-status-control {
  background: #f8fafc;
  border: 1px solid #dfe7f2;
  border-radius: 10px;
  margin-top: 0.85rem;
  padding: 0.8rem;
}

.company-status-control .form-label {
  color: #0b1f44;
  font-size: 0.78rem;
  font-weight: 850;
}

.company-status-control .form-text {
  color: #64748b;
  font-size: 0.76rem;
}

.company-admin-table thead th {
  background: #eef3f8;
  color: #0b1f44;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.company-admin-table tbody td {
  color: #1f2937;
  font-size: 0.86rem;
  vertical-align: middle;
}

.company-admin-table td strong {
  color: #0b1f44;
  display: block;
}

.company-admin-table td small {
  color: #64748b;
  display: block;
  margin-top: 0.1rem;
}

.data-panel-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 0.25rem 0.75rem rgba(15, 23, 42, 0.04);
}

.data-panel-card > .card-header {
  background: #fff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  padding-bottom: 0.85rem;
  padding-top: 0.85rem;
}

.data-panel-card > .card-body {
  padding: 1rem;
}

.data-panel-card table.dataTable,
.data-panel-card .table {
  border-color: rgba(15, 23, 42, 0.08);
}

.data-panel-card .table thead th {
  background: var(--bs-tertiary-bg);
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
  color: #334155;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.data-panel-card .table tbody td {
  border-color: rgba(15, 23, 42, 0.07);
  line-height: 1.35;
  padding-bottom: 0.72rem;
  padding-top: 0.72rem;
  vertical-align: middle;
}

.data-panel-card .table.table-striped > tbody > tr > * {
  --bs-table-bg-type: var(--bs-table-striped-bg);
  box-shadow: inset 0 0 0 9999px var(--bs-table-bg-state, var(--bs-table-bg-type, var(--bs-table-accent-bg)));
}

.data-panel-card .table.table-striped > tbody > tr:nth-of-type(even) > * {
  --bs-table-bg-type: transparent;
}

.data-panel-card .table td.table-actions {
  width: 1%;
}

.data-panel-card .dt-container .dt-layout-row {
  align-items: center;
  margin: 0 0 0.75rem;
}

.data-panel-card .dt-container .dt-layout-row:last-child {
  margin: 0.75rem 0 0;
}

.data-panel-card .dt-search input,
.data-panel-card .dt-length select {
  border-color: rgba(15, 23, 42, 0.14);
  border-radius: 0.375rem;
}

.sidebar-brand {
  min-height: 72px;
  padding: 0.75rem 0.85rem;
}

.brand-link {
  align-items: center;
  display: flex;
  gap: 0.65rem;
  min-width: 0;
  width: 100%;
}

.diiwaan-sidebar {
  background: linear-gradient(180deg, #061f3d 0%, #032544 46%, #04172d 100%) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-brand {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.sidebar-wrapper {
  padding-left: 0.45rem;
  padding-right: 0.45rem;
}

.sidebar-menu .nav-link {
  border-radius: 0.45rem;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.sidebar-menu .nav-link .nav-icon,
.sidebar-menu .nav-link .nav-arrow {
  color: rgba(255, 255, 255, 0.86);
}

.sidebar-menu .nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.sidebar-menu .nav-link:hover .nav-icon,
.sidebar-menu .nav-link:hover .nav-arrow {
  color: #fff;
}

.sidebar-menu .nav-link.active {
  background: linear-gradient(135deg, #13b6ad, #078a96);
  box-shadow: 0 0.45rem 1rem rgba(19, 182, 173, 0.22);
  color: #fff;
}

.sidebar-menu .nav-link.active .nav-icon,
.sidebar-menu .nav-link.active .nav-arrow {
  color: #fff;
}

.sidebar-menu .nav-treeview {
  padding-left: 0.25rem;
}

.sidebar-menu .nav-treeview .nav-link {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
  font-weight: 650;
}

.sidebar-menu .nav-treeview .nav-link.active {
  background: rgba(19, 182, 173, 0.2);
  box-shadow: none;
  color: #fff;
}

.brand-link .system-brand-icon {
  display: block;
  height: auto !important;
  max-height: 46px;
  max-width: 46px;
  object-fit: contain;
  width: 46px !important;
}

.system-brand-copy {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}

.system-brand-name {
  color: #fff;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.system-brand-version {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0;
  margin-top: 0.15rem;
}

.login-brand {
  margin-bottom: 1.15rem;
  text-align: center;
}

.login-brand img {
  display: block;
  height: auto;
  margin: 0 auto 0.45rem;
  max-width: 320px;
  width: 100%;
}

.login-brand-version {
  color: var(--bs-secondary-color);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0;
}

.footer-system-name {
  color: var(--bs-secondary-color);
  font-size: 0.82rem;
  font-weight: 600;
}

.footer-system-name span {
  color: var(--bs-tertiary-color);
  font-weight: 700;
  margin-left: 0.35rem;
}

.login-box {
  max-width: 420px;
  width: min(420px, calc(100% - 2rem));
}

.login-box .card {
  border: 0;
  border-radius: 0.75rem;
  box-shadow: 0 1rem 2.5rem rgba(15, 23, 42, 0.12);
}

.login-card-body {
  border-radius: 0.75rem;
  padding: 1.75rem;
}

.company-logo-preview {
  background: #fff;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.375rem;
  height: 140px;
  object-fit: contain;
  padding: 0.75rem;
  width: 180px;
}

.report-header {
  align-items: center;
  background: #fff;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.5rem;
  display: none;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding: 1rem;
}

.report-logo {
  height: 64px;
  object-fit: contain;
  width: 64px;
}

.report-table th,
.report-table td {
  border: 1px solid var(--bs-border-color);
}

.report-no-col {
  text-align: center;
  width: 54px;
}

.report-owner-col {
  min-width: 220px;
}

.report-page .app-content {
  background:
    linear-gradient(180deg, #f8fbff 0%, #f6f8fb 45%, #f7f9fc 100%);
}

.report-page .container-fluid {
  max-width: 1560px;
}

.report-page .app-content-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 0.12rem 0.45rem rgba(15, 23, 42, 0.025);
  padding: 0.7rem 0;
}

.report-page .app-content-header h3 {
  color: #0f172a;
  font-size: 1.12rem;
  font-weight: 600;
}

.report-page .breadcrumb {
  font-size: 0.82rem;
  margin-bottom: 0;
}

.report-page .breadcrumb a {
  color: #0d6efd;
  text-decoration: none;
}

.report-workspace-header {
  align-items: flex-end;
  background:
    linear-gradient(135deg, rgba(13, 110, 253, 0.055), rgba(20, 184, 166, 0.04)),
    #ffffff;
  border: 1px solid #dbe5f2;
  border-radius: 12px;
  box-shadow: 0 0.25rem 0.85rem rgba(15, 23, 42, 0.04);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  padding: 0.95rem 1.05rem;
}

.report-workspace-header h1 {
  color: #0f172a;
  font-size: 1.24rem;
  font-weight: 600;
  letter-spacing: 0;
  margin: 0;
}

.report-center-hero {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(13, 110, 253, 0.075), rgba(20, 184, 166, 0.055)),
    #ffffff;
  border: 1px solid #dbe5f2;
  border-radius: 12px;
  box-shadow: 0 0.35rem 1rem rgba(15, 23, 42, 0.045);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
  min-height: 88px;
  overflow: hidden;
  padding: 1rem 1.1rem;
  position: relative;
}

.report-center-hero::after {
  display: none;
}

.report-center-hero > * {
  position: relative;
  z-index: 1;
}

.report-center-hero h1 {
  color: #0f172a;
  font-size: 1.16rem;
  font-weight: 600;
  margin: 0;
}

.report-center-hero p {
  color: #64748b;
  font-size: 0.9rem;
  margin: 0.25rem 0 0;
}

.report-overview-title {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0.95rem 0 0.6rem;
}

.report-overview-title h2 {
  color: #0f172a;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.report-overview-title span {
  color: var(--bs-secondary-color);
  font-size: 0.82rem;
  font-weight: 400;
}

.report-workspace-header p {
  color: #64748b;
  font-size: 0.88rem;
  margin: 0.25rem 0 0;
}

.report-kicker {
  color: #0d6efd;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

.report-actions .badge {
  font-weight: 500;
  min-height: 30px;
  padding: 0.48rem 0.68rem;
}

.report-filter-panel {
  background: #fff;
  border: 1px solid var(--bs-border-color);
  border-radius: 0;
  margin-bottom: 1rem;
}

.report-filter-section {
  padding: 0.9rem;
}

.report-filter-title {
  align-items: center;
  color: #111827;
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 800;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.report-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.report-category-tab {
  align-items: center;
  background: #fff;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.45rem;
  color: #344054;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 700;
  min-height: 34px;
  padding: 0.35rem 0.65rem;
  text-decoration: none;
}

.report-category-tab:hover,
.report-category-tab.active {
  background: #111827;
  border-color: #111827;
  color: #fff;
}

.report-summary-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.report-summary-item {
  background: #fff;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.5rem;
  padding: 0.85rem;
}

.report-summary-item span {
  color: var(--bs-secondary-color);
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.report-summary-item strong {
  color: #111827;
  display: block;
  font-size: 1.55rem;
  line-height: 1.1;
  margin-top: 0.2rem;
}

.report-summary-item .report-summary-text {
  font-size: 1rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.report-premium-metrics {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  margin-bottom: 1.1rem;
}

.report-premium-metric {
  align-items: center;
  background: #fff;
  border: 1px solid #dbe3ec;
  border-radius: 10px;
  box-shadow: 0 0.24rem 0.75rem rgba(15, 23, 42, 0.04);
  color: #0f172a;
  display: grid;
  gap: 0.35rem 0.75rem;
  grid-template-columns: auto 1fr;
  min-height: 72px;
  overflow: hidden;
  padding: 0.72rem;
  position: relative;
  text-decoration: none !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.report-premium-metric::after {
  display: none;
}

.report-premium-metric:hover {
  border-color: #c9d7e8;
  box-shadow: 0 0.42rem 1rem rgba(15, 23, 42, 0.06);
  color: #0f172a;
  transform: translateY(-1px);
  text-decoration: none !important;
}

.report-premium-metric,
.report-premium-metric:hover,
.report-premium-metric:focus,
.report-premium-metric:active,
.report-premium-metric *,
.report-premium-metric:hover *,
.report-premium-metric:focus *,
.report-premium-metric:active * {
  text-decoration: none !important;
}

.report-premium-icon {
  align-items: center;
  border-radius: 50%;
  display: inline-flex;
  font-size: 1.05rem;
  grid-row: span 2;
  height: 42px;
  justify-content: center;
  width: 42px;
  z-index: 1;
}

.report-premium-label {
  align-self: end;
  color: #334155;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0;
  opacity: 0.88;
  text-transform: uppercase;
  z-index: 1;
}

.report-premium-metric strong {
  align-self: start;
  color: #0f172a;
  font-size: 1.42rem;
  font-weight: 600;
  line-height: 1;
  z-index: 1;
}

.metric-total {
  border-top: 3px solid #0f172a;
}

.metric-total .report-premium-icon {
  background: #e8eef6;
  color: #0f172a;
}

.metric-active {
  border-top: 3px solid #0f766e;
}

.metric-active .report-premium-icon {
  background: #d9fbf5;
  color: #0f766e;
}

.metric-renewed {
  border-top: 3px solid #15803d;
}

.metric-renewed .report-premium-icon {
  background: #dcfce7;
  color: #15803d;
}

.metric-abandoned {
  border-top: 3px solid #f97316;
}

.metric-abandoned .report-premium-icon {
  background: #ffedd5;
  color: #ea580c;
}

.metric-transferred {
  border-top: 3px solid #2563eb;
}

.metric-transferred .report-premium-icon {
  background: #dbeafe;
  color: #1d4ed8;
}

.metric-reprinted {
  border-top: 3px solid #7c3aed;
}

.metric-reprinted .report-premium-icon {
  background: #ede9fe;
  color: #7c3aed;
}

.report-finder {
  align-items: center;
  background: #ffffff;
  border: 1px solid #dbe5f2;
  border-radius: 12px;
  box-shadow: 0 0.25rem 0.85rem rgba(15, 23, 42, 0.04);
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  margin-bottom: 1rem;
  padding: 0.75rem;
}

.report-finder-search {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  display: flex;
  gap: 0.55rem;
  min-height: 38px;
  padding: 0.42rem 0.65rem;
}

.report-finder-search i {
  color: #64748b;
}

.report-finder-search input {
  background: transparent;
  border: 0;
  color: #0f172a;
  font-size: 0.92rem;
  outline: 0;
  width: 100%;
}

.report-finder-tabs {
  background: #f8fafc;
  border: 1px solid #e3ebf5;
  border-radius: 9px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  justify-content: flex-end;
  padding: 0.28rem;
}

.report-finder-tabs button {
  background: transparent;
  border: 0;
  border-radius: 7px;
  color: #344054;
  font-size: 0.78rem;
  font-weight: 500;
  min-height: 31px;
  padding: 0.3rem 0.62rem;
}

.report-finder-tabs button.active,
.report-finder-tabs button:hover {
  background: #ffffff;
  color: #0d6efd;
  box-shadow: 0 0.15rem 0.5rem rgba(15, 23, 42, 0.055);
}

.report-finder-empty {
  background: #fff;
  border-radius: 10px;
  border: 1px dashed #cbd5e1;
  color: var(--bs-secondary-color);
  font-weight: 400;
  margin-bottom: 1rem;
  padding: 1rem;
  text-align: center;
}

.report-visible-filters {
  align-items: end;
  background: #ffffff;
  border: 1px solid #dbe5f2;
  border-radius: 12px;
  box-shadow: 0 0.2rem 0.7rem rgba(15, 23, 42, 0.035);
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(160px, 0.8fr) minmax(0, 2.2fr);
  margin-bottom: 1rem;
  padding: 0.8rem;
}

.report-priority-filters {
  align-items: start;
  box-shadow: 0 0.3rem 0.95rem rgba(15, 23, 42, 0.045);
  grid-template-columns: 1fr;
}

.report-visible-filter-title {
  align-items: center;
  color: #0f766e;
  display: flex;
  font-size: 0.86rem;
  font-weight: 800;
  gap: 0.45rem;
  text-transform: uppercase;
}

.report-priority-filters .report-visible-filter-title {
  align-items: flex-start;
  color: #0f172a;
  padding-top: 0.1rem;
}

.report-priority-filters .report-visible-filter-title i {
  align-items: center;
  background: #e8f1ff;
  border-radius: 50%;
  color: #0066d9;
  display: inline-flex;
  flex: 0 0 34px;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.report-priority-filters .report-visible-filter-title span {
  display: block;
  line-height: 1.15;
}

.report-priority-filters .report-visible-filter-title small {
  color: #667085;
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.35;
  margin-top: 0.22rem;
  text-transform: none;
}

.report-visible-filter-fields {
  align-items: end;
  display: grid;
  gap: 0.65rem;
  grid-template-columns: minmax(180px, 1fr) minmax(150px, 0.75fr) auto;
}

.report-priority-filters .report-visible-filter-fields {
  grid-template-columns: minmax(170px, 1.35fr) minmax(150px, 1fr) minmax(120px, 0.75fr) minmax(140px, 1fr) minmax(130px, 0.9fr) repeat(2, minmax(125px, 0.75fr)) auto;
}

.report-visible-filter-fields .form-label {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.report-visible-filters .form-control,
.report-visible-filters .form-select {
  border-color: #d8e2ef;
  border-radius: 7px;
  min-height: 34px;
}

.report-visible-filter-actions {
  display: flex;
  gap: 0.45rem;
}

.report-summary-strip {
  background: #ffffff;
  border: 1px solid #dbe5f2;
  border-radius: 12px;
  box-shadow: 0 0.18rem 0.65rem rgba(15, 23, 42, 0.03);
  color: #344054;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  margin-bottom: 1rem;
  padding: 0.65rem 0.85rem;
}

.report-summary-strip span {
  align-items: center;
  border-right: 1px solid #e2e8f0;
  display: inline-flex;
  font-size: 0.88rem;
  gap: 0.25rem;
  line-height: 1.45;
  padding-right: 1.15rem;
}

.report-summary-strip span:last-child {
  border-right: 0;
  padding-right: 0;
}

.report-summary-strip strong {
  color: #111827;
  font-weight: 600;
}

.report-table-section {
  background: #fff;
  border: 1px solid #dbe5f2;
  border-radius: 12px;
  box-shadow: 0 0.25rem 0.85rem rgba(15, 23, 42, 0.04);
  margin-bottom: 1rem;
  overflow: hidden;
}

.report-table-heading {
  align-items: center;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.78rem 0.95rem;
}

.report-table-heading h3 {
  color: #0f172a;
  font-size: 0.96rem;
  font-weight: 600;
  margin: 0;
}

.report-table-section .table-responsive {
  padding: 0;
}

.report-table-section .table {
  margin-bottom: 0;
}

.report-table thead th,
.report-directory-table thead th {
  background: #f1f5f9;
  border-bottom-color: #d8e2ef;
  color: #0f172a;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.report-table tbody td,
.report-directory-table tbody td {
  color: #1f2937;
  font-size: 0.86rem;
  padding-bottom: 0.55rem;
  padding-top: 0.55rem;
}

.report-table tbody tr:hover,
.report-directory-table tbody tr:hover {
  --bs-table-hover-bg: #f8fafc;
}

.report-directory-section {
  background: transparent;
  margin-bottom: 1.45rem;
}

.report-directory-table {
  background: #fff;
  border-top: 3px solid #0f172a;
  box-shadow: 0 0.35rem 1rem rgba(15, 23, 42, 0.035);
  margin-bottom: 0;
}

.report-directory-table td {
  vertical-align: middle;
}

.report-row-list {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.report-directory-row {
  align-items: center;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border-radius: 10px;
  border: 1px solid #dbe5f2;
  box-shadow: 0 0.2rem 0.65rem rgba(15, 23, 42, 0.035);
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 70px;
  padding: 0.65rem 0.75rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.report-directory-row:hover {
  border-color: #b7cbe2;
  box-shadow: 0 0.45rem 1.05rem rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
}

.report-name-cell {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  min-width: 0;
}

.report-row-title {
  color: #0f172a;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
}

.report-row-purpose {
  color: #64748b;
  font-size: 0.8rem;
  line-height: 1.3;
  margin-top: 0.15rem;
}

.report-row-icon {
  align-items: center;
  border-radius: 10px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 38px;
  font-size: 1rem;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.report-row-total {
  background: #0f172a;
}

.report-row-active {
  background: #0f766e;
}

.report-row-renewed {
  background: #15803d;
}

.report-row-abandoned {
  background: #b45309;
}

.report-row-transferred {
  background: #1d4ed8;
}

.report-row-reprinted {
  background: #7c3aed;
}

.report-use-badge {
  background: #eef3f8;
  color: #334155;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.24rem 0.5rem;
  text-transform: uppercase;
}

.report-directory-actions {
  align-items: center;
  display: inline-flex;
  gap: 0.35rem;
  white-space: nowrap;
}

.report-directory-actions .btn {
  border-radius: 7px;
  font-weight: 500;
  min-width: 66px;
}

.report-directory-actions .btn + .btn {
  margin-left: 0;
}

a.report-summary-item {
  transition: border-color 0.15s ease, transform 0.15s ease;
}

a.report-summary-item:hover {
  border-color: #9aa4b2;
  transform: translateY(-1px);
}

.report-chart-panel {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid #dbe5f2;
  border-radius: 12px;
  box-shadow: 0 0.25rem 0.9rem rgba(15, 23, 42, 0.04);
  height: 100%;
  padding: 0.85rem;
}

.report-chart-heading {
  align-items: baseline;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.report-chart-heading h2 {
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
}

.report-chart-heading span {
  color: var(--bs-secondary-color);
  font-size: 0.8rem;
}

.report-chart-box {
  height: 240px;
  position: relative;
}

.report-result-card > .card-header {
  align-items: center;
  background: #fff;
  display: flex;
  justify-content: space-between;
}

.report-page .card {
  border: 1px solid #dbe5f2;
  border-radius: 12px;
  box-shadow: 0 0.25rem 0.85rem rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.report-page .card-header {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid #e2e8f0;
  min-height: 52px;
  padding: 0.78rem 0.95rem;
}

.report-page .card-title {
  color: #0f172a;
  font-size: 0.96rem;
  font-weight: 600;
}

.report-page .card-body {
  padding: 0.95rem;
}

.report-page .table-actions .btn,
.report-page .report-actions .btn,
.report-page .report-visible-filter-actions .btn {
  border-radius: 7px;
  font-weight: 500;
}

.report-page .dataTables_wrapper .dataTables_length,
.report-page .dataTables_wrapper .dataTables_filter,
.report-page .dataTables_wrapper .dataTables_info,
.report-page .dataTables_wrapper .dataTables_paginate {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 400;
}

.report-page .dataTables_wrapper .dataTables_filter input,
.report-page .dataTables_wrapper .dataTables_length select {
  border: 1px solid #d8e2ef;
  border-radius: 7px;
  min-height: 34px;
}

.report-section-title {
  align-items: baseline;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  margin: 1rem 0 0.65rem;
  padding-bottom: 0.45rem;
}

.report-section-title h2 {
  color: #0f172a;
  font-size: 0.98rem;
  font-weight: 600;
  margin: 0;
}

.report-section-title span {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 400;
}

.report-card-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.report-tile {
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.5rem;
  display: flex;
  gap: 0.85rem;
  min-height: 154px;
  padding: 0.95rem;
}

.report-tile-icon {
  align-items: center;
  background: #f8fafc;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.5rem;
  display: inline-flex;
  flex: 0 0 44px;
  font-size: 1.35rem;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.report-tile-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.report-tile h3 {
  color: #111827;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 0.35rem;
}

.report-tile p {
  color: var(--bs-secondary-color);
  font-size: 0.9rem;
  line-height: 1.35;
  margin: 0 0 0.85rem;
}

.report-tile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
}

.settings-card-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.settings-card {
  align-items: center;
  background: #fff;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.5rem;
  color: var(--bs-body-color);
  display: flex;
  gap: 0.85rem;
  min-height: 112px;
  padding: 1rem;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.settings-card:hover {
  border-color: #9aa4b2;
  color: var(--bs-body-color);
  transform: translateY(-1px);
}

.settings-card-icon {
  align-items: center;
  background: #f8fafc;
  border: 1px solid var(--bs-border-color);
  border-radius: 0.5rem;
  display: inline-flex;
  flex: 0 0 48px;
  font-size: 1.45rem;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.settings-card-body {
  display: grid;
  flex: 1;
  gap: 0.25rem;
  min-width: 0;
}

.settings-card-title {
  color: #111827;
  font-weight: 800;
  line-height: 1.2;
}

.settings-card-description {
  color: var(--bs-secondary-color);
  font-size: 0.9rem;
  line-height: 1.35;
}

.settings-card-arrow {
  color: var(--bs-secondary-color);
  flex: 0 0 auto;
}

.settings-dashboard-page .app-content {
  background: #f6f8fb;
}

.settings-dashboard-tabs {
  align-items: center;
  border-bottom: 1px solid #dbe3ec;
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  overflow-x: auto;
  padding: 0 0 0.2rem;
  white-space: nowrap;
}

.settings-dashboard-tabs button {
  align-items: center;
  background: transparent;
  border-bottom: 3px solid transparent;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  color: #14213d;
  display: inline-flex;
  font-weight: 800;
  gap: 0.45rem;
  padding: 0.75rem 0.65rem;
  text-decoration: none;
}

.settings-dashboard-tabs button:hover,
.settings-dashboard-tabs button.active {
  border-bottom-color: #0066d9;
  color: #0066d9;
}

.settings-tab-content {
  min-height: 360px;
}

.settings-dashboard-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: minmax(0, 1fr) clamp(250px, 22vw, 310px);
}

.settings-panel {
  background: #fff;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  box-shadow: 0 0.4rem 1.15rem rgba(15, 23, 42, 0.045);
  overflow: hidden;
}

.settings-panel-header {
  align-items: center;
  border-bottom: 1px solid #dbe3ec;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.85rem 1rem;
}

.settings-panel-header.compact {
  padding: 0.7rem 0.85rem;
}

.settings-panel-header h2 {
  color: #0b1f44;
  font-size: 1rem;
  font-weight: 800;
  margin: 0;
}

.settings-panel-header p {
  color: #52627a;
  font-size: 0.82rem;
  margin: 0.15rem 0 0;
}

.settings-general-panel {
  min-height: 290px;
}

.settings-info-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 1rem;
}

.settings-info-grid div {
  background: #f8fafc;
  border: 1px solid #e3eaf3;
  border-radius: 7px;
  min-height: 66px;
  padding: 0.65rem 0.75rem;
}

.settings-info-grid span,
.settings-company-details dt {
  color: #52627a;
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.settings-info-grid strong,
.settings-company-details dd {
  color: #0f172a;
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0.22rem 0 0;
}

.settings-company-panel {
  min-height: 290px;
}

.settings-company-body {
  display: grid;
  gap: 1rem;
  grid-template-columns: 180px minmax(0, 1fr);
  padding: 1rem;
}

.settings-company-logo {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.settings-company-logo img {
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  display: block;
  height: 112px;
  object-fit: contain;
  padding: 0.75rem;
  width: 132px;
}

.settings-company-details {
  display: grid;
  gap: 0.55rem 1rem;
  grid-template-columns: minmax(110px, 0.38fr) minmax(0, 1fr);
  margin: 0;
}

.settings-company-details dt,
.settings-company-details dd {
  border-bottom: 1px solid #eef2f7;
  padding-bottom: 0.45rem;
}

.settings-users-panel {
  grid-column: 1 / 2;
}

.settings-users-table {
  margin-bottom: 0;
  min-width: 760px;
}

.settings-users-table thead th {
  background: #eef3f8;
  color: #0b1f44;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.settings-users-table tbody td {
  color: #1f2937;
  font-size: 0.88rem;
}

.settings-panel-footer {
  align-items: center;
  border-top: 1px solid #dbe3ec;
  color: #52627a;
  display: flex;
  font-size: 0.85rem;
  justify-content: space-between;
  padding: 0.75rem 1rem;
}

.settings-inline-form {
  border-bottom: 1px solid #dbe3ec;
  padding: 0.95rem 1rem;
}

.settings-inline-form .form-label {
  color: #334155;
  font-size: 0.84rem;
  font-weight: 700;
}

.settings-format-field .form-label {
  color: #25324b;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 0.42rem;
}

.settings-format-field .form-select {
  background-color: #fff;
  border: 1px solid #d8e1ec;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.025);
  color: #1f2937;
  font-size: 0.84rem;
  min-height: 42px;
  padding-bottom: 0.52rem;
  padding-top: 0.52rem;
}

.settings-format-field .form-select:focus {
  border-color: #7aa7e8;
  box-shadow: 0 0 0 0.2rem rgba(0, 102, 217, 0.12);
}

.settings-system-logo-box {
  background: #f8fafc;
  border: 1px solid #e3eaf3;
  border-radius: 8px;
  display: grid;
  gap: 0.6rem;
  padding: 0.85rem;
}

.settings-system-logo-box span {
  color: #52627a;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.settings-system-logo-box img {
  background: transparent;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  display: block;
  height: auto;
  max-height: 76px;
  max-width: 100%;
  object-fit: contain;
  padding: 0.55rem;
  width: 100%;
}

.settings-system-logo-box small {
  color: #64748b;
  font-size: 0.78rem;
}

.settings-maintenance-row {
  align-items: center;
  background: #fff8f8;
  border: 1px solid rgba(220, 53, 69, 0.18);
  border-radius: 8px;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.75rem 0.85rem;
}

.settings-maintenance-row strong {
  color: #991b1b;
  display: block;
  font-size: 0.9rem;
}

.settings-maintenance-row span {
  color: #64748b;
  display: block;
  font-size: 0.82rem;
  margin-top: 0.1rem;
}

.settings-backup-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  padding: 1rem;
}

.settings-backup-card {
  background: #f8fafc;
  border: 1px solid #e3eaf3;
  border-radius: 8px;
  padding: 1rem;
}

.settings-backup-card h3 {
  color: #0b1f44;
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
}

.settings-backup-card p {
  color: #52627a;
  font-size: 0.9rem;
}

.settings-restore-card {
  background: #fff8f8;
  border-color: rgba(220, 53, 69, 0.24);
}

.settings-side-stack {
  display: grid;
  gap: 0.85rem;
  grid-column: 2 / 3;
  grid-row: 1 / span 2;
}

.settings-health-list {
  display: grid;
  padding: 0.35rem 0.85rem 0.55rem;
}

.settings-health-list div {
  align-items: center;
  border-bottom: 1px solid #eef2f7;
  display: flex;
  gap: 0.55rem;
  justify-content: space-between;
  min-height: 29px;
}

.settings-health-list div:last-child {
  border-bottom: 0;
}

.settings-health-list span {
  align-items: center;
  color: #344054;
  display: inline-flex;
  font-size: 0.8rem;
  gap: 0.5rem;
}

.settings-health-list i {
  color: #0066d9;
}

.settings-health-list strong {
  background: #eef3f8;
  border-radius: 999px;
  color: #0f172a;
  font-size: 0.72rem;
  max-width: 145px;
  overflow: hidden;
  padding: 0.16rem 0.45rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.work-queue-page .app-content {
  background: #f6f8fb;
}

.work-queue-hero {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 249, 255, 0.96) 100%),
    radial-gradient(circle at top right, rgba(0, 178, 169, 0.16), transparent 34%);
  border: 1px solid #d6e6f5;
  border-radius: 8px;
  box-shadow: 0 0.55rem 1.35rem rgba(15, 23, 42, 0.055);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
  overflow: hidden;
  padding: 1rem 1.1rem;
  position: relative;
}

.work-queue-hero::before {
  background: linear-gradient(180deg, #0066d9, #00a99d);
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  top: 0;
  width: 4px;
}

.work-queue-hero h1 {
  color: #0b1f44;
  font-size: 1.18rem;
  font-weight: 800;
  margin: 0.15rem 0 0.25rem;
}

.work-queue-hero p {
  color: #52627a;
  font-size: 0.92rem;
  margin: 0;
}

.work-queue-tabs {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 1rem;
  padding: 0;
}

.work-queue-tabs button {
  align-content: center;
  align-items: center;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  border: 1px solid #dbe3ec;
  border-left: 0;
  border-radius: 8px;
  box-shadow: 0 0.38rem 1rem rgba(15, 23, 42, 0.052);
  color: #0f172a;
  display: grid;
  font-size: 0.84rem;
  font-weight: 800;
  gap: 0.12rem 0.68rem;
  grid-template-columns: 38px minmax(0, 1fr);
  grid-template-rows: auto auto;
  min-height: 74px;
  padding: 0.75rem 0.8rem;
  position: relative;
  text-align: left;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease, background-color 0.15s ease;
  width: 100%;
}

.work-queue-tabs button::after {
  border-radius: 999px;
  bottom: 0.55rem;
  content: "";
  left: 0.8rem;
  position: absolute;
  top: 0.55rem;
  width: 3px;
}

.work-queue-tabs button:hover,
.work-queue-tabs button.active {
  background: #fff;
  border-color: #b8c7d8;
  color: #0f172a;
  transform: translateY(-1px);
}

.work-queue-tabs button.active {
  background: linear-gradient(135deg, #ffffff, #f3f9ff);
  border-color: #7aaedc;
  box-shadow: 0 0.65rem 1.25rem rgba(0, 102, 217, 0.13);
}

.work-queue-tabs button strong {
  align-items: center;
  background: transparent;
  border-radius: 0;
  display: inline-flex;
  font-size: 1.28rem;
  font-weight: 900;
  grid-column: 2;
  justify-content: flex-start;
  letter-spacing: 0;
  line-height: 1;
  min-width: 0;
  padding: 0;
}

.work-queue-tabs button.active strong {
  background: transparent;
}

.work-queue-tabs button i {
  align-items: center;
  background: #f1f5f9;
  border-radius: 50%;
  display: inline-flex;
  font-size: 1.05rem;
  grid-row: 1 / span 2;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.work-queue-tabs button span {
  color: #52627a;
  font-size: 0.76rem;
  line-height: 1.15;
  min-width: 0;
  text-transform: uppercase;
  white-space: normal;
}

.work-queue-tabs button.queue-warning {
  border-color: rgba(245, 158, 11, 0.24);
}

.work-queue-tabs button.queue-warning strong {
  color: #b45309;
}

.work-queue-tabs button.queue-warning::after {
  background: #f59e0b;
}

.work-queue-tabs button.queue-primary {
  border-color: rgba(0, 102, 217, 0.22);
}

.work-queue-tabs button.queue-primary strong {
  color: #0066d9;
}

.work-queue-tabs button.queue-primary::after {
  background: #0066d9;
}

.work-queue-tabs button.queue-info {
  border-color: rgba(6, 166, 179, 0.22);
}

.work-queue-tabs button.queue-info strong {
  color: #078a96;
}

.work-queue-tabs button.queue-info::after {
  background: #06a6b3;
}

.work-queue-tabs button.queue-success {
  border-color: rgba(34, 197, 94, 0.22);
}

.work-queue-tabs button.queue-success strong {
  color: #15803d;
}

.work-queue-tabs button.queue-success::after {
  background: #22c55e;
}

.work-queue-tabs button.queue-dark {
  border-color: rgba(51, 65, 85, 0.2);
}

.work-queue-tabs button.queue-dark strong {
  color: #111827;
}

.work-queue-tabs button.queue-dark::after {
  background: #334155;
}

.work-queue-tabs button.queue-danger {
  border-color: rgba(239, 68, 68, 0.22);
}

.work-queue-tabs button.queue-danger strong {
  color: #b91c1c;
}

.work-queue-tabs button.queue-danger::after {
  background: #ef4444;
}

.work-queue-tabs button.active strong {
  filter: saturate(1.15);
}

.queue-icon {
  align-items: center;
  border-radius: 50%;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.work-queue-tabs .queue-warning i,
.queue-warning.queue-icon {
  color: #b45309;
}

.work-queue-tabs .queue-primary i,
.queue-primary.queue-icon {
  color: #0066d9;
}

.work-queue-tabs .queue-info i,
.queue-info.queue-icon {
  color: #078a96;
}

.work-queue-tabs .queue-success i,
.queue-success.queue-icon {
  color: #15803d;
}

.work-queue-tabs .queue-dark i,
.queue-dark.queue-icon {
  color: #111827;
}

.work-queue-tabs .queue-danger i,
.queue-danger.queue-icon {
  color: #b91c1c;
}

.queue-warning.queue-icon {
  background: #fff4d6;
}

.queue-primary.queue-icon {
  background: #e8f1ff;
}

.queue-info.queue-icon {
  background: #e6f8fb;
}

.queue-success.queue-icon {
  background: #dcfce7;
}

.queue-dark.queue-icon {
  background: #e5e7eb;
}

.queue-danger.queue-icon {
  background: #fee2e2;
}

.work-queue-tab-content {
  min-height: 360px;
}

.work-queue-section {
  background: #fff;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  box-shadow: 0 0.42rem 1.1rem rgba(15, 23, 42, 0.045);
  overflow: hidden;
}

.work-queue-section-header {
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid #dbe3ec;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.8rem 1rem;
}

.work-queue-title {
  align-items: center;
  display: flex;
  gap: 0.75rem;
}

.work-queue-title h2 {
  color: #0b1f44;
  font-size: 1.02rem;
  font-weight: 800;
  margin: 0;
}

.work-queue-title p {
  color: #52627a;
  font-size: 0.86rem;
  margin: 0.1rem 0 0;
}

.work-queue-section-actions {
  align-items: center;
  display: inline-flex;
  gap: 0.65rem;
  white-space: nowrap;
}

.work-queue-section-actions span {
  background: #f1f5f9;
  border: 1px solid #dbe3ec;
  border-radius: 999px;
  color: #344054;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 0.22rem 0.55rem;
  text-transform: uppercase;
}

.work-queue-table {
  margin-bottom: 0;
  min-width: 1040px;
}

.work-queue-table thead th {
  background: #f5f7fb;
  border-bottom: 1px solid #cbd5e1;
  color: #0f172a;
  font-size: 0.72rem;
  font-weight: 800;
  padding-bottom: 0.7rem;
  padding-top: 0.7rem;
  text-transform: uppercase;
}

.work-queue-table tbody td {
  border-color: #e5eaf1;
  color: #1f2937;
  font-size: 0.86rem;
  padding-bottom: 0.68rem;
  padding-top: 0.68rem;
  vertical-align: middle;
}

.work-queue-table tbody tr:hover {
  --bs-table-hover-bg: #f8fafc;
}

.work-queue-note {
  max-width: 260px;
  white-space: normal;
}

.work-queue-actions {
  align-items: center;
  display: inline-flex;
  gap: 0.35rem;
  justify-content: flex-end;
  white-space: nowrap;
}

.work-queue-actions .btn {
  border-radius: 6px;
  font-weight: 800;
  min-height: 31px;
}

.follow-up-call-card .alert,
.appointment-result-card .alert {
  border-left: 3px solid #0066d9;
  margin-bottom: 1rem;
}

.mot-action-card {
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  box-shadow: 0 0.42rem 1.1rem rgba(15, 23, 42, 0.045);
}

.mot-action-lead {
  align-items: center;
  background: linear-gradient(135deg, #f8fbff, #eef8f7);
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1rem;
  padding: 0.9rem;
}

.mot-action-icon {
  align-items: center;
  background: #e8f1ff;
  border-radius: 50%;
  color: #0066d9;
  display: inline-flex;
  flex: 0 0 48px;
  font-size: 1.35rem;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.mot-action-lead h4 {
  color: #0b1f44;
  font-size: 1.08rem;
  font-weight: 800;
  margin: 0 0 0.15rem;
}

.mot-action-lead p {
  color: #52627a;
  margin: 0;
}

.mot-action-buttons {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.mot-problem-form {
  background: #fff7f7;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 0.85rem;
}

.mot-status-card {
  border-color: #dbe3ec;
}

.settings-role-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 1rem;
}

.settings-role-grid div {
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  display: grid;
  gap: 0.45rem;
  min-height: 138px;
  padding: 1rem;
}

.settings-role-grid i {
  align-items: center;
  background: #e8f1ff;
  border-radius: 50%;
  color: #0066d9;
  display: inline-flex;
  font-size: 1.25rem;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.settings-role-grid strong {
  color: #0f172a;
  font-size: 1rem;
  font-weight: 800;
}

.settings-role-grid span {
  color: #52627a;
  font-size: 0.88rem;
  line-height: 1.4;
}

@media (min-width: 576px) {
  .report-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .report-premium-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .report-row-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .report-summary-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .report-premium-metrics {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

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

  .report-row-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 1199.98px) {
  .work-queue-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .settings-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .settings-users-panel,
  .settings-side-stack {
    grid-column: auto;
    grid-row: auto;
  }

  .report-priority-filters {
    grid-template-columns: 1fr;
  }

  .report-priority-filters .report-visible-filter-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .report-priority-filters .report-visible-filter-actions {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767.98px) {
  .work-queue-tabs {
    grid-template-columns: 1fr;
  }

  .work-queue-hero,
  .work-queue-section-header {
    align-items: stretch;
    flex-direction: column;
  }

  .work-queue-section-actions {
    justify-content: space-between;
    width: 100%;
  }

  .work-queue-hero .btn {
    width: 100%;
  }

  .settings-dashboard-tabs {
    gap: 0.4rem;
  }

  .settings-dashboard-tabs button {
    font-size: 0.82rem;
    padding: 0.65rem 0.45rem;
  }

  .settings-panel-header,
  .settings-company-body,
  .settings-panel-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .settings-info-grid,
  .settings-company-body,
  .settings-company-details,
  .settings-role-grid,
  .settings-backup-grid {
    grid-template-columns: 1fr;
  }

  .settings-company-logo {
    align-items: flex-start;
  }

  .book-records-command {
    align-items: stretch;
    flex-direction: column;
  }

  .book-records-command-actions {
    justify-content: flex-start;
  }

  .book-records-command-actions .btn,
  .book-records-header .btn,
  .book-bulk-actions .btn,
  .book-bulk-actions select,
  .book-bulk-actions input,
  .book-bulk-note,
  .book-bulk-company {
    width: 100%;
  }

  .book-records-page .book-record-tabs,
  .book-record-tabs {
    gap: 0.45rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .book-records-page .book-record-tab,
  .book-record-tab {
    flex: 1 1 calc(50% - 0.45rem);
    justify-content: center;
  }

  .book-records-page .book-plate-groups {
    align-items: flex-start;
  }

  .book-records-datatable .dt-layout-row:first-child,
  .book-records-datatable .dt-layout-row:last-child {
    align-items: stretch;
    flex-direction: column;
    gap: 0.55rem;
  }

  .book-records-datatable .dt-layout-row:first-child .dt-layout-cell,
  .book-records-datatable .dt-layout-row:first-child .dt-layout-cell:last-child,
  .book-records-datatable .dt-paging {
    justify-content: flex-start;
    width: 100%;
  }

  .book-records-datatable .dt-search,
  .book-records-datatable .dt-search input,
  .book-records-datatable .dt-length {
    width: 100%;
  }

  .report-workspace-header {
    align-items: stretch;
    flex-direction: column;
  }

  .report-actions {
    justify-content: flex-start;
  }

  .report-visible-filters,
  .report-visible-filter-fields,
  .report-finder {
    grid-template-columns: 1fr;
  }

  .report-priority-filters .report-visible-filter-fields {
    grid-template-columns: 1fr;
  }

  .report-directory-row {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .report-center-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .report-visible-filter-actions {
    justify-content: flex-start;
  }

  .report-finder-tabs {
    justify-content: flex-start;
  }

  .report-directory-actions {
    justify-content: flex-start;
    text-align: left !important;
  }

  .report-section-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }
}

.dashboard-page .app-content {
  background:
    radial-gradient(circle at 96% 2%, rgba(16, 167, 157, 0.08), transparent 22rem),
    linear-gradient(180deg, #f8fbff 0%, #f5f8fc 42%, #f6f8fb 100%);
}

.dashboard-page .container-fluid {
  max-width: 1560px;
}

.company-workspace-strip {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--diiwaan-border);
  border-left: 4px solid #0ea5a7;
  border-radius: 12px;
  box-shadow: var(--diiwaan-shadow-soft);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  padding: 0.78rem 0.9rem;
}

.company-workspace-main {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  min-width: 0;
}

.company-workspace-logo {
  align-items: center;
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
  border: 1px solid #dbeafe;
  border-radius: 11px;
  display: inline-flex;
  flex: 0 0 52px;
  height: 52px;
  justify-content: center;
  overflow: hidden;
  padding: 0.35rem;
  width: 52px;
}

.company-workspace-logo img {
  display: block;
  height: auto;
  max-height: 42px;
  max-width: 42px;
  object-fit: contain;
  width: auto;
}

.company-workspace-copy {
  display: grid;
  gap: 0.05rem;
  min-width: 0;
}

.company-workspace-kicker {
  color: #0f766e;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.company-workspace-copy strong {
  color: var(--diiwaan-heading);
  font-size: 0.98rem;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.company-workspace-copy small {
  color: var(--diiwaan-muted);
  font-size: 0.8rem;
}

.company-workspace-copy b {
  color: #0b1f44;
  font-weight: 800;
}

.dashboard-command-strip {
  align-items: center;
  background: linear-gradient(135deg, #061f3d 0%, #073a63 58%, #078a96 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  box-shadow: 0 0.75rem 1.8rem rgba(6, 31, 61, 0.17);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
  overflow: hidden;
  padding: 0.95rem 1rem;
  position: relative;
}

.dashboard-command-strip::after {
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 60%);
  border-radius: 999px;
  content: "";
  height: 170px;
  position: absolute;
  right: -54px;
  top: -82px;
  width: 260px;
}

.dashboard-command-strip > * {
  position: relative;
  z-index: 1;
}

.dashboard-command-main {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  min-width: 0;
}

.dashboard-command-icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  color: #63f4e8;
  display: inline-flex;
  flex: 0 0 46px;
  font-size: 1.45rem;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.dashboard-kicker {
  color: #63f4e8;
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 0.16rem;
  text-transform: uppercase;
}

.dashboard-command-strip h1 {
  color: #ffffff;
  font-size: 1.14rem;
  font-weight: 850;
  letter-spacing: 0;
  margin: 0;
}

.dashboard-command-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.dashboard-command-actions .btn {
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: none;
}

.dashboard-command-actions .btn-light {
  background: rgba(255, 255, 255, 0.92);
  color: #073a63;
}

.dashboard-command-date {
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 800;
  min-height: 36px;
  padding: 0.35rem 0.72rem;
}

.dashboard-start-here {
  align-items: center;
  background: #fbbf24;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #1f2937;
  display: inline-flex;
  gap: 0.48rem;
  min-height: 36px;
  padding: 0.32rem 0.44rem 0.32rem 0.72rem;
  text-decoration: none;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.dashboard-start-here:hover {
  color: #111827;
  filter: brightness(1.03);
  transform: translateY(-1px);
}

.dashboard-start-here span {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dashboard-start-here strong {
  align-items: center;
  background: #111827;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 900;
  justify-content: center;
  min-width: 1.75rem;
  padding: 0.22rem 0.45rem;
}

.dashboard-pulse-strip {
  background: #ffffff;
  border: 1px solid var(--diiwaan-border);
  border-radius: 12px;
  box-shadow: var(--diiwaan-shadow-soft);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  margin-bottom: 1rem;
  overflow: hidden;
}

.dashboard-pulse-item {
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  border-bottom: 1px solid var(--diiwaan-border-soft);
  border-left: 3px solid transparent;
  color: #0f172a;
  display: block;
  min-height: 76px;
  padding: 0.8rem 0.9rem;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.dashboard-pulse-item:hover {
  background: #f8fbff;
  color: #0f172a;
  transform: translateY(-1px);
}

.dashboard-pulse-item.metric-total {
  border-left-color: #0f172a;
}

.dashboard-pulse-item.metric-renewed {
  border-left-color: #15803d;
}

.dashboard-pulse-item.metric-active {
  border-left-color: #0f766e;
}

.dashboard-pulse-item.metric-danger {
  border-left-color: #dc2626;
}

.dashboard-pulse-item.metric-abandoned {
  border-left-color: #ea580c;
}

.dashboard-pulse-item.metric-reprinted {
  border-left-color: #7c3aed;
}

.dashboard-pulse-item small {
  color: var(--diiwaan-muted);
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.1;
}

.dashboard-pulse-item strong {
  color: var(--diiwaan-heading);
  display: block;
  font-size: 1.44rem;
  font-weight: 850;
  line-height: 1.05;
  margin-top: 0.2rem;
}

.dashboard-section-title {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.dashboard-section-title h2 {
  color: var(--diiwaan-heading);
  font-size: 1rem;
  font-weight: 850;
  margin: 0;
}

.dashboard-section-title p {
  color: var(--diiwaan-muted);
  font-size: 0.82rem;
  margin: 0.1rem 0 0;
}

.dashboard-work-grid {
  display: grid;
  gap: 0.78rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.dashboard-work-card {
  align-items: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 253, 255, 0.98));
  border: 1px solid var(--diiwaan-border);
  border-left: 0;
  border-radius: 12px;
  box-shadow: var(--diiwaan-shadow-soft);
  color: #0f172a;
  display: flex;
  gap: 0.78rem;
  min-height: 98px;
  overflow: hidden;
  padding: 0.82rem 0.88rem;
  position: relative;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease, background-color 0.15s ease;
}

.dashboard-work-card,
.dashboard-work-card:hover,
.dashboard-work-card:focus,
.dashboard-work-card:active,
.dashboard-work-card *,
.dashboard-work-card:hover *,
.dashboard-work-card:focus *,
.dashboard-work-card:active * {
  text-decoration: none !important;
}

.dashboard-work-card:hover {
  background: #ffffff;
  border-color: #cbd8e7;
  box-shadow: 0 0.45rem 1rem rgba(15, 23, 42, 0.055);
  color: #0f172a;
  transform: none;
}

.dashboard-work-card:focus-visible {
  outline: 3px solid rgba(13, 110, 253, 0.18);
  outline-offset: 2px;
}

.dashboard-work-card.has-work {
  background:
    linear-gradient(180deg, #ffffff, #fbfdff);
  box-shadow: 0 0.5rem 1.2rem rgba(15, 23, 42, 0.065);
}

.dashboard-work-card::before {
  background: currentColor;
  content: "";
  inset: 0 auto 0 0;
  opacity: 0.95;
  position: absolute;
  width: 4px;
}

.dashboard-work-card.has-work::after {
  background: currentColor;
  border-radius: 999px;
  content: "";
  height: 7px;
  opacity: 0.95;
  position: absolute;
  right: 0.72rem;
  top: 0.72rem;
  width: 7px;
}

.dashboard-work-card.is-clear {
  background: #fbfdff;
  opacity: 0.86;
}

.dashboard-work-card.is-clear .dashboard-work-icon {
  background: #eef2f7;
  color: #94a3b8;
}

.dashboard-work-icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid currentColor;
  border-radius: 12px;
  display: inline-flex;
  flex: 0 0 46px;
  font-size: 1.18rem;
  height: 46px;
  justify-content: center;
  opacity: 0.95;
  width: 46px;
}

.dashboard-work-copy {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
  width: 100%;
}

.dashboard-work-title-row {
  align-items: flex-start;
  display: flex;
  gap: 0.45rem;
  justify-content: space-between;
  min-width: 0;
}

.dashboard-work-copy small {
  color: #344054;
  display: block;
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-work-title-row b {
  background: rgba(255, 247, 237, 0.96);
  border-radius: 999px;
  color: #c2410c;
  flex: 0 1 auto;
  font-size: 0.58rem;
  font-weight: 900;
  line-height: 1;
  max-width: min(104px, 45%);
  overflow: hidden;
  padding: 0.25rem 0.38rem;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.dashboard-work-title-row b.clear {
  background: #ecfdf5;
  color: #15803d;
}

.dashboard-work-copy strong {
  color: var(--diiwaan-heading);
  display: block;
  font-size: 1.48rem;
  font-weight: 900;
  line-height: 1;
  margin-top: 0.08rem;
}

.dashboard-work-copy em {
  color: var(--diiwaan-muted);
  display: block;
  font-size: 0.76rem;
  font-style: normal;
  line-height: 1.24;
  margin-top: 0.08rem;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-work-card.queue-warning,
.dashboard-work-card.queue-warning .dashboard-work-icon {
  color: #b45309;
}

.dashboard-work-card.queue-primary,
.dashboard-work-card.queue-primary .dashboard-work-icon {
  color: #0066d9;
}

.dashboard-work-card.queue-info,
.dashboard-work-card.queue-info .dashboard-work-icon {
  color: #078a96;
}

.dashboard-work-card.queue-success,
.dashboard-work-card.queue-success .dashboard-work-icon {
  color: #15803d;
}

.dashboard-work-card.queue-dark,
.dashboard-work-card.queue-dark .dashboard-work-icon {
  color: #111827;
}

.dashboard-work-card.queue-danger,
.dashboard-work-card.queue-danger .dashboard-work-icon {
  color: #b91c1c;
}

.dashboard-work-card.queue-warning .dashboard-work-copy strong {
  color: #b45309;
}

.dashboard-work-card.queue-primary .dashboard-work-copy strong {
  color: #0066d9;
}

.dashboard-work-card.queue-info .dashboard-work-copy strong {
  color: #078a96;
}

.dashboard-work-card.queue-success .dashboard-work-copy strong {
  color: #15803d;
}

.dashboard-work-card.queue-dark .dashboard-work-copy strong {
  color: #111827;
}

.dashboard-work-card.queue-danger .dashboard-work-copy strong {
  color: #b91c1c;
}

.dashboard-panel {
  background: #fff;
  border: 1px solid var(--diiwaan-border);
  border-radius: 12px;
  box-shadow: var(--diiwaan-shadow-soft);
  height: 100%;
  overflow: hidden;
}

.dashboard-panel-header {
  align-items: center;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border-bottom: 1px solid var(--diiwaan-border-soft);
  display: flex;
  justify-content: space-between;
  padding: 0.78rem 0.95rem;
}

.dashboard-panel-header h3 {
  color: var(--diiwaan-heading);
  font-size: 0.94rem;
  font-weight: 850;
  margin: 0;
}

.dashboard-panel-header span,
.dashboard-panel-header a {
  color: var(--diiwaan-muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.dashboard-panel-header a:hover {
  color: #0066d9;
}

.dashboard-chart-wrap {
  height: 248px;
  padding: 0.9rem;
}

.dashboard-validity-list {
  display: grid;
  gap: 0.55rem;
  padding: 0.85rem;
}

.dashboard-validity-list a {
  align-items: center;
  background: #f8fafc;
  border: 1px solid var(--diiwaan-border-soft);
  border-radius: 10px;
  color: #334155;
  display: grid;
  font-weight: 800;
  gap: 0.55rem;
  grid-template-columns: auto 1fr auto;
  min-height: 48px;
  padding: 0.65rem 0.72rem;
  text-decoration: none;
}

.dashboard-validity-list a:hover {
  background: #fff;
  border-color: #b9c9dc;
}

.dashboard-validity-list strong {
  color: var(--diiwaan-heading);
  font-size: 1.08rem;
}

.validity-dot {
  border-radius: 50%;
  display: inline-block;
  height: 0.75rem;
  width: 0.75rem;
}

.validity-dot.active {
  background: #22c55e;
}

.validity-dot.expired {
  background: #ef4444;
}

.validity-dot.unknown {
  background: #f59e0b;
}

.dashboard-recent-table {
  min-width: 760px;
}

.dashboard-recent-table thead th {
  background: #f1f5fa;
  border-bottom-color: #d8e2ef;
  color: #344054;
  font-size: 0.71rem;
  font-weight: 850;
  text-transform: uppercase;
}

.dashboard-recent-table tbody td {
  color: var(--diiwaan-text);
  font-size: 0.84rem;
  padding-bottom: 0.7rem;
  padding-top: 0.7rem;
  vertical-align: middle;
}

.dashboard-recent-table tbody tr:hover {
  --bs-table-hover-bg: #f3f8ff;
}

/* Tabler-style dashboard refinement */
.dashboard-page .app-content {
  background: #f6f8fb;
}

.company-workspace-strip,
.dashboard-command-strip,
.dashboard-pulse-strip,
.dashboard-work-card,
.dashboard-panel {
  background: #ffffff;
  border: 1px solid #dce3ed;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.company-workspace-strip {
  border-left: 0;
  margin-bottom: 1rem;
}

.dashboard-command-strip {
  color: #182433;
  margin-bottom: 1rem;
  padding: 1rem;
}

.dashboard-command-strip::after {
  display: none;
}

.dashboard-command-icon {
  background: #eaf3ff;
  border-color: #cfe3ff;
  color: #0d6efd;
}

.dashboard-kicker {
  color: #667085;
}

.dashboard-command-strip h1 {
  color: #182433;
  font-size: 1.12rem;
}

.dashboard-command-date {
  background: #f6f8fb;
  border-color: #dce3ed;
  color: #475467;
}

.dashboard-start-here {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
}

.dashboard-start-here:hover {
  color: #9a3412;
  filter: none;
  transform: none;
}

.dashboard-start-here strong {
  background: #fd7e14;
  color: #ffffff;
}

.dashboard-command-actions .btn-light {
  background: #f6f8fb;
  border-color: #dce3ed;
  color: #182433;
}

.dashboard-pulse-strip {
  gap: 0;
}

.dashboard-pulse-item {
  background: #ffffff;
  border-left: 0;
  min-height: 72px;
  padding: 0.82rem 0.95rem;
}

.dashboard-pulse-item:hover {
  background: #f8fafc;
  transform: none;
}

.dashboard-pulse-item strong {
  font-size: 1.32rem;
}

.dashboard-work-card {
  background: #ffffff;
  border-left: 0;
  min-height: 92px;
  padding: 0.82rem 0.9rem;
}

.dashboard-work-card::before {
  display: none;
}

.dashboard-work-card:hover {
  background: #f8fafc;
  border-color: #cfd8e3;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.055);
}

.dashboard-work-card.has-work::after {
  display: none;
}

.dashboard-work-icon {
  border: 0;
  border-radius: 8px;
}

.dashboard-work-copy strong {
  font-size: 1.38rem;
}

.dashboard-work-title-row b {
  background: #f6f8fb;
  border: 1px solid #e4e9f0;
  color: #667085;
}

.dashboard-work-title-row b.clear {
  background: #ecfdf5;
  border-color: #bbf7d0;
  color: #15803d;
}

.dashboard-work-card.queue-warning .dashboard-work-icon {
  background: #fff7ed;
  color: #c2410c;
}

.dashboard-work-card.queue-primary .dashboard-work-icon {
  background: #eaf3ff;
  color: #0d6efd;
}

.dashboard-work-card.queue-info .dashboard-work-icon {
  background: #ecfeff;
  color: #078a96;
}

.dashboard-work-card.queue-success .dashboard-work-icon {
  background: #ecfdf5;
  color: #15803d;
}

.dashboard-work-card.queue-dark .dashboard-work-icon {
  background: #f1f5f9;
  color: #334155;
}

.dashboard-work-card.queue-danger .dashboard-work-icon {
  background: #fef2f2;
  color: #b91c1c;
}

.dashboard-panel-header {
  background: #ffffff;
}

.data-quality-summary {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.quality-summary-item {
  background: #ffffff;
  border: 1px solid #dbe3ec;
  border-left: 4px solid #0f172a;
  border-radius: 8px;
  box-shadow: 0 0.35rem 1rem rgba(15, 23, 42, 0.04);
  min-height: 78px;
  padding: 0.8rem 0.9rem;
}

.quality-summary-item span {
  color: #52627a;
  display: block;
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.quality-summary-item strong {
  color: #0b1f44;
  display: block;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
  margin-top: 0.34rem;
}

.quality-summary-item.quality-high {
  border-left-color: #dc2626;
}

.quality-summary-item.quality-total {
  border-left-color: #0066d9;
}

.quality-summary-item.quality-duplicates {
  border-left-color: #f59e0b;
}

.quality-summary-item.quality-clear {
  border-left-color: #0f766e;
}

.data-quality-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.data-quality-card {
  background: #fff;
  border: 1px solid #dbe3ec;
  border-top: 4px solid #64748b;
  border-radius: 8px;
  box-shadow: 0 0.35rem 1rem rgba(15, 23, 42, 0.045);
  margin-bottom: 1rem;
  overflow: hidden;
}

.data-quality-card.quality-high {
  border-top-color: #dc2626;
}

.data-quality-card.quality-medium {
  border-top-color: #f59e0b;
}

.data-quality-card.quality-low {
  border-top-color: #0f766e;
}

.data-quality-card-header {
  align-items: flex-start;
  border-bottom: 1px solid #e5eaf1;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 0.9rem;
}

.data-quality-card-header > span {
  align-items: center;
  background: #eef3f8;
  border-radius: 50%;
  color: #0b1f44;
  display: inline-flex;
  font-size: 1.1rem;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.data-quality-card-header h2 {
  color: #0b1f44;
  font-size: 1rem;
  font-weight: 850;
  margin: 0;
}

.data-quality-card-header p {
  color: #52627a;
  font-size: 0.84rem;
  line-height: 1.35;
  margin: 0.18rem 0 0;
}

.data-quality-card-header strong {
  align-items: center;
  background: #0b1f44;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.96rem;
  font-weight: 900;
  justify-content: center;
  min-width: 2.2rem;
  padding: 0.32rem 0.58rem;
}

.data-quality-table {
  margin-bottom: 0;
  min-width: 760px;
}

.data-quality-table thead th {
  background: #eef3f8;
  color: #0f172a;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.data-quality-table tbody td {
  color: #1f2937;
  font-size: 0.86rem;
  vertical-align: middle;
}

@media (min-width: 576px) {
  .dashboard-pulse-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-pulse-item {
    border-bottom: 1px solid #e5eaf1;
    border-right: 1px solid #e5eaf1;
  }

  .dashboard-work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .data-quality-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .dashboard-work-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .dashboard-pulse-strip {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .data-quality-summary {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .data-quality-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1199.98px) {
  .admin-audit-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .backup-center-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .company-admin-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .admin-audit-hero {
    align-items: stretch;
    flex-direction: column;
  }

  .backup-center-hero {
    align-items: stretch;
    flex-direction: column;
  }

  .backup-center-actions {
    justify-content: flex-start;
  }

  .backup-center-actions .btn {
    width: 100%;
  }

  .admin-audit-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .backup-center-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-users-hero {
    align-items: stretch;
    flex-direction: column;
  }

  .company-users-hero-actions {
    justify-content: flex-start;
  }

  .company-users-hero-actions .btn {
    width: 100%;
  }

  .company-admin-hero {
    align-items: stretch;
    flex-direction: column;
  }

  .company-admin-hero-main {
    align-items: flex-start;
  }

  .company-admin-actions {
    justify-content: flex-start;
  }

  .company-admin-actions .btn {
    width: 100%;
  }

  .company-admin-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-admin-panel-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .company-workspace-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .company-workspace-strip .btn {
    width: 100%;
  }

  .company-workspace-copy strong {
    white-space: normal;
  }

  .dashboard-command-strip,
  .dashboard-section-title {
    align-items: stretch;
    flex-direction: column;
  }

  .dashboard-command-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .dashboard-command-actions .btn,
  .dashboard-section-title .btn {
    width: 100%;
  }

  .dashboard-work-card {
    min-height: 92px;
  }

  .dashboard-work-title-row b {
    max-width: min(88px, 42%);
  }

  .dashboard-chart-wrap {
    height: 230px;
  }
}

@media (max-width: 575.98px) {
  .admin-audit-summary-grid {
    grid-template-columns: 1fr;
  }

  .backup-center-summary-grid {
    grid-template-columns: 1fr;
  }

  .book-records-page .book-record-tabs {
    grid-template-columns: 1fr;
  }

  .book-records-command h1 {
    font-size: 1.15rem;
  }

  .company-admin-hero-main {
    flex-direction: column;
  }

  .company-admin-summary-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .report-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Tabler migration compatibility layer */
.diiwaan-tabler-shell {
  background: #f4f7fb;
  color: #172033;
}

.diiwaan-tabler-shell .page {
  min-height: 100vh;
}

.diiwaan-topbar {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--diiwaan-border);
  box-shadow: 0 0.3rem 0.9rem rgba(15, 23, 42, 0.045);
  min-height: 64px;
  overflow: visible;
  position: relative;
  z-index: 1060;
}

.diiwaan-topbar .navbar-nav,
.diiwaan-topbar .nav-item.dropdown {
  position: relative;
  z-index: 1061;
}

.diiwaan-topbar .dropdown-menu {
  z-index: 1070;
}

.diiwaan-header-brand {
  align-items: center;
  display: inline-flex;
  min-height: 42px;
}

.diiwaan-header-brand img {
  display: block;
  height: auto;
  max-height: 42px;
  max-width: 260px;
  object-fit: contain;
  width: auto;
}

.diiwaan-user-menu {
  align-items: center;
  border-radius: 999px;
  padding: 0.25rem 0.42rem !important;
}

.diiwaan-user-menu:hover {
  background: #f3f6fa;
  text-decoration: none;
}

.diiwaan-user-avatar {
  background: linear-gradient(135deg, #eaf3ff 0%, #e6fbf8 100%);
  border: 1px solid #cfe0f4;
  color: #0d47a1;
  font-size: 0.78rem;
  font-weight: 600;
  overflow: hidden;
}

.diiwaan-user-avatar img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.diiwaan-user-name {
  color: var(--diiwaan-heading);
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.1;
}

.diiwaan-user-role {
  font-weight: 400;
  line-height: 1.1;
  text-transform: capitalize;
}

.presence-dot {
  border-radius: 999px;
  display: inline-block;
  height: 0.45rem;
  margin: 0 0.2rem 0 0.35rem;
  vertical-align: middle;
  width: 0.45rem;
}

.presence-dot.is-online {
  background: #12b76a;
  box-shadow: 0 0 0 3px rgba(18, 183, 106, 0.14);
  animation: presencePulse 2.8s ease-in-out infinite;
}

.presence-dot.is-offline {
  background: #f04438;
  box-shadow: 0 0 0 3px rgba(240, 68, 56, 0.12);
}

.diiwaan-user-caret {
  font-size: 0.72rem;
}

.profile-photo-wrap {
  align-items: center;
  display: inline-flex;
  justify-content: center;
}

.profile-photo-image,
.profile-photo-initials {
  border: 4px solid #ffffff;
  border-radius: 999px;
  box-shadow: 0 0.45rem 1.2rem rgba(15, 23, 42, 0.12);
  height: 96px;
  width: 96px;
}

.profile-photo-image {
  display: block;
  object-fit: cover;
}

.profile-photo-initials {
  align-items: center;
  background: linear-gradient(135deg, #eaf3ff 0%, #e6fbf8 100%);
  color: #0d47a1;
  display: inline-flex;
  font-size: 1.85rem;
  font-weight: 600;
  justify-content: center;
}

.account-profile-page .page-pretitle {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.account-profile-page .page-title {
  font-size: 1.3rem;
  font-weight: 600;
}

.profile-summary-card .list-group-item {
  border-color: #edf2f7;
}

.profile-status-dot {
  border: 2px solid #fff;
  bottom: 0.45rem;
  position: absolute;
  right: 0.45rem;
}

.account-profile-page .list-group-item {
  padding-bottom: 0.82rem;
  padding-top: 0.82rem;
}

.account-profile-page .form-hint {
  color: #64748b;
  font-size: 0.78rem;
  margin-top: 0.35rem;
}

.diiwaan-sidebar {
  background: linear-gradient(180deg, #05264d 0%, #073966 58%, #064f6f 100%) !important;
  border-right: 0;
  box-shadow: 0.6rem 0 1.5rem rgba(4, 23, 48, 0.14);
}

.diiwaan-sidebar .navbar-brand {
  height: auto;
  justify-content: flex-start;
  margin: 0;
  padding: 1.05rem 1rem 0.85rem;
}

.diiwaan-sidebar .brand-link {
  align-items: center;
  color: #fff;
  display: flex;
  gap: 0.75rem;
  min-width: 0;
  text-decoration: none;
}

.diiwaan-sidebar .system-brand-icon {
  flex: 0 0 42px;
  height: 42px;
  object-fit: contain;
  width: 42px;
}

.diiwaan-sidebar .system-brand-copy {
  display: grid;
  line-height: 1.15;
  min-width: 0;
}

.diiwaan-sidebar .system-brand-name {
  color: #fff;
  font-size: 0.98rem;
  font-weight: 600;
}

.diiwaan-sidebar .system-brand-subtitle {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.7rem;
  font-weight: 400;
  margin-top: 0.12rem;
}

.diiwaan-sidebar .navbar-nav {
  gap: 0.18rem;
  padding-left: 0.65rem;
  padding-right: 0.65rem;
}

.diiwaan-sidebar .nav-link {
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.91rem;
  font-weight: 500;
  min-height: 40px;
}

.diiwaan-sidebar .nav-link:hover,
.diiwaan-sidebar .nav-link.active,
.diiwaan-sidebar .nav-item.active > .nav-link {
  background: linear-gradient(135deg, #0d6efd 0%, #14b8a6 100%);
  color: #fff;
}

.diiwaan-sidebar .nav-link-icon {
  color: currentColor;
  font-size: 1rem;
  margin-right: 0.66rem;
  opacity: 1;
}

.diiwaan-sidebar .dropdown-menu {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #fff;
  margin: 0.12rem 0 0.35rem;
  padding: 0 0 0 2.85rem;
  position: static;
}

.diiwaan-sidebar .dropdown-item {
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.83rem;
  font-weight: 400;
  padding: 0.48rem 0.7rem;
}

.diiwaan-sidebar .dropdown-item:hover,
.diiwaan-sidebar .dropdown-item.active {
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
}

.diiwaan-tabler-shell .page-wrapper {
  background:
    radial-gradient(circle at 92% 0%, rgba(20, 184, 166, 0.06), transparent 28rem),
    linear-gradient(180deg, #f8fbff 0%, var(--diiwaan-bg) 38%, #f6f8fb 100%);
  min-height: calc(100vh - 64px);
}

.diiwaan-tabler-shell .app-main {
  display: block;
  margin-left: 0 !important;
  min-height: calc(100vh - 130px);
}

.diiwaan-tabler-shell .app-content-header {
  background: transparent !important;
  padding: 1rem 1.25rem 0;
}

.diiwaan-tabler-shell .app-content-header h3 {
  color: var(--diiwaan-heading);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: 0;
}

.diiwaan-tabler-shell .app-content {
  padding: 0.9rem 1.25rem 1.35rem;
}

.diiwaan-tabler-shell .container-fluid {
  max-width: 100%;
}

.diiwaan-tabler-shell .card {
  background: var(--diiwaan-surface);
  border: 1px solid var(--diiwaan-border);
  border-radius: var(--diiwaan-radius);
  box-shadow: var(--diiwaan-shadow);
}

.diiwaan-tabler-shell .card-header {
  background: linear-gradient(180deg, #ffffff 0%, #fafcff 100%);
  border-bottom-color: var(--diiwaan-border-soft);
  min-height: 54px;
  padding: 0.78rem 0.95rem;
}

.diiwaan-tabler-shell .card-title {
  color: var(--diiwaan-heading);
  font-weight: 600;
}

.diiwaan-tabler-shell .breadcrumb {
  --tblr-breadcrumb-divider-color: #94a3b8;
  color: var(--diiwaan-muted);
  font-size: 0.78rem;
  margin-bottom: 0;
}

.diiwaan-tabler-shell .btn {
  border-radius: 7px;
  font-size: 0.86rem;
  font-weight: 500;
  min-height: 36px;
  padding-left: 0.72rem;
  padding-right: 0.72rem;
  text-decoration: none !important;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    color 0.15s ease,
    transform 0.15s ease;
}

.diiwaan-tabler-shell .btn:hover,
.diiwaan-tabler-shell .btn:focus,
.diiwaan-tabler-shell .btn:active {
  text-decoration: none !important;
}

.diiwaan-tabler-shell .btn:hover {
  box-shadow: 0 0.28rem 0.75rem rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.diiwaan-tabler-shell .btn:focus-visible {
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.16);
  outline: 0;
}

.diiwaan-tabler-shell .btn:active {
  box-shadow: 0 0.12rem 0.4rem rgba(15, 23, 42, 0.08);
  transform: translateY(0);
}

.diiwaan-tabler-shell .btn:disabled,
.diiwaan-tabler-shell .btn.disabled {
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}

.diiwaan-tabler-shell .form-control,
.diiwaan-tabler-shell .form-select {
  background-color: #ffffff;
  border-color: #d8e2ef;
  border-radius: 7px;
  color: var(--diiwaan-text);
  font-size: 0.88rem;
  min-height: 38px;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.diiwaan-tabler-shell .form-control:hover,
.diiwaan-tabler-shell .form-select:hover {
  border-color: #b8c8dc;
}

.diiwaan-tabler-shell .form-control:focus,
.diiwaan-tabler-shell .form-select:focus {
  background-color: #ffffff;
  border-color: #7aa7e8;
  box-shadow: 0 0 0 0.18rem rgba(13, 110, 253, 0.12);
}

.diiwaan-tabler-shell .form-control::placeholder {
  color: #94a3b8;
  opacity: 1;
}

.diiwaan-tabler-shell .form-control:disabled,
.diiwaan-tabler-shell .form-control[readonly],
.diiwaan-tabler-shell .form-select:disabled {
  background-color: #f8fafc;
  border-color: #e2e8f0;
  color: #64748b;
  cursor: not-allowed;
}

.diiwaan-tabler-shell textarea.form-control {
  line-height: 1.45;
  min-height: 82px;
}

.diiwaan-tabler-shell input[type="file"].form-control {
  padding-bottom: 0.38rem;
  padding-top: 0.38rem;
}

.diiwaan-tabler-shell .input-group-text {
  background: #f8fafc;
  border-color: #d8e2ef;
  color: #64748b;
  font-size: 0.86rem;
}

.diiwaan-tabler-shell .form-check {
  align-items: center;
  display: flex;
  gap: 0.45rem;
  min-height: 1.35rem;
}

.diiwaan-tabler-shell .form-check-input {
  border-color: #b8c8dc;
  box-shadow: none;
  cursor: pointer;
  flex: 0 0 auto;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}

.diiwaan-tabler-shell .form-check-input:hover {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.16rem rgba(13, 110, 253, 0.08);
}

.diiwaan-tabler-shell .form-check-input:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.18rem rgba(13, 110, 253, 0.14);
}

.diiwaan-tabler-shell .form-check-input:checked {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.diiwaan-tabler-shell .form-check-input:active {
  transform: scale(0.96);
}

.diiwaan-tabler-shell .form-check-input:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.diiwaan-tabler-shell .form-check-label {
  color: #334155;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 400;
  line-height: 1.35;
}

.diiwaan-tabler-shell .form-check-input:disabled + .form-check-label {
  color: #94a3b8;
  cursor: not-allowed;
}

.diiwaan-tabler-shell .form-switch .form-check-input {
  height: 1.15rem;
  width: 2.15rem;
}

.diiwaan-tabler-shell .form-switch .form-check-input:checked {
  background-color: #0f9f8a;
  border-color: #0f9f8a;
}

.diiwaan-tabler-shell #maintenance_mode.form-check-input {
  border-color: #f59e0b;
}

.diiwaan-tabler-shell #maintenance_mode.form-check-input:hover,
.diiwaan-tabler-shell #maintenance_mode.form-check-input:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 0.18rem rgba(249, 115, 22, 0.14);
}

.diiwaan-tabler-shell #maintenance_mode.form-check-input:checked {
  background-color: #f97316;
  border-color: #f97316;
}

.diiwaan-tabler-shell #maintenance_mode.form-check-input:checked:focus {
  box-shadow: 0 0 0 0.18rem rgba(249, 115, 22, 0.2);
}

.diiwaan-tabler-shell .invalid-feedback,
.diiwaan-tabler-shell .form-text {
  font-size: 0.78rem;
}

.diiwaan-tabler-shell .is-invalid,
.diiwaan-tabler-shell .was-validated .form-control:invalid,
.diiwaan-tabler-shell .was-validated .form-select:invalid {
  border-color: #ef4444;
}

.diiwaan-tabler-shell .is-invalid:focus,
.diiwaan-tabler-shell .was-validated .form-control:invalid:focus,
.diiwaan-tabler-shell .was-validated .form-select:invalid:focus {
  box-shadow: 0 0 0 0.18rem rgba(239, 68, 68, 0.14);
}

.diiwaan-tabler-shell .is-valid,
.diiwaan-tabler-shell .was-validated .form-control:valid,
.diiwaan-tabler-shell .was-validated .form-select:valid {
  border-color: #16a34a;
}

.diiwaan-tabler-shell .is-valid:focus,
.diiwaan-tabler-shell .was-validated .form-control:valid:focus,
.diiwaan-tabler-shell .was-validated .form-select:valid:focus {
  box-shadow: 0 0 0 0.18rem rgba(22, 163, 74, 0.13);
}

.diiwaan-tabler-shell .table {
  color: var(--diiwaan-text);
  font-size: 0.86rem;
}

.diiwaan-tabler-shell .diiwaan-footer {
  border-top: 1px solid var(--diiwaan-border);
  color: var(--diiwaan-muted);
  font-size: 0.82rem;
}

.diiwaan-login-page {
  min-height: 100vh;
}

.diiwaan-login-page .login-box {
  margin: 0 auto;
  max-width: 420px;
  width: 100%;
}

.diiwaan-login-page .login-brand {
  margin-bottom: 1.25rem;
  text-align: center;
}

.diiwaan-login-page .login-brand img {
  display: block;
  height: auto;
  margin: 0 auto;
  max-width: 360px;
  width: 100%;
}

.diiwaan-login-page .login-brand-version {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 800;
  margin-top: 0.3rem;
}

.diiwaan-login-page .login-box-msg {
  color: #334155;
  font-weight: 400;
  margin-bottom: 1rem;
  text-align: center;
}

.diiwaan-login-page {
  background:
    radial-gradient(circle at 50% 0%, rgba(13, 110, 253, 0.08), transparent 28rem),
    #f6f8fb !important;
  font-family: var(--tblr-font-sans-serif);
}

.diiwaan-login-page .container-tight {
  max-width: 430px;
}

.diiwaan-login-page .login-box {
  width: min(430px, 100%);
}

.diiwaan-login-page .login-brand {
  margin-bottom: 1rem;
}

.diiwaan-login-page .login-brand img {
  max-width: 330px;
}

.diiwaan-login-page .login-brand-version {
  color: #667085;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0;
  margin-top: 0.25rem;
}

.diiwaan-login-page .card {
  border: 1px solid #dbe5f2;
  border-radius: 12px;
  box-shadow: 0 0.75rem 1.8rem rgba(15, 23, 42, 0.08);
}

.diiwaan-login-page .login-card-body {
  padding: 1.55rem;
}

.diiwaan-login-page .login-box-msg {
  color: #475569;
  font-size: 0.9rem;
  font-weight: 400;
  margin-bottom: 1.1rem;
}

.diiwaan-login-page .form-control,
.diiwaan-login-page .input-group-text {
  border-color: #d8e2ef;
  min-height: 42px;
}

.diiwaan-login-page .input-group-text {
  background: #f8fafc;
  color: #64748b;
}

.diiwaan-login-page .btn {
  font-weight: 500;
  min-height: 42px;
}

.diiwaan-tabler-shell .data-panel-card,
.diiwaan-tabler-shell .book-records-card,
.diiwaan-tabler-shell .report-result-card,
.diiwaan-tabler-shell .settings-panel,
.diiwaan-tabler-shell .report-chart-panel,
.diiwaan-tabler-shell .data-quality-card {
  background: var(--diiwaan-surface);
  border: 1px solid var(--diiwaan-border);
  border-radius: 12px;
  box-shadow: var(--diiwaan-shadow);
}

.diiwaan-tabler-shell .data-panel-card > .card-header,
.diiwaan-tabler-shell .book-records-card > .card-header,
.diiwaan-tabler-shell .report-result-card > .card-header {
  align-items: center;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--diiwaan-border-soft);
  border-radius: 12px 12px 0 0;
  min-height: 54px;
  padding: 0.78rem 0.95rem;
}

.diiwaan-tabler-shell .data-panel-card > .card-body,
.diiwaan-tabler-shell .book-records-card > .card-body,
.diiwaan-tabler-shell .report-result-card > .card-body {
  padding: 1rem;
}

.diiwaan-tabler-shell .card-title,
.diiwaan-tabler-shell .settings-panel h2 {
  color: var(--diiwaan-heading);
  font-weight: 850;
  letter-spacing: 0;
}

.diiwaan-tabler-shell .report-section-title h2,
.diiwaan-tabler-shell .report-chart-heading h2 {
  color: var(--diiwaan-heading);
  font-weight: 600;
  letter-spacing: 0;
}

.diiwaan-tabler-shell .app-content-header .row {
  align-items: center;
}

.diiwaan-tabler-shell .app-content-header .breadcrumb a {
  color: #0d6efd;
  text-decoration: none;
}

.diiwaan-tabler-shell .btn-primary {
  background: linear-gradient(135deg, var(--diiwaan-primary) 0%, var(--diiwaan-primary-dark) 100%);
  border-color: var(--diiwaan-primary-dark);
  box-shadow: 0 0.35rem 0.85rem rgba(13, 110, 253, 0.16);
}

.diiwaan-tabler-shell .btn-primary:hover,
.diiwaan-tabler-shell .btn-primary:focus {
  background: linear-gradient(135deg, #0b5ed7 0%, #084fb5 100%);
  border-color: #084fb5;
  color: #ffffff;
}

.diiwaan-tabler-shell .btn-success {
  background: linear-gradient(135deg, #16a34a 0%, #0f9f8a 100%);
  border-color: #0f9f8a;
}

.diiwaan-tabler-shell .btn-success:hover,
.diiwaan-tabler-shell .btn-success:focus {
  background: linear-gradient(135deg, #15803d 0%, #0f8b79 100%);
  border-color: #0f8b79;
  color: #ffffff;
}

.diiwaan-tabler-shell .btn-danger:hover,
.diiwaan-tabler-shell .btn-danger:focus {
  background-color: #dc2626;
  border-color: #dc2626;
  color: #ffffff;
}

.diiwaan-tabler-shell .btn-warning:hover,
.diiwaan-tabler-shell .btn-warning:focus {
  background-color: #f59e0b;
  border-color: #f59e0b;
  color: #111827;
}

.diiwaan-tabler-shell .btn-outline-primary {
  --tblr-btn-color: #0d6efd;
  --tblr-btn-border-color: #b8d3ff;
  --tblr-btn-hover-bg: #0d6efd;
  --tblr-btn-hover-border-color: #0d6efd;
  background: #f8fbff;
}

.diiwaan-tabler-shell .btn-outline-primary:hover,
.diiwaan-tabler-shell .btn-outline-primary:focus {
  background: #eaf3ff;
  border-color: #8dbdff;
  color: #0b5ed7;
}

.diiwaan-tabler-shell .btn-outline-secondary,
.diiwaan-tabler-shell .btn-outline-dark {
  background: #fff;
  border-color: #d8e2ef;
  color: #334155;
}

.diiwaan-tabler-shell .btn-outline-secondary:hover,
.diiwaan-tabler-shell .btn-outline-secondary:focus,
.diiwaan-tabler-shell .btn-outline-dark:hover,
.diiwaan-tabler-shell .btn-outline-dark:focus {
  background: #f8fafc;
  border-color: #b8c8dc;
  color: #0f172a;
}

.diiwaan-tabler-shell .btn-outline-danger:hover,
.diiwaan-tabler-shell .btn-outline-danger:focus {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #b91c1c;
}

.diiwaan-tabler-shell .btn-outline-success:hover,
.diiwaan-tabler-shell .btn-outline-success:focus {
  background: #ecfdf5;
  border-color: #86efac;
  color: #15803d;
}

.diiwaan-tabler-shell .table-responsive {
  border-radius: var(--diiwaan-radius);
}

.diiwaan-tabler-shell .table {
  margin-bottom: 0;
}

.diiwaan-tabler-shell .table thead th,
.diiwaan-tabler-shell .data-panel-card .table thead th {
  background: #f1f5fa;
  border-bottom: 1px solid #d9e3f0;
  color: #344054;
  font-size: 0.71rem;
  font-weight: 850;
  letter-spacing: 0.02em;
  padding: 0.72rem 0.75rem;
  text-transform: uppercase;
}

.diiwaan-tabler-shell .table tbody td,
.diiwaan-tabler-shell .data-panel-card .table tbody td {
  border-color: #e7edf5;
  color: var(--diiwaan-text);
  padding: 0.68rem 0.75rem;
  vertical-align: middle;
}

.diiwaan-tabler-shell .table-striped > tbody > tr:nth-of-type(odd) > * {
  --bs-table-bg-type: #fbfdff;
}

.diiwaan-tabler-shell .table-hover > tbody > tr:hover > * {
  --bs-table-bg-state: #f3f8ff;
}

.diiwaan-tabler-shell .dataTable {
  width: 100% !important;
}

.diiwaan-tabler-shell {
  font-family: var(--tblr-font-sans-serif);
}

.diiwaan-tabler-shell .table thead th,
.diiwaan-tabler-shell .data-panel-card .table thead th,
.book-records-table thead th,
.follow-ups-table thead th,
.work-queue-table thead th,
.returns-history-table thead th {
  font-weight: 600;
}

.diiwaan-tabler-shell .badge,
.book-validity-badge,
.book-record-tab-count,
.book-plate-group,
.book-plate-group-label {
  font-weight: 600;
}

.diiwaan-tabler-shell .form-label,
.diiwaan-tabler-shell .dt-length,
.diiwaan-tabler-shell .dt-info,
.book-records-datatable .dt-length,
.book-records-datatable .dt-info {
  font-weight: 500;
}

.diiwaan-tabler-shell .dropdown-item,
.diiwaan-sidebar .dropdown-item,
.diiwaan-sidebar .nav-link {
  font-weight: 500;
}

.diiwaan-theme-switcher .dropdown-item {
  align-items: center;
  border: 0;
  display: flex;
  gap: 0.55rem;
  min-height: 36px;
  text-align: left;
  width: 100%;
}

.diiwaan-theme-switcher .dropdown-item-icon {
  color: #64748b;
  display: inline-flex;
  justify-content: center;
  width: 1.2rem;
}

.diiwaan-theme-switcher .dropdown-item-indicator {
  color: #0d6efd;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.diiwaan-theme-switcher .dropdown-item.active {
  color: #0d6efd;
  font-weight: 600;
}

.diiwaan-theme-switcher .dropdown-item.active .dropdown-item-indicator {
  opacity: 1;
}

.diiwaan-tabler-shell .dt-container .dt-layout-row {
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.85rem;
}

.diiwaan-tabler-shell .dt-container .dt-layout-row:last-child {
  margin: 0.85rem 0 0;
}

.diiwaan-tabler-shell .dt-search input,
.diiwaan-tabler-shell .dt-length select {
  border: 1px solid #d8e2ef;
  border-radius: 7px;
  font-size: 0.86rem;
  min-height: 36px;
}

.diiwaan-tabler-shell .dt-length,
.diiwaan-tabler-shell .dt-search,
.diiwaan-tabler-shell .dt-info {
  color: var(--diiwaan-muted);
  font-size: 0.82rem;
  font-weight: 400;
}

.diiwaan-tabler-shell .pagination .page-link {
  border-color: #d8e2ef;
  border-radius: 7px;
  color: #0d6efd;
  font-size: 0.82rem;
  font-weight: 500;
  margin: 0 0.12rem;
  min-width: 32px;
  text-align: center;
}

.diiwaan-tabler-shell .pagination .active > .page-link,
.diiwaan-tabler-shell .page-item.active .page-link {
  background: #0d6efd;
  border-color: #0d6efd;
  color: #fff;
}

.diiwaan-tabler-shell .badge {
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.1;
  padding: 0.4em 0.64em;
}

.diiwaan-tabler-shell .alert {
  border-radius: var(--diiwaan-radius);
  border-width: 1px;
  box-shadow: var(--diiwaan-shadow-soft);
}

.diiwaan-tabler-shell .modal-content {
  border: 1px solid var(--diiwaan-border);
  border-radius: 12px;
  box-shadow: 0 1.2rem 2.5rem rgba(15, 23, 42, 0.18);
}

.diiwaan-tabler-shell .modal-header,
.diiwaan-tabler-shell .modal-footer {
  border-color: #e4ebf5;
}

.diiwaan-tabler-shell .table-actions .btn,
.diiwaan-tabler-shell .btn-group-sm > .btn {
  align-items: center;
  display: inline-flex;
  height: 30px;
  justify-content: center;
  min-width: 30px;
  padding: 0.25rem 0.45rem;
}

.diiwaan-tabler-shell .book-record-tabs,
.diiwaan-tabler-shell .report-finder,
.diiwaan-tabler-shell .settings-dashboard-tabs {
  background: #fff;
  border: 1px solid #dbe5f2;
  border-radius: 12px;
  box-shadow: 0 0.35rem 1rem rgba(15, 23, 42, 0.04);
}

.diiwaan-tabler-shell .book-record-tab,
.diiwaan-tabler-shell .report-finder-tabs button,
.diiwaan-tabler-shell .settings-dashboard-tabs button {
  border-radius: 9px;
}

.diiwaan-tabler-shell .book-record-tab.active,
.diiwaan-tabler-shell .report-finder-tabs button.active,
.diiwaan-tabler-shell .settings-dashboard-tabs button.active {
  background: #eaf3ff;
  color: #0d6efd;
}

.diiwaan-tabler-shell .form-label {
  color: #334155;
  font-size: 0.77rem;
  font-weight: 500;
  margin-bottom: 0.36rem;
}

.diiwaan-tabler-shell .form-text,
.diiwaan-tabler-shell .text-secondary {
  color: #64748b !important;
}

.diiwaan-tabler-shell .input-group-text {
  background: #f8fafc;
  border-color: #d7e1ee;
  border-radius: 7px;
  color: var(--diiwaan-muted);
}

.diiwaan-tabler-shell .dropdown-menu {
  border: 1px solid var(--diiwaan-border);
  border-radius: 10px;
  box-shadow: 0 0.8rem 1.8rem rgba(15, 23, 42, 0.12);
  font-size: 0.87rem;
  padding: 0.35rem;
}

.diiwaan-tabler-shell .dropdown-item {
  border-radius: 7px;
  font-weight: 400;
}

.diiwaan-tabler-shell .avatar {
  background: #edf4ff;
  color: var(--diiwaan-primary);
}

.diiwaan-tabler-shell hr,
.diiwaan-tabler-shell .dropdown-divider {
  border-color: var(--diiwaan-border-soft);
}

html[data-bs-theme="dark"] body,
html[data-bs-theme="dark"] .diiwaan-tabler-shell {
  background: var(--diiwaan-bg);
  color: var(--diiwaan-text);
}

html[data-bs-theme="dark"] .text-secondary,
html[data-bs-theme="dark"] .small.text-secondary {
  color: var(--diiwaan-muted) !important;
}

html[data-bs-theme="dark"] .diiwaan-topbar,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .app-content-header,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-dashboard-page .app-content-header,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .user-admin-page .app-content-header,
html[data-bs-theme="dark"] .report-page .app-content-header {
  background: rgba(17, 28, 45, 0.96) !important;
  border-color: var(--diiwaan-border);
  box-shadow: 0 0.3rem 0.9rem rgba(0, 0, 0, 0.18);
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .page-wrapper,
html[data-bs-theme="dark"] .dashboard-page .app-content,
html[data-bs-theme="dark"] .report-page .app-content,
html[data-bs-theme="dark"] .admin-dashboard-page,
html[data-bs-theme="dark"] .admin-dashboard-page .app-content,
html[data-bs-theme="dark"] .user-admin-page .app-content,
html[data-bs-theme="dark"] .company-admin-profile-page .app-content,
html[data-bs-theme="dark"] .diiwaan-login-page {
  background: linear-gradient(180deg, #0d1624 0%, #0b1220 100%) !important;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .card,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .data-panel-card,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .book-records-card,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .report-result-card,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-panel,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .report-chart-panel,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .data-quality-card,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .dashboard-panel,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .dashboard-work-card,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .dashboard-command-strip,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .dashboard-pulse-strip,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .company-workspace-strip,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .report-center-hero,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .report-workspace-header,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .report-visible-filters,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .report-summary-strip,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .report-table-section,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .report-finder,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-hero,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .company-users-hero,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .user-admin-filter-panel,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-dashboard-tabs,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-audit-filter,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .company-admin-panel {
  background: var(--diiwaan-surface) !important;
  border-color: var(--diiwaan-border) !important;
  box-shadow: var(--diiwaan-shadow-soft);
  color: var(--diiwaan-text);
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-audit-page .app-content {
  background:
    radial-gradient(circle at 92% 3%, rgba(34, 197, 183, 0.1), transparent 30rem),
    linear-gradient(180deg, #0d1624 0%, #0b1220 100%) !important;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-audit-summary,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-activity-item,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-note-list div,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .user-reset-profile,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .company-profile-stat {
  background: var(--diiwaan-surface-soft) !important;
  border-color: var(--diiwaan-border) !important;
  color: var(--diiwaan-text) !important;
  box-shadow: var(--diiwaan-shadow-soft);
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-audit-summary small,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-audit-summary em,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .company-admin-panel-header p,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .company-admin-details dt,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .company-profile-details dt,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .company-profile-stat small,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-activity-item small,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-note-list span {
  color: var(--diiwaan-muted) !important;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-audit-summary strong,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .company-admin-panel-header h2,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .company-admin-details dd,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .company-profile-details dd,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-activity-item strong,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-note-list strong,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .user-admin-person strong,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .user-reset-profile strong {
  color: var(--diiwaan-heading) !important;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-note-list i,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-activity-item > span {
  background: rgba(76, 141, 255, 0.16) !important;
  color: #9ec2ff !important;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .backup-center-page .app-content {
  background:
    radial-gradient(circle at 92% 3%, rgba(34, 197, 183, 0.1), transparent 30rem),
    linear-gradient(180deg, #0d1624 0%, #0b1220 100%) !important;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .backup-center-summary,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .backup-history-list > div,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .backup-restore-card,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-backup-card,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-restore-card {
  background: var(--diiwaan-surface-soft) !important;
  border-color: var(--diiwaan-border) !important;
  color: var(--diiwaan-text) !important;
  box-shadow: var(--diiwaan-shadow-soft);
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .backup-center-summary small,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .backup-center-summary em,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .backup-history-list small,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .backup-safety-list,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-backup-card p {
  color: var(--diiwaan-muted) !important;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .backup-center-summary strong,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .backup-history-list strong,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-backup-card h3 {
  color: var(--diiwaan-heading) !important;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .backup-history-list i {
  background: rgba(76, 141, 255, 0.16);
  color: #9ec2ff;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .backup-restore-card.border-danger {
  border-color: rgba(248, 113, 113, 0.5) !important;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .book-record-tabs,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .book-record-tab,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .report-directory-row,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .report-premium-metric,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .report-finder-tabs,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-card,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-company-panel,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .company-admin-summary,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-audit-summary,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-metric,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .user-admin-summary,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .dashboard-pulse-item,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .dashboard-validity-list a,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-attention-list a,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .quality-summary-item,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .book-plate-group {
  background: var(--diiwaan-surface-soft) !important;
  border-color: var(--diiwaan-border) !important;
  color: var(--diiwaan-text) !important;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .book-record-tab:hover,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .report-directory-row:hover,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .report-premium-metric:hover,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-card:hover,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .company-admin-summary:hover,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-metric:hover,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .dashboard-pulse-item:hover,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .dashboard-validity-list a:hover,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-attention-list a:hover {
  background: #1b2a40 !important;
  border-color: #3d5370 !important;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .card-header,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .data-panel-card > .card-header,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .book-records-card > .card-header,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .report-result-card > .card-header,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .dashboard-panel-header,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .report-table-heading {
  background: var(--diiwaan-surface-soft) !important;
  border-color: var(--diiwaan-border-soft) !important;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell h1,
html[data-bs-theme="dark"] .diiwaan-tabler-shell h2,
html[data-bs-theme="dark"] .diiwaan-tabler-shell h3,
html[data-bs-theme="dark"] .diiwaan-tabler-shell h4,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .card-title,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .page-title,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .diiwaan-user-name,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-company-link,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .company-admin-summary strong,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .user-admin-summary strong,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-metric strong,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .book-record-tab strong,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .dashboard-work-copy strong,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .dashboard-pulse-item strong,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .dashboard-validity-list strong,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .report-row-title,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .report-premium-metric strong,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-card-title,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .quality-summary-item strong {
  color: var(--diiwaan-heading) !important;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .dashboard-work-copy em,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .dashboard-pulse-item span,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .report-row-purpose,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .report-premium-label,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-card-description,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .quality-summary-item span,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .company-admin-summary small,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .company-admin-summary em,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-metric small,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-metric em {
  color: var(--diiwaan-muted) !important;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .dropdown-menu {
  background: var(--diiwaan-surface);
  border-color: var(--diiwaan-border);
  box-shadow: 0 0.65rem 1.35rem rgba(0, 0, 0, 0.28);
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .dropdown-item {
  color: var(--diiwaan-text);
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .dropdown-item:hover,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .dropdown-item.active {
  background: #1b2a40;
  color: #ffffff;
}

html[data-bs-theme="dark"] .diiwaan-theme-switcher .dropdown-item-icon {
  color: var(--diiwaan-muted);
}

html[data-bs-theme="dark"] .diiwaan-theme-switcher .dropdown-item-indicator {
  color: #9ec2ff;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .form-control,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .form-select,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .input-group-text,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .dt-search input,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .dt-length select {
  background-color: #0d1624;
  border-color: var(--diiwaan-border);
  color: var(--diiwaan-text);
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .form-control:hover,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .form-select:hover {
  border-color: #3d5370;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .form-control:focus,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .form-select:focus {
  background-color: #0d1624;
  border-color: #4c8dff;
  box-shadow: 0 0 0 0.18rem rgba(76, 141, 255, 0.18);
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .form-control::placeholder {
  color: #6f839d;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .form-check-label,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .form-label,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .dt-length,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .dt-info,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .dt-search {
  color: var(--diiwaan-muted);
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .table thead th,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .data-panel-card .table thead th,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .report-table thead th,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .dashboard-recent-table thead th {
  background: #172438 !important;
  border-color: var(--diiwaan-border-soft);
  color: #b9c8da !important;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .table tbody td,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .data-panel-card .table tbody td,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .report-table tbody td {
  background: transparent;
  border-color: var(--diiwaan-border-soft);
  color: var(--diiwaan-text) !important;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .table-striped > tbody > tr:nth-of-type(odd) > * {
  --bs-table-bg-type: #132034;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .table-hover > tbody > tr:hover > * {
  --bs-table-bg-state: #1b2a40;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .btn-outline-secondary,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .btn-outline-dark,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .btn-light {
  background: #172438;
  border-color: var(--diiwaan-border);
  color: var(--diiwaan-text);
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .btn-outline-secondary:hover,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .btn-outline-dark:hover,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .btn-light:hover {
  background: #1f3048;
  border-color: #3d5370;
  color: #ffffff;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .pagination .page-link {
  background: #111c2d;
  border-color: var(--diiwaan-border);
  color: #9ec2ff;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .alert {
  border-color: var(--diiwaan-border);
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .modal-content {
  background: var(--diiwaan-surface);
  border-color: var(--diiwaan-border);
  color: var(--diiwaan-text);
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .modal-header,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .modal-footer {
  border-color: var(--diiwaan-border-soft);
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .bg-white {
  background-color: var(--diiwaan-surface) !important;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .bg-light,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .bg-body-tertiary {
  background-color: #0d1624 !important;
}

html[data-bs-theme="dark"] .diiwaan-footer {
  background: #0b1220;
  border-color: var(--diiwaan-border);
}

html[data-bs-theme="dark"] .diiwaan-login-page .card {
  background: var(--diiwaan-surface);
  border-color: var(--diiwaan-border);
}

.diiwaan-tabler-shell .admin-dashboard-page {
  background: linear-gradient(180deg, #f8fbff 0%, #f6f8fb 46%, #f7f9fc 100%);
}

.diiwaan-tabler-shell .admin-dashboard-page .app-content-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 0.12rem 0.45rem rgba(15, 23, 42, 0.025);
  padding: 0.7rem 0;
}

.diiwaan-tabler-shell .admin-dashboard-page .app-content-header h3 {
  color: var(--diiwaan-heading);
  font-size: 1.12rem;
  font-weight: 600;
}

.diiwaan-tabler-shell .admin-dashboard-page .app-content {
  background: transparent;
}

.diiwaan-tabler-shell .admin-hero {
  background:
    linear-gradient(135deg, rgba(13, 110, 253, 0.055), rgba(20, 184, 166, 0.04)),
    #ffffff;
  border: 1px solid #dbe5f2;
  border-radius: 12px;
  box-shadow: 0 0.25rem 0.85rem rgba(15, 23, 42, 0.04);
  margin-bottom: 0.9rem;
  padding: 0.95rem 1.05rem;
}

.diiwaan-tabler-shell .admin-hero::after {
  display: none;
}

.diiwaan-tabler-shell .admin-kicker {
  color: #0d6efd;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.diiwaan-tabler-shell .admin-hero h1 {
  color: var(--diiwaan-heading);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.25;
}

.diiwaan-tabler-shell .admin-hero p {
  color: #64748b;
  font-size: 0.88rem;
}

.diiwaan-tabler-shell .admin-hero-actions .btn {
  border-radius: 7px;
  font-weight: 500;
  min-width: 96px;
}

.diiwaan-tabler-shell .admin-metric {
  background: #ffffff;
  border: 1px solid #dbe5f2;
  border-radius: 10px;
  box-shadow: 0 0.2rem 0.65rem rgba(15, 23, 42, 0.035);
  color: var(--diiwaan-heading);
  min-height: 92px;
  padding: 0.75rem;
  text-decoration: none !important;
}

.diiwaan-tabler-shell .admin-metric:hover {
  background: #fbfdff;
  border-color: #b7cbe2;
  box-shadow: 0 0.45rem 1.05rem rgba(15, 23, 42, 0.06);
  color: var(--diiwaan-heading);
  text-decoration: none !important;
}

.diiwaan-tabler-shell .admin-metric,
.diiwaan-tabler-shell .admin-metric:hover,
.diiwaan-tabler-shell .admin-metric:focus,
.diiwaan-tabler-shell .admin-metric:active,
.diiwaan-tabler-shell .admin-metric *,
.diiwaan-tabler-shell .admin-metric:hover *,
.diiwaan-tabler-shell .admin-metric:focus *,
.diiwaan-tabler-shell .admin-metric:active *,
.diiwaan-tabler-shell .admin-attention-list a,
.diiwaan-tabler-shell .admin-attention-list a:hover,
.diiwaan-tabler-shell .admin-attention-list a *,
.diiwaan-tabler-shell .admin-attention-list a:hover * {
  text-decoration: none !important;
}

.diiwaan-tabler-shell .admin-metric span {
  border-radius: 10px;
  font-size: 1rem;
  height: 42px;
  width: 42px;
}

.diiwaan-tabler-shell .admin-metric small {
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 500;
}

.diiwaan-tabler-shell .admin-metric strong {
  color: var(--diiwaan-heading);
  font-size: 1.34rem;
  font-weight: 600;
}

.diiwaan-tabler-shell .admin-metric em {
  color: #64748b;
  font-size: 0.74rem;
  font-weight: 400;
}

.diiwaan-tabler-shell .admin-dashboard-page .card,
.diiwaan-tabler-shell .admin-dashboard-page .data-panel-card {
  border: 1px solid #dbe5f2;
  border-radius: 12px;
  box-shadow: 0 0.25rem 0.85rem rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.diiwaan-tabler-shell .admin-dashboard-page .card-header {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid #e2e8f0;
  min-height: 52px;
  padding: 0.78rem 0.95rem;
}

.diiwaan-tabler-shell .admin-dashboard-page .card-title {
  color: var(--diiwaan-heading);
  font-size: 0.96rem;
  font-weight: 600;
}

.diiwaan-tabler-shell .admin-dashboard-page .card-body {
  padding: 0.95rem;
}

.diiwaan-tabler-shell .admin-dashboard-page .table thead th {
  color: #344054;
  font-weight: 600;
}

.diiwaan-tabler-shell .admin-dashboard-page .table tbody td,
.diiwaan-tabler-shell .admin-activity-item strong {
  color: #1f2937;
  font-size: 0.86rem;
  font-weight: 500;
}

.diiwaan-tabler-shell .admin-activity-item small,
.diiwaan-tabler-shell .admin-note-list span,
.diiwaan-tabler-shell .admin-attention-list small {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 400;
}

.diiwaan-tabler-shell .admin-attention-list strong,
.diiwaan-tabler-shell .admin-empty-state span {
  color: #1f2937;
  font-size: 0.86rem;
  font-weight: 500;
}

.diiwaan-tabler-shell .admin-note-list i,
.diiwaan-tabler-shell .admin-activity-item > span,
.diiwaan-tabler-shell .admin-attention-list a > span {
  border-radius: 10px;
}

.diiwaan-tabler-shell .user-admin-page .app-content-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 0.12rem 0.45rem rgba(15, 23, 42, 0.025);
  padding: 0.7rem 0;
}

.diiwaan-tabler-shell .user-admin-page .app-content-header h3 {
  color: var(--diiwaan-heading);
  font-size: 1.12rem;
  font-weight: 600;
}

.diiwaan-tabler-shell .user-admin-page .app-content {
  background: linear-gradient(180deg, #f8fbff 0%, #f6f8fb 46%, #f7f9fc 100%);
}

.diiwaan-tabler-shell .company-users-hero {
  background:
    linear-gradient(135deg, rgba(13, 110, 253, 0.055), rgba(20, 184, 166, 0.04)),
    #ffffff;
  border: 1px solid #dbe5f2;
  border-radius: 12px;
  box-shadow: 0 0.25rem 0.85rem rgba(15, 23, 42, 0.04);
  color: var(--diiwaan-heading);
  margin-bottom: 0.9rem;
  padding: 0.95rem 1.05rem;
}

.diiwaan-tabler-shell .company-users-hero::after {
  display: none;
}

.diiwaan-tabler-shell .company-users-hero h1 {
  color: var(--diiwaan-heading);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.25;
}

.diiwaan-tabler-shell .company-users-hero p {
  color: #64748b;
  font-size: 0.88rem;
}

.diiwaan-tabler-shell .company-users-hero-actions .btn {
  border-radius: 7px;
  font-weight: 500;
}

.diiwaan-tabler-shell .user-admin-summary {
  border: 1px solid #dbe5f2;
  border-radius: 10px;
  box-shadow: 0 0.2rem 0.65rem rgba(15, 23, 42, 0.035);
  color: var(--diiwaan-heading);
  min-height: 88px;
  padding: 0.75rem;
  text-decoration: none !important;
}

.diiwaan-tabler-shell .user-admin-summary:hover {
  background: #fbfdff;
  border-color: #b7cbe2;
  box-shadow: 0 0.45rem 1.05rem rgba(15, 23, 42, 0.06);
  color: var(--diiwaan-heading);
  text-decoration: none !important;
}

.diiwaan-tabler-shell .user-admin-summary,
.diiwaan-tabler-shell .user-admin-summary:hover,
.diiwaan-tabler-shell .user-admin-summary:focus,
.diiwaan-tabler-shell .user-admin-summary:active,
.diiwaan-tabler-shell .user-admin-summary *,
.diiwaan-tabler-shell .user-admin-summary:hover *,
.diiwaan-tabler-shell .user-admin-summary:focus *,
.diiwaan-tabler-shell .user-admin-summary:active * {
  text-decoration: none !important;
}

.diiwaan-tabler-shell .user-admin-summary span {
  border-radius: 10px;
  height: 42px;
  width: 42px;
}

.diiwaan-tabler-shell .user-admin-summary small {
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 500;
}

.diiwaan-tabler-shell .user-admin-summary strong {
  color: var(--diiwaan-heading);
  font-size: 1.34rem;
  font-weight: 600;
}

.diiwaan-tabler-shell .user-admin-filter-panel,
.diiwaan-tabler-shell .user-admin-page .data-panel-card {
  background: #ffffff;
  border: 1px solid #dbe5f2;
  border-radius: 12px;
  box-shadow: 0 0.25rem 0.85rem rgba(15, 23, 42, 0.04);
}

.diiwaan-tabler-shell .user-admin-filter-panel {
  padding: 0.9rem;
}

.diiwaan-tabler-shell .user-admin-filter-panel .form-label {
  color: #64748b;
  font-size: 0.74rem;
  font-weight: 500;
}

.diiwaan-tabler-shell .user-admin-filter-panel .form-control,
.diiwaan-tabler-shell .user-admin-filter-panel .form-select {
  border-color: #d8e2ef;
  border-radius: 7px;
  min-height: 38px;
}

.diiwaan-tabler-shell .user-admin-page .card-title {
  color: var(--diiwaan-heading);
  font-size: 0.96rem;
  font-weight: 600;
}

.diiwaan-tabler-shell .user-admin-table thead th {
  color: #344054;
  font-weight: 600;
}

.diiwaan-tabler-shell .user-admin-table tbody td,
.diiwaan-tabler-shell .user-admin-person strong {
  color: #1f2937;
  font-size: 0.86rem;
  font-weight: 500;
}

.user-presence-badge {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.74rem;
  font-weight: 600;
  gap: 0.35rem;
  line-height: 1;
  padding: 0.35rem 0.55rem;
  white-space: nowrap;
}

.user-presence-badge > span {
  border-radius: 999px;
  display: inline-block;
  height: 0.45rem;
  width: 0.45rem;
}

.user-presence-badge.is-online {
  background: rgba(18, 183, 106, 0.12);
  color: #087443;
}

.user-presence-badge.is-online > span {
  background: #12b76a;
}

.user-presence-badge.is-offline {
  background: rgba(102, 112, 133, 0.12);
  color: #475467;
}

.user-presence-badge.is-offline > span {
  background: #98a2b3;
}

.user-presence-dot {
  border-radius: 999px;
  display: inline-block;
  height: 0.72rem;
  vertical-align: middle;
  width: 0.72rem;
}

.user-presence-dot.is-online {
  background: #12b76a;
  box-shadow: 0 0 0 4px rgba(18, 183, 106, 0.14);
  animation: presencePulse 2.8s ease-in-out infinite;
}

.user-presence-dot.is-offline {
  background: #f04438;
  box-shadow: 0 0 0 4px rgba(240, 68, 56, 0.12);
}

@keyframes presencePulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.82;
    transform: scale(0.94);
  }
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .user-presence-badge.is-online {
  background: rgba(18, 183, 106, 0.18);
  color: #75e0a7;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .user-presence-badge.is-offline {
  background: rgba(152, 162, 179, 0.18);
  color: #cbd5e1;
}

html[data-bs-theme="dark"] .presence-dot.is-offline,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .user-presence-dot.is-offline {
  background: #ff6b6b;
  box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.14);
}

.diiwaan-tabler-shell .user-admin-person small {
  color: #64748b;
  font-size: 0.78rem;
}

.diiwaan-tabler-shell .report-page .card-title,
.diiwaan-tabler-shell .report-page .report-table-heading h3,
.diiwaan-tabler-shell .report-page .report-workspace-header h1 {
  font-weight: 600;
}

.diiwaan-tabler-shell .report-page .report-visible-filters,
.diiwaan-tabler-shell .report-page .report-table-section,
.diiwaan-tabler-shell .report-page .report-summary-strip,
.diiwaan-tabler-shell .report-page .card {
  border-color: #dbe5f2;
  border-radius: 12px;
  box-shadow: 0 0.25rem 0.85rem rgba(15, 23, 42, 0.04);
}

.diiwaan-tabler-shell .report-page .report-table thead th {
  color: #344054;
  font-weight: 600;
}

.diiwaan-tabler-shell .report-page .report-table tbody td {
  color: #1f2937;
  font-size: 0.86rem;
}

.diiwaan-tabler-shell .report-page a:hover {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

/* Final dark-mode pass: keep late Tabler-polish rules from repainting pages white. */
html[data-bs-theme="dark"] .diiwaan-login-page {
  background:
    radial-gradient(circle at 50% 0%, rgba(76, 141, 255, 0.16), transparent 28rem),
    linear-gradient(180deg, #0d1624 0%, #0b1220 100%) !important;
  color: var(--diiwaan-text);
}

html[data-bs-theme="dark"] .diiwaan-login-page .card {
  background:
    linear-gradient(180deg, rgba(23, 36, 56, 0.96), rgba(17, 28, 45, 0.98)) !important;
  border-color: var(--diiwaan-border) !important;
  box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.32);
}

html[data-bs-theme="dark"] .diiwaan-login-page .login-brand-version,
html[data-bs-theme="dark"] .diiwaan-login-page .login-box-msg {
  color: var(--diiwaan-muted) !important;
}

html[data-bs-theme="dark"] .diiwaan-login-page .form-control,
html[data-bs-theme="dark"] .diiwaan-login-page .input-group-text {
  background-color: #0d1624 !important;
  border-color: var(--diiwaan-border) !important;
  color: var(--diiwaan-text) !important;
}

html[data-bs-theme="dark"] .diiwaan-login-page .form-control::placeholder {
  color: #6f839d;
}

html[data-bs-theme="dark"] .diiwaan-login-page .input-group-text {
  color: #9eb0c6 !important;
}

html[data-bs-theme="dark"] .diiwaan-login-page .form-control:focus {
  border-color: #4c8dff !important;
  box-shadow: 0 0 0 0.18rem rgba(76, 141, 255, 0.2) !important;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-dashboard-page,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-dashboard-page .app-content,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .user-admin-page .app-content,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-dashboard-page .app-content,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .company-admin-page .app-content,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .company-admin-profile-page .app-content,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .report-page .app-content,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .work-queue-page .app-content {
  background:
    radial-gradient(circle at 88% 0%, rgba(34, 197, 183, 0.09), transparent 28rem),
    linear-gradient(180deg, #0d1624 0%, #0b1220 100%) !important;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-dashboard-page .app-content-header,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .user-admin-page .app-content-header {
  background: rgba(17, 28, 45, 0.96) !important;
  border-color: var(--diiwaan-border) !important;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-hero,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .company-users-hero,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-dashboard-page .card,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-dashboard-page .data-panel-card,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .user-admin-filter-panel,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .user-admin-page .data-panel-card,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-panel,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-info-grid div,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-system-logo-box,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-health-list strong,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .report-page .report-visible-filters,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .report-page .report-table-section,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .report-page .report-summary-strip,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .report-page .card,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .work-queue-hero,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .work-queue-section,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .work-queue-section-header {
  background: var(--diiwaan-surface) !important;
  border-color: var(--diiwaan-border) !important;
  box-shadow: var(--diiwaan-shadow-soft) !important;
  color: var(--diiwaan-text) !important;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-metric,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-metric:hover,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .user-admin-summary,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .user-admin-summary:hover,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-backup-card,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-restore-card,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-maintenance-row,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-health-list div,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .company-profile-stat,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .user-reset-profile,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .work-queue-tabs button,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .work-queue-tabs button.active,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .work-queue-tabs button:hover,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .work-queue-section-actions span {
  background: var(--diiwaan-surface-soft) !important;
  border-color: var(--diiwaan-border) !important;
  color: var(--diiwaan-text) !important;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-hero h1,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .company-users-hero h1,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-dashboard-page .card-title,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .user-admin-page .card-title,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-dashboard-page .table tbody td,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-activity-item strong,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-attention-list strong,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-empty-state span,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .user-admin-table tbody td,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .user-admin-person strong,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-panel-header h2,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-info-grid strong,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-company-details dd,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-backup-card h3,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-maintenance-row strong,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-health-list strong,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .report-page .report-table tbody td,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .work-queue-hero h1,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .work-queue-title h2,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .work-queue-tabs button,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .work-queue-tabs button.queue-dark strong,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .work-queue-table tbody td {
  color: var(--diiwaan-heading) !important;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-hero p,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .company-users-hero p,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-metric small,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-metric em,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-activity-item small,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-note-list span,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-attention-list small,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .user-admin-summary small,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .user-admin-person small,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .user-admin-filter-panel .form-label,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-panel-header p,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-info-grid span,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-company-details dt,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-inline-form .form-label,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-format-field .form-label,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-system-logo-box span,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-system-logo-box small,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-maintenance-row span,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-backup-card p,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-health-list span,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .work-queue-hero p,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .work-queue-title p,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .work-queue-tabs button span,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .work-queue-note {
  color: var(--diiwaan-muted) !important;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-dashboard-page .card-header,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-panel-header,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-panel-footer,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-inline-form {
  background: var(--diiwaan-surface-soft) !important;
  border-color: var(--diiwaan-border-soft) !important;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-dashboard-tabs {
  border-color: var(--diiwaan-border) !important;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-dashboard-tabs button {
  color: var(--diiwaan-muted) !important;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-dashboard-tabs button:hover,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-dashboard-tabs button.active {
  color: #9ec2ff !important;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-company-logo img,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-system-logo-box img {
  border-color: var(--diiwaan-border) !important;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-health-list div,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-company-details dt,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .settings-company-details dd {
  border-color: var(--diiwaan-border-soft) !important;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .report-page .report-table thead th,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .user-admin-table thead th,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .admin-dashboard-page .table thead th,
html[data-bs-theme="dark"] .diiwaan-tabler-shell .work-queue-table thead th {
  background: #172438 !important;
  border-color: var(--diiwaan-border-soft) !important;
  color: #b9c8da !important;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .work-queue-tabs button.active {
  border-color: #4c8dff !important;
  box-shadow: 0 0.65rem 1.25rem rgba(76, 141, 255, 0.16) !important;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .work-queue-tabs button i {
  background: #0d1624 !important;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .queue-warning.queue-icon {
  background: rgba(245, 158, 11, 0.16) !important;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .queue-primary.queue-icon {
  background: rgba(76, 141, 255, 0.16) !important;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .queue-info.queue-icon {
  background: rgba(34, 197, 183, 0.16) !important;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .queue-success.queue-icon {
  background: rgba(34, 197, 94, 0.16) !important;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .queue-dark.queue-icon {
  background: rgba(148, 163, 184, 0.16) !important;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .queue-danger.queue-icon {
  background: rgba(239, 68, 68, 0.16) !important;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .work-queue-table tbody td {
  border-color: var(--diiwaan-border-soft) !important;
}

html[data-bs-theme="dark"] .diiwaan-tabler-shell .work-queue-table tbody tr:hover {
  --bs-table-hover-bg: #1b2a40;
}

@media (min-width: 992px) {
  .diiwaan-tabler-shell .diiwaan-topbar {
    margin-left: 17rem !important;
    width: calc(100% - 17rem);
  }

  .diiwaan-tabler-shell .diiwaan-sidebar {
    bottom: 0;
    left: 0;
    position: fixed;
    top: 0;
    width: 17rem;
    z-index: 1030;
  }

  .diiwaan-tabler-shell .page-wrapper {
    margin-left: 17rem !important;
    width: calc(100% - 17rem);
  }

  .diiwaan-sidebar .navbar-collapse {
    display: block !important;
  }
}

@media (max-width: 991.98px) {
  .diiwaan-topbar .navbar-brand {
    display: none;
  }

  .diiwaan-sidebar {
    position: static;
  }

  .diiwaan-sidebar .navbar-brand {
    display: flex;
  }

  .diiwaan-tabler-shell .page-wrapper {
    margin-left: 0;
  }

  .diiwaan-tabler-shell .app-content-header,
  .diiwaan-tabler-shell .app-content {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
}

@media (max-width: 575.98px) {
  .diiwaan-tabler-shell .book-records-page .book-record-tabs {
    grid-template-columns: 1fr;
  }
}

@media print {
  @page {
    margin: 10mm;
    size: A4 landscape;
  }

  html,
  body {
    background: #fff !important;
  }

  *,
  *::before,
  *::after {
    box-shadow: none !important;
    text-shadow: none !important;
  }

  .diiwaan-sidebar,
  .app-content-header,
  .diiwaan-footer,
  .no-print,
  .card:has(form),
  .dataTables_length,
  .dataTables_filter,
  .dataTables_info,
  .dataTables_paginate,
  .dt-length,
  .dt-search,
  .dt-info,
  .dt-paging,
  .dt-buttons,
  .dt-processing,
  .dt-print-hide,
  .pagination,
  .table-actions {
    display: none !important;
  }

  .app-main {
    margin-left: 0 !important;
  }

  .app-content,
  .container-fluid {
    padding: 0 !important;
  }

  .table-responsive,
  .dt-container {
    display: block !important;
    overflow: visible !important;
    width: 100% !important;
  }

  .dt-container > .row,
  .dt-container > .dt-layout-row,
  .dt-layout-cell {
    display: contents !important;
  }

  .card {
    border: 0 !important;
    box-shadow: none !important;
  }

  .card-header {
    display: none !important;
  }

  .card-body {
    padding: 0 !important;
  }

  .report-header {
    align-items: center !important;
    border: 0;
    border-radius: 0;
    display: block !important;
    margin-bottom: 7mm;
    padding: 0;
    text-align: center;
  }

  .report-header .d-flex {
    display: block !important;
  }

  .report-header .gap-3 {
    gap: 0 !important;
  }

  .report-logo {
    display: block;
    height: 32mm;
    margin: 0 auto 2mm;
    object-fit: contain;
    width: 32mm;
  }

  .report-header h2 {
    color: #000 !important;
    font-size: 15pt !important;
    font-weight: 700 !important;
    line-height: 1.2;
    margin: 0 0 2mm !important;
  }

  .report-header .text-secondary,
  .report-header .small {
    color: #000 !important;
    font-size: 9pt !important;
    line-height: 1.3;
  }

  .report-header .text-lg-end {
    margin-top: 4mm;
    text-align: right !important;
  }

  .report-header .text-lg-end h1 {
    color: #000 !important;
    font-size: 13pt !important;
    font-weight: 700 !important;
    margin: 0 0 2mm !important;
    text-align: center !important;
  }

  .report-table {
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    font-size: 9pt !important;
    text-transform: uppercase !important;
    width: 100% !important;
  }

  .report-table thead {
    display: table-row-group !important;
  }

  .report-table,
  .report-table *,
  .report-table.table-striped > tbody > tr:nth-of-type(odd) > *,
  .report-table.table-hover > tbody > tr:hover > * {
    background-image: none !important;
    box-shadow: none !important;
  }

  .report-table .dt-column-order,
  .report-table .dt-column-order::before,
  .report-table .dt-column-order::after,
  .report-table th::before,
  .report-table th::after {
    content: none !important;
    display: none !important;
  }

  .report-table th,
  .report-table td {
    border: 1px solid #000 !important;
    color: #000 !important;
    padding: 2mm 1.5mm !important;
    vertical-align: top !important;
  }

  .report-table tbody tr,
  .report-table tbody td {
    background: #fff !important;
  }

  .report-table th {
    background-color: #ebeef2 !important;
    font-weight: 700;
  }

  .report-no-col {
    text-align: center !important;
    width: 9mm !important;
  }

  .report-owner-col {
    width: 42mm !important;
  }

}
