html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 15px;
  }
}

:root {
  --app-bg: #f6f8fb;
  --app-surface: #ffffff;
  --app-border: #e5eaf2;
  --app-border-soft: #eef2f7;
  --app-text: #24324b;
  --app-heading: #101828;
  --app-muted: #667085;
  --app-primary: #2563eb;
  --app-primary-hover: #1d4ed8;
  --app-primary-soft: #eff6ff;
  --app-success-soft: #ecfdf3;
  --app-danger-soft: #fff1f3;
  --app-radius: 12px;
  --app-sidebar-width: 276px;
  --app-shadow: 0 10px 30px rgba(16, 24, 40, .05);
}

* {
  letter-spacing: 0;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--app-text);
  background: var(--app-bg);
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
}

a {
  color: var(--app-primary);
  text-decoration: none;
}

a:hover {
  color: var(--app-primary-hover);
}

.app-shell {
  display: flex;
  min-height: 100vh;
}

.app-sidebar {
  width: var(--app-sidebar-width);
  color: var(--app-text);
  background: var(--app-surface);
  border: 0;
  border-right: 1px solid var(--app-border);
  box-shadow: none;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 1.15rem;
  border-bottom: 1px solid var(--app-border-soft);
}

.sidebar-brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--app-heading);
  font-weight: 600;
}

.brand-mark {
  display: inline-grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  color: #fff;
  background: var(--app-primary);
  border-radius: 10px;
  font-size: .82rem;
  font-weight: 600;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: .12rem;
  height: calc(100vh - 68px);
  overflow-y: auto;
  padding: .85rem;
}

.sidebar-section {
  margin: 1rem .75rem .35rem;
  color: #98a2b3;
  font-size: .73rem;
  font-weight: 600;
  text-transform: uppercase;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: .6rem;
  min-height: 2.45rem;
  padding: .58rem .75rem;
  color: #475467;
  border-radius: 10px;
  font-size: .94rem;
  font-weight: 500;
}

.sidebar-link:hover,
.sidebar-link:focus,
.sidebar-link.active {
  color: var(--app-primary);
  background: var(--app-primary-soft);
}

.menu-bullet {
  width: .38rem;
  height: .38rem;
  flex: 0 0 .38rem;
  border-radius: 999px;
  background: #cbd5e1;
}

.sidebar-link:hover .menu-bullet,
.sidebar-link:focus .menu-bullet,
.sidebar-link.active .menu-bullet {
  background: var(--app-primary);
}

.app-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.app-topbar {
  position: sticky;
  top: 0;
  z-index: 1010;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 68px;
  padding: 0 1.25rem;
  background: rgba(246, 248, 251, .92);
  border-bottom: 1px solid var(--app-border);
  backdrop-filter: blur(10px);
}

.topbar-heading {
  display: grid;
  gap: .1rem;
  min-width: 0;
}

.topbar-title {
  color: var(--app-heading);
  font-size: 1.05rem;
  font-weight: 600;
  white-space: nowrap;
}

.topbar-subtitle {
  color: var(--app-muted);
  font-size: .82rem;
}

.topbar-account {
  margin-left: auto;
}

.topbar-search {
  align-items: center;
  gap: .7rem;
  width: min(420px, 36vw);
  margin-left: auto;
  padding: .35rem .45rem .35rem .8rem;
  color: var(--app-muted);
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  border-radius: 999px;
}

.topbar-search .form-control {
  border: 0;
  box-shadow: none;
  background: transparent;
}

.btn {
  border-radius: 10px;
  font-weight: 500;
  box-shadow: none !important;
}

.btn-primary {
  background: var(--app-primary);
  border-color: var(--app-primary);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--app-primary-hover);
  border-color: var(--app-primary-hover);
}

.btn-outline-primary {
  color: var(--app-primary);
  border-color: #bfdbfe;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  color: #fff;
  background: var(--app-primary);
  border-color: var(--app-primary);
}

.btn-icon {
  min-width: 2.5rem;
  min-height: 2.5rem;
  color: #475467;
  background: var(--app-surface);
  border: 1px solid var(--app-border);
}

.user-toggle {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--app-text);
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  padding: .36rem .55rem;
}

.user-avatar {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  color: #fff;
  background: var(--app-primary);
  border-radius: 10px;
  font-size: .76rem;
  font-weight: 600;
}

.user-avatar-lg {
  width: 2.7rem;
  height: 2.7rem;
}

.user-name {
  max-width: 12rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown-menu {
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius);
  box-shadow: var(--app-shadow);
  padding: .55rem;
}

.user-menu {
  min-width: 280px;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .65rem;
}

.user-profile strong {
  display: block;
  color: var(--app-heading);
}

.user-profile span {
  color: var(--app-muted);
  font-size: .86rem;
}

.user-meta {
  display: flex;
  gap: .45rem;
  padding: 0 .65rem .55rem;
}

.dropdown-item {
  border-radius: 8px;
  padding: .58rem .72rem;
  font-weight: 500;
}

.app-main {
  flex: 1;
  width: 100%;
  max-width: none;
  padding: 1.25rem;
}

.app-footer {
  width: 100%;
  margin-top: auto;
  background: #ffffff;
  border-top: 1px solid var(--app-border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: none;
  padding: 1rem 1.25rem;
  color: var(--app-muted);
  font-size: .88rem;
}

.footer-status {
  color: #475467;
}

.profile-card,
.form-panel,
.details-grid,
.quick-card,
.empty-state,
.summary-box,
.table-card {
  background: var(--app-surface);
  border: 1px solid var(--app-border);
  border-radius: var(--app-radius);
  box-shadow: none;
}

.page-title-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .55rem;
  flex-wrap: wrap;
  width: auto;
  margin-left: auto;
  margin: 0 0 1rem;
}

.page-title-actions form {
  margin: 0;
  width: auto !important;
  flex: 0 0 auto;
}

.page-title-actions > .btn,
.page-title-actions > form > .btn {
  width: auto !important;
  flex: 0 0 auto;
}

.form-panel,
.details-grid,
.empty-state,
.summary-box,
.table-card {
  padding: 1.15rem;
}

.table-card {
  margin: 1rem 0;
  overflow: visible;
}

.table-card .table {
  margin-bottom: 0;
}

.table-card .table-card-title {
  margin: 0 0 .75rem;
}

.table-card .table-card-filter {
  margin: 0 0 .9rem;
  padding: 0;
  border: 0;
  background: transparent;
}

.table-card .table-card-filter.row {
  margin-left: 0;
  margin-right: 0;
}

.table-card .table-card-filter button[type="submit"] {
  width: auto !important;
  min-width: 7rem;
}

.table-card .table-responsive {
  border-radius: 10px;
}

.select-searchable {
  position: relative;
}

.select-searchable-native {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.select-searchable-control {
  width: 100%;
  min-height: 2.55rem;
  height: 2.55rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .375rem .75rem;
  line-height: 1.5;
  background: #fff;
  border: 1px solid var(--app-border);
  border-radius: 10px;
  color: var(--app-text);
  text-align: left;
}

.select-searchable-value {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.select-searchable-control::after {
  content: "";
  width: .5rem;
  height: .5rem;
  border-right: 2px solid #667085;
  border-bottom: 2px solid #667085;
  transform: rotate(45deg);
  margin-left: .5rem;
}

.select-searchable-control:focus {
  outline: none;
  border-color: #93c5fd;
  box-shadow: 0 0 0 .22rem rgba(37, 99, 235, .12);
}

.select-searchable-dropdown {
  position: absolute;
  z-index: 2000;
  left: 0;
  right: 0;
  margin-top: .35rem;
  background: #fff;
  border: 1px solid var(--app-border);
  border-radius: 10px;
  padding: .5rem;
  box-shadow: var(--app-shadow);
}

.select-searchable-input {
  min-height: 2rem;
  margin-bottom: .5rem;
}

.select-searchable-options {
  max-height: 240px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.select-searchable-option {
  border: 0;
  background: transparent;
  text-align: left;
  padding: .45rem .55rem;
  border-radius: 8px;
  color: var(--app-text);
}

.select-searchable-option:hover {
  background: #f3f7ff;
}

.select-searchable-option.active {
  background: #e7efff;
  color: var(--app-primary);
  font-weight: 600;
}

.select-searchable-option.disabled {
  color: #98a2b3;
}

.report-table-scroll {
  overflow: hidden;
  border: 1px solid var(--app-border);
  border-radius: 10px;
}

.report-table-scroll .table {
  margin-bottom: 0;
  width: 100%;
  table-layout: fixed;
}

.report-table-scroll .table thead,
.report-table-scroll .table tbody tr {
  display: table;
  width: 100%;
  table-layout: fixed;
}

.report-table-scroll .table tbody {
  display: block;
  max-height: 56vh;
  overflow-y: auto;
  overflow-x: hidden;
}

.report-table-scroll .table thead th {
  background: #f8fafc;
  box-shadow: inset 0 -1px 0 var(--app-border);
}

.report-table-scroll tbody tr:last-child td {
  border-bottom: 0;
}

.report-code-badge {
  background: #e0ecff;
  color: #0b3b8a;
  border: 1px solid #b8d1ff;
  font-weight: 600;
  min-width: 3rem;
  text-align: center;
}

.quick-grid,
.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.profile-card {
  overflow: hidden;
  margin-bottom: 1rem;
}

.profile-cover {
  min-height: 92px;
  background: linear-gradient(135deg, #dbeafe, #eef2ff);
  border-bottom: 1px solid var(--app-border);
}

.profile-body {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.15rem 1rem;
}

.profile-main {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  min-width: 0;
}

.profile-avatar {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  margin-top: -41px;
  color: #fff;
  background: var(--app-primary);
  border: 4px solid #fff;
  border-radius: 16px;
  font-size: 1.18rem;
  font-weight: 600;
}

.profile-main h1 {
  color: var(--app-heading);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 0;
}

.profile-main p {
  color: var(--app-muted);
  margin: .3rem 0 .5rem;
}

.profile-meta,
.profile-actions,
.user-meta {
  display: flex;
  flex-wrap: wrap;
}

.profile-meta {
  gap: .45rem;
}

.profile-actions {
  gap: .55rem;
  padding-top: 1rem;
}

.profile-meta span,
.work-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.6rem;
  padding: .2rem .55rem;
  color: var(--app-primary);
  background: var(--app-primary-soft);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 500;
}

.profile-tabs {
  display: flex;
  gap: .3rem;
  overflow-x: auto;
  padding: 0 1.15rem;
  border-top: 1px solid var(--app-border);
}

.profile-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: 0 .75rem;
  color: #475467;
  border-bottom: 2px solid transparent;
  font-weight: 500;
  white-space: nowrap;
}

.profile-tabs a:hover,
.profile-tabs a.active {
  color: var(--app-primary);
  border-bottom-color: var(--app-primary);
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem 0;
}

.section-heading h2 {
  color: var(--app-heading);
  font-size: 1.08rem;
  font-weight: 600;
  margin: 0;
}

.section-heading span,
.quick-card span,
.summary-box span,
.details-grid dt {
  color: var(--app-muted);
}

.quick-card {
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  padding: 1.05rem;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.quick-card:hover {
  color: inherit;
  border-color: #bfdbfe;
  box-shadow: var(--app-shadow);
  transform: translateY(-2px);
}

.quick-card strong {
  color: var(--app-heading);
  font-size: 1.02rem;
  font-weight: 600;
}

.summary-grid {
  margin: 1rem 0;
}

.summary-box strong {
  display: block;
  color: var(--app-heading);
  font-size: 1.35rem;
  font-weight: 600;
}

.home-dashboard {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.home-dashboard .home-section {
  margin-bottom: 0;
}

.home-dashboard .row {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 1rem;
}

.home-dashboard .table-card {
  padding: 1.2rem;
}

.home-dashboard .summary-box,
.home-dashboard .quick-card,
.home-dashboard .table-card {
  height: 100%;
}

.home-dashboard .section-title {
  margin-bottom: 0;
}

.dashboard-sparkline {
  width: 100%;
  height: 70px;
  display: block;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border: 1px solid var(--app-border-soft);
  border-radius: 12px;
  padding: .2rem;
}

.dashboard-bars {
  display: grid;
  gap: .55rem;
}

.dashboard-bar-row {
  display: grid;
  grid-template-columns: 124px 1fr 52px;
  gap: .55rem;
  align-items: center;
}

.dashboard-bar-label {
  color: #475467;
  font-size: .84rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dashboard-bar-track {
  height: .7rem;
  background: #edf2f7;
  border-radius: 999px;
  overflow: hidden;
}

.dashboard-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #60a5fa 0%, #2563eb 100%);
}

.dashboard-bar-value {
  text-align: right;
  font-size: .82rem;
  color: #344054;
  font-weight: 600;
}

.form-control,
.form-select {
  min-height: 2.55rem;
  color: var(--app-text);
  border-color: var(--app-border);
  border-radius: 10px;
  font-weight: 400;
}

.form-control-sm,
.form-select-sm {
  min-height: 2.15rem;
  border-radius: 8px;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 .22rem rgba(37, 99, 235, .12);
}

.form-label {
  color: #475467;
  font-weight: 500;
}

.flatpickr-calendar {
  border: 1px solid var(--app-border);
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(16, 24, 40, .12);
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.flatpickr-calendar.arrowTop::before,
.flatpickr-calendar.arrowTop::after {
  display: none;
}

.flatpickr-months {
  padding: .25rem .35rem 0;
  background: #fff;
}

.flatpickr-current-month {
  padding-top: .35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
}

.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
  color: var(--app-heading);
  font-weight: 600;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
  min-height: 1.75rem;
  padding: .1rem .2rem;
  font-size: .95rem;
  line-height: 1.25;
  cursor: pointer;
}

.flatpickr-current-month .flatpickr-monthDropdown-months:hover,
.app-year-select:hover {
  background: #fff;
  cursor: pointer;
}

.flatpickr-current-month .flatpickr-monthDropdown-months:focus,
.app-year-select:focus {
  outline: none;
  box-shadow: none;
  background: #fff;
  cursor: pointer;
}

.flatpickr-weekdays {
  margin-top: .25rem;
  background: #fff;
  border-top: 1px solid var(--app-border-soft);
  border-bottom: 1px solid var(--app-border-soft);
}

.flatpickr-days {
  padding-top: .2rem;
  background: #fff;
}

span.flatpickr-weekday {
  color: #64748b;
  font-weight: 600;
  font-size: .75rem;
}

.flatpickr-day {
  border-radius: 10px;
  color: var(--app-text);
  font-weight: 500;
  box-shadow: inset 0 0 0 2px #fff;
}

.flatpickr-day:hover {
  background: #eff6ff;
  border-color: #dbeafe;
}

.flatpickr-day.today {
  border-color: #93c5fd;
  color: #1e40af;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover {
  background: var(--app-primary);
  border-color: var(--app-primary);
  color: #fff;
}

.flatpickr-day.inRange {
  background: #dbeafe;
  border-color: #dbeafe;
  color: #1e3a8a;
}

.flatpickr-time input:hover,
.flatpickr-time .flatpickr-am-pm:hover,
.flatpickr-time input:focus,
.flatpickr-time .flatpickr-am-pm:focus {
  background: #eff6ff;
}

.flatpickr-prev-month,
.flatpickr-next-month {
  border-radius: 8px;
}

.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
  background: transparent;
}

.app-year-select {
  min-width: 4.8rem;
  margin-left: 0;
  min-height: 1.75rem;
  padding: .1rem .2rem;
  color: var(--app-heading);
  background: #fff;
  border: 0;
  border-radius: 6px;
  font-size: .95rem;
  line-height: 1.25;
  font-weight: 600;
  text-align: center;
  text-align-last: center;
  cursor: pointer;
}

input[type="date"],
input.flatpickr-input {
  cursor: pointer;
}

.table {
  --bs-table-bg: transparent;
  color: var(--app-text);
  vertical-align: middle;
}

.table thead th {
  color: #344054;
  background: #f9fafb;
  border-bottom: 1px solid var(--app-border);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.35;
  padding: 1rem .95rem;
  white-space: nowrap;
}

.table tbody td {
  border-color: var(--app-border-soft);
  padding: .9rem .95rem;
}

.table-hover tbody tr:hover {
  background: #f8fbff;
}

.fixed-table-pagination .pagination .page-link {
  border-radius: 8px !important;
}

.bootstrap-table .fixed-table-pagination {
  border-top: 0 !important;
  margin-top: 0 !important;
}

.fixed-table-pagination .pagination-info,
.fixed-table-pagination div.pagination-info,
.fixed-table-pagination .pagination-detail .pagination-info {
  display: none !important;
}

.fixed-table-pagination .pagination-detail {
  min-height: 0;
  font-size: 0;
}

.fixed-table-pagination .pagination-detail .page-list {
  margin-left: 0;
  font-size: 1rem;
}

.fixed-table-pagination .pagination-detail .pagination-info + .page-list {
  margin-left: 0;
}

.fixed-table-pagination .pagination-detail {
  display: flex;
  align-items: center;
}

.fixed-table-pagination .pagination-detail:has(.pagination-info) .pagination-info {
  display: none;
}

.fixed-table-pagination .pagination .page-item .page-link,
.fixed-table-pagination .pagination .page-pre .page-link,
.fixed-table-pagination .pagination .page-next .page-link {
  border-radius: 8px !important;
}

.fixed-table-pagination .pagination .page-item:first-child .page-link,
.fixed-table-pagination .pagination .page-item:last-child .page-link {
  border-radius: 8px !important;
}

.bootstrap-table .pagination .btn.active {
  border-radius: 8px !important;
}

.alert {
  border-radius: var(--app-radius);
  border: 1px solid transparent;
  box-shadow: none;
}

.alert-success {
  color: #067647;
  background: var(--app-success-soft);
  border-color: #abefc6;
}

.alert-danger {
  color: #b42318;
  background: var(--app-danger-soft);
  border-color: #fecdd6;
}

.form-actions,
.button-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.button-row {
  justify-content: flex-end;
  margin-top: 0;
}

.button-row form {
  margin: 0;
}

.details-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: .8rem 1rem;
}

.details-grid dt {
  font-weight: 500;
}

.details-grid dd {
  margin: 0;
}

.section-title {
  color: var(--app-heading);
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 600;
  margin: 1.2rem 0 .65rem;
}

.app-main h4.h5 {
  font-size: .95rem;
  line-height: 1.4;
  margin-bottom: .6rem;
}

.report-filter {
  margin-bottom: 1rem;
}

.report-two-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1rem;
}

.period-lock-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .35rem;
}

.login-shell {
  min-height: 68vh;
  display: grid;
  place-items: center;
}

.login-panel {
  width: min(440px, 100%);
  padding: 1.35rem;
}

.login-panel h1 {
  color: var(--app-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: .5rem;
}

.modal-content {
  border: 0;
  border-radius: 16px;
  box-shadow: 0 20px 70px rgba(16, 24, 40, .16);
}

@media (min-width: 992px) {
  .app-sidebar {
    position: sticky;
    top: 0;
    transform: none !important;
    visibility: visible !important;
    height: 100vh;
    flex: 0 0 var(--app-sidebar-width);
  }

  .app-sidebar.offcanvas {
    position: sticky;
  }
}

@media (max-width: 991.98px) {
  .app-shell {
    display: block;
  }

  .app-sidebar {
    width: min(88vw, 320px);
  }

  .app-main,
  .footer-inner {
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 767.98px) {
  .app-topbar {
    min-height: 62px;
    padding: 0 .85rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: .35rem;
  }

  .topbar-subtitle,
  .user-name {
    display: none;
  }

  .profile-body,
  .profile-main {
    flex-direction: column;
    align-items: stretch;
  }

  .profile-cover {
    min-height: 72px;
  }

  .profile-avatar {
    width: 72px;
    height: 72px;
    margin-top: -36px;
  }

  .profile-actions,
  .profile-actions .btn {
    width: 100%;
  }

  .page-title-actions {
    width: auto;
    justify-content: flex-end;
  }

  .page-title-actions .btn {
    width: auto;
    min-width: 0;
  }

  .form-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .form-actions .btn {
    width: 100%;
  }

  .details-grid {
    grid-template-columns: 1fr;
  }

  .period-lock-form {
    grid-template-columns: 1fr;
  }

  .table-responsive {
    overflow-x: auto;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
  }

  .report-table-scroll {
    overflow-x: auto;
  }

  .table-responsive > .table {
    min-width: 640px;
  }

  .form-select {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 2rem;
  }

  .select-searchable-control {
    overflow: hidden;
  }

  .select-searchable-control .select-searchable-value {
    max-width: 100%;
  }

  .table td,
  .table th {
    white-space: nowrap;
  }

  .table td.text-break,
  .table th.text-break {
    white-space: normal;
    word-break: break-word;
  }

  .report-table-scroll .table tbody {
    max-height: 64vh;
  }
}
