:root {
  /* Tabler.io */
  --tblr-body-bg: #ffffff;
  --tblr-primary: #007da4;
  --tblr-secondary: #2d434e;
  --tblr-danger: #e15347;
  --tblr-primary-rgb: 0, 125, 164;
  --tblr-secondary-rgb: 45, 67, 78;
  --tblr-danger-rgb: 225, 83, 71;
  --netops-topbar-bg: #dbe9ef;
  --netops-topbar-border: rgba(45, 67, 78, 0.28);
  --netops-topbar-shadow: 0 2px 10px rgba(45, 67, 78, 0.12);
  --netops-toggle-bg: #c5dce6;
  --netops-toggle-border: rgba(45, 67, 78, 0.38);
  --netops-toggle-handle-bg: #ffffff;
  --app-page-inline-padding: 0.75rem;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overscroll-behavior-y: none;
}

@media (min-width: 992px) {
  :root {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-inline-start: 0 !important;
    margin-inline-end: 0 !important;
    --app-page-inline-padding: 1rem;
  }
}

.page {
  --tblr-page-padding: 0;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  margin-inline-start: 0;
  margin-inline-end: 0;
}

.container-fluid.app-layout-container {
  --tblr-gutter-x: 0;
  margin-left: 0;
  margin-right: 0;
  margin-inline-start: 0;
  margin-inline-end: 0;
  padding-left: var(--app-page-inline-padding);
  padding-right: var(--app-page-inline-padding);
}

.card-status-start {
  display: none !important;
}

.app-topbar-shell {
  background-color: var(--netops-topbar-bg) !important;
  border-bottom: 1px solid var(--netops-topbar-border);
  box-shadow: var(--netops-topbar-shadow);
  position: sticky;
  top: 0;
  z-index: 1100;
}

.app-topbar {
  background-color: inherit !important;
  box-shadow: none;
}

.app-topbar .app-layout-container {
  position: relative;
}

.app-topbar .navbar-nav .nav-link.active,
.mobile-menu-nav .navbar-nav .nav-link.active {
  color: var(--tblr-primary) !important;
  background-color: color-mix(in srgb, var(--tblr-primary) 12%, transparent);
  border-radius: 999px;
  font-weight: 600;
}

.app-topbar .navbar-nav .dropdown-item.active,
.mobile-menu-nav .navbar-nav .dropdown-item.active {
  color: var(--tblr-primary) !important;
  background-color: color-mix(in srgb, var(--tblr-primary) 10%, var(--tblr-bg-surface));
  font-weight: 600;
}

.app-topbar .navbar-nav .dropdown-toggle.active,
.mobile-menu-nav .navbar-nav .dropdown-toggle.active {
  color: var(--tblr-primary) !important;
}

.topbar-mobile-start,
.topbar-mobile-end {
  position: relative;
  z-index: 2;
}

.app-sticky-search {
  position: relative;
  margin: 0;
  width: 100%;
}

.app-sticky-search .input-group-text,
.app-sticky-search .form-control {
  background-color: #ffffff;
  border-color: var(--tblr-border-color);
}

.modal-backdrop {
  z-index: 1190;
}

.modal {
  z-index: 1200;
}

[data-bs-theme="dark"] .app-topbar-shell {
  background-color: #111827 !important;
}

[data-bs-theme="dark"] .app-topbar .navbar-nav .nav-link.active,
[data-bs-theme="dark"] .mobile-menu-nav .navbar-nav .nav-link.active {
  background-color: color-mix(in srgb, var(--tblr-primary) 18%, transparent);
}

[data-bs-theme="dark"] .app-topbar .navbar-nav .dropdown-item.active,
[data-bs-theme="dark"] .mobile-menu-nav .navbar-nav .dropdown-item.active {
  background-color: color-mix(in srgb, var(--tblr-primary) 14%, #1f2937);
}

[data-bs-theme="dark"] .app-sticky-search {
  background-color: #111827;
}

.app-topbar-search {
  padding-top: 0.35rem;
  padding-bottom: 0.5rem;
}

[data-bs-theme="dark"] .app-sticky-search .input-group-text,
[data-bs-theme="dark"] .app-sticky-search .form-control {
  background-color: #1f2937;
  border-color: #374151;
  color: #e5e7eb;
}

.app-sticky-search .input-group {
  flex-wrap: nowrap;
}

.app-sticky-search .form-control {
  min-width: 0;
}

.home-calendar-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
}

.home-dashboard-layout {
  visibility: hidden;
}

.home-dashboard-layout.layout-ready {
  visibility: visible;
}

.home-dashboard-section {
  width: 100%;
}

.home-dashboard-stack {
  display: grid;
  gap: 1rem;
  margin-top: 0;
}

.home-dashboard-stack > * {
  margin: 0 !important;
}

.pending-requests-tabs-wrapper {
  overflow-x: auto;
  padding-bottom: 0.15rem;
}

.pending-requests-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  min-width: max-content;
}

.pending-requests-tab-panel .pending-requests-tabs-wrapper {
  overflow-x: visible;
  padding-bottom: 0;
}

.pending-requests-tab-panel .pending-requests-tabs {
  flex-wrap: wrap;
  min-width: 0;
}

.pending-requests-tab-panel .pending-requests-tabs > .nav-item {
  flex: 1 1 13.5rem;
  min-width: 12rem;
}

.pending-requests-tab-panel .pending-requests-tabs .nav-link {
  width: 100%;
  justify-content: space-between;
}

.pending-requests-type-picker {
  display: none;
}

.pending-requests-type-picker > .form-select {
  min-height: 2.65rem;
}

@media (max-width: 991.98px) {
  .pending-requests-type-picker {
    display: block;
  }

  .pending-requests-type-picker .dropdown-menu {
    max-height: 50vh;
    overflow: auto;
  }

  .pending-requests-type-picker .dropdown-item {
    white-space: normal;
    padding: 0.55rem 0.75rem;
  }

  .pending-requests-tab-panel .pending-requests-tabs-wrapper {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .pending-requests-tab-panel .pending-requests-tabs > .nav-item {
    flex-basis: 100%;
    min-width: 0;
  }
}

.pending-requests-tabs .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.38rem 0.72rem;
}

.pending-requests-tabs .nav-link.pending-requests-tab-button--arrival {
  color: #2f6846 !important;
  background: color-mix(in srgb, #4b9b6b 12%, white) !important;
  border-color: color-mix(in srgb, #4b9b6b 42%, #d9e7ef) !important;
}

.pending-requests-tabs .nav-link.pending-requests-tab-button--departure {
  color: #8a3e39 !important;
  background: color-mix(in srgb, #d36b62 12%, white) !important;
  border-color: color-mix(in srgb, #d36b62 42%, #d9e7ef) !important;
}

.pending-requests-tabs .nav-link.pending-requests-tab-button--move {
  color: #2a5876 !important;
  background: color-mix(in srgb, #5b9bc9 12%, white) !important;
  border-color: color-mix(in srgb, #5b9bc9 42%, #d9e7ef) !important;
}

.pending-requests-tabs .nav-link.pending-requests-tab-button--extension {
  color: #7c5a02 !important;
  background: color-mix(in srgb, #c79500 12%, white) !important;
  border-color: color-mix(in srgb, #c79500 42%, #d9e7ef) !important;
}

.pending-requests-tabs .nav-link.pending-requests-tab-button--internship {
  color: #1f5f59 !important;
  background: color-mix(in srgb, #2f9d94 12%, white) !important;
  border-color: color-mix(in srgb, #2f9d94 42%, #d9e7ef) !important;
}

.pending-requests-tabs .nav-link.pending-requests-tab-button--account_extension {
  color: #5f4a9a !important;
  background: color-mix(in srgb, #8e6ad8 12%, white) !important;
  border-color: color-mix(in srgb, #8e6ad8 42%, #d9e7ef) !important;
}

.pending-requests-tabs .nav-link.active.pending-requests-tab-button--arrival,
.pending-requests-tabs .nav-link.show.pending-requests-tab-button--arrival {
  color: #1f4d35 !important;
  background: color-mix(in srgb, #4b9b6b 55%, white) !important;
  border-color: color-mix(in srgb, #4b9b6b 70%, white) !important;
}

.pending-requests-tabs .nav-link.active.pending-requests-tab-button--departure,
.pending-requests-tabs .nav-link.show.pending-requests-tab-button--departure {
  color: #ffffff !important;
  background: #b6534a !important;
  border-color: #b6534a !important;
}

.pending-requests-tabs .nav-link.active.pending-requests-tab-button--move,
.pending-requests-tabs .nav-link.show.pending-requests-tab-button--move {
  color: #ffffff !important;
  background: #4e89b3 !important;
  border-color: #4e89b3 !important;
}

.pending-requests-tabs .nav-link.active.pending-requests-tab-button--extension,
.pending-requests-tabs .nav-link.show.pending-requests-tab-button--extension {
  color: #3f3100 !important;
  background: #d2b63a !important;
  border-color: #d2b63a !important;
}

.pending-requests-tabs .nav-link.active.pending-requests-tab-button--internship,
.pending-requests-tabs .nav-link.show.pending-requests-tab-button--internship {
  color: #ffffff !important;
  background: #267f78 !important;
  border-color: #267f78 !important;
}

.pending-requests-tabs .nav-link.active.pending-requests-tab-button--account_extension,
.pending-requests-tabs .nav-link.show.pending-requests-tab-button--account_extension {
  color: #ffffff !important;
  background: #7554bf !important;
  border-color: #7554bf !important;
}

.pending-requests-tabs .nav-link .badge {
  min-width: 1.7rem;
}

.pending-requests-tab-panel .tab-content > .tab-pane > .card {
  margin: 0;
}

[data-bs-theme="dark"] .pending-requests-tabs .nav-link .badge {
  background-color: color-mix(in srgb, #ffffff 88%, transparent) !important;
  color: #13232d !important;
}

[data-bs-theme="dark"] .pending-requests-tabs .nav-link {
  box-shadow: none;
}

.home-calendar-floating-toggle {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 1091;
  width: 1.6rem;
  min-width: 0;
  height: 4.25rem;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-top-left-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.home-calendar-floating-toggle svg {
  width: 1.1rem;
  height: 1.1rem;
  stroke-width: 2.6;
}

.home-calendar-offcanvas {
  z-index: 1090;
  --home-calendar-width: 100vw;
  --bs-offcanvas-width: var(--home-calendar-width);
  --tblr-offcanvas-width: var(--home-calendar-width);
}

.home-calendar-offcanvas.offcanvas-end {
  width: var(--home-calendar-width);
  max-width: var(--home-calendar-width);
}

.home-calendar-offcanvas .offcanvas-header {
  padding-bottom: 0.75rem;
}

.home-calendar-offcanvas .offcanvas-body {
  padding-top: 0.25rem;
}

.home-calendar {
  border: 0;
  outline: 0;
  box-shadow: none;
  background: transparent;
}

.home-calendar .fc-header-toolbar,
.home-calendar .fc-toolbar-chunk,
.home-calendar .fc-button-group,
.home-calendar .fc-scrollgrid,
.home-calendar .fc-scrollgrid-section,
.home-calendar .fc-view-harness,
.home-calendar .fc-view-harness-active,
.home-calendar .fc-col-header table,
.home-calendar .fc-daygrid-body table {
  border: 0;
  outline: 0;
  box-shadow: none;
  background: transparent;
}

.home-calendar .fc-header-toolbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.home-calendar .fc-nav-controls-chunk {
  justify-self: start;
  margin-top: 0.65rem;
}

.home-calendar .fc-title-chunk {
  justify-self: center;
}

.home-calendar .fc-view-controls-chunk {
  justify-self: end;
  margin-top: 0.65rem;
}

.home-calendar .fc-toolbar-title {
  text-align: center;
}

.home-calendar .fc-header-toolbar .fc-button {
  border: 0;
  outline: 0;
  box-shadow: none;
  border-radius: 0.5rem;
  padding: 0.35rem 0.7rem;
  background-color: var(--netops-topbar-bg);
  color: var(--tblr-secondary);
  font-weight: 600;
}

.home-calendar .fc-header-toolbar .fc-button.fc-button-active {
  background-color: var(--tblr-primary);
  color: #fff;
}

.home-calendar .fc-col-header tr:first-child > *,
.home-calendar .fc-daygrid-body tr:first-child > * {
  border-top: 0;
}

.home-calendar .fc-daygrid-body tr:last-child > * {
  border-bottom: 0;
}

.home-calendar .fc-scrollgrid tr > *:first-child {
  border-left: 0;
}

.home-calendar .fc-scrollgrid tr > *:last-child {
  border-right: 0;
}

@media (max-width: 575.98px) {
  .home-calendar .fc-header-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    row-gap: 0.5rem;
    column-gap: 0.5rem;
  }

  .home-calendar .fc-title-chunk,
  .home-calendar .fc-nav-controls-chunk,
  .home-calendar .fc-view-controls-chunk {
    flex: 1 1 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 0;
    justify-self: auto;
  }

  .home-calendar .fc-title-chunk {
    order: 1;
    text-align: center;
  }

  .home-calendar .fc-nav-controls-chunk {
    order: 2;
    flex-wrap: wrap;
  }

  .home-calendar .fc-view-controls-chunk {
    order: 3;
  }
}

.home-calendar-toggle-close-icon {
  display: none;
}

.home-calendar-offcanvas.show + .home-calendar-floating-toggle .home-calendar-toggle-open-icon {
  display: none;
}

.home-calendar-offcanvas.show + .home-calendar-floating-toggle .home-calendar-toggle-close-icon {
  display: inline-flex;
}

@media (min-width: 992px) {
  .home-dashboard-module {
    margin-bottom: 0;
  }

  .home-dashboard-module + .home-dashboard-module {
    margin-top: 1rem;
  }

  .home-calendar-offcanvas {
    --home-calendar-width: 50vw;
  }
}

.comments-timeline {
  --tblr-page-padding: 0.75rem;
}

.comments-timeline .timeline-event-card {
  margin-left: calc(var(--tblr-timeline-icon-size, 2.5rem) + 0.9rem);
}

.request-subtitle-banner .alert {
  justify-content: center;
}

.theme-toggle .form-check-input {
  cursor: pointer;
}

.netops-theme-toggle {
  position: relative;
  width: 64px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--netops-toggle-border);
  background: var(--netops-toggle-bg);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  cursor: pointer;
  margin: 0;
}

.netops-theme-toggle-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  margin: 0;
}

.netops-theme-toggle-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--tblr-muted);
  opacity: 0.6;
  z-index: 1;
}

.netops-theme-toggle-handle {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--netops-toggle-handle-bg);
  box-shadow: var(--tblr-shadow-sm);
  transition: transform 0.2s ease;
}

.netops-theme-toggle-icon[data-theme-icon-sun] {
  opacity: 1;
  color: var(--tblr-yellow, #f59f00);
}

.netops-theme-toggle-input:checked ~ .netops-theme-toggle-handle {
  transform: translateX(32px);
}

.netops-theme-toggle-input:checked ~ .netops-theme-toggle-icon[data-theme-icon-sun] {
  opacity: 0.6;
  color: var(--tblr-muted);
}

.netops-theme-toggle-input:checked ~ .netops-theme-toggle-icon[data-theme-icon-moon] {
  opacity: 1;
  color: var(--tblr-body-color);
}

.mobile-menu .navbar-nav {
  flex-direction: column;
}

.mobile-menu .dropdown-menu {
  position: static;
  float: none;
  box-shadow: none;
  margin-top: 0.25rem;
}

.mobile-menu-footer {
  border-top: 1px solid rgba(98, 105, 118, 0.2);
}

.mobile-menu {
  width: 320px;
}

.mobile-menu .offcanvas-body {
  padding-bottom: 1rem;
}

.mobile-menu-nav .navbar-nav {
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-menu-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.mobile-menu-footer-row.justify-content-start {
  justify-content: flex-start;
}

.mobile-menu-footer-row.mobile-user-row {
  justify-content: space-between;
}

.mobile-menu-footer-row.mobile-footer-actions {
  justify-content: space-between;
  align-items: flex-end;
}

.mobile-footer-left {
  min-width: 0;
}

.mobile-footer-right .dropdown-toggle {
  justify-content: flex-end;
}

.mobile-menu-footer-row .btn-icon {
  padding: 0.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--tblr-body-color);
}

.mobile-menu-footer-row .btn-icon:hover {
  border-color: var(--tblr-border-color);
}

.mobile-menu-footer-row .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
}

.card-options .d-flex {
  justify-content: flex-end;
}

.card-options .d-flex .btn {
  min-width: 160px;
}

.card.card-arrival > .card-header {
  background-color: var(--tblr-green-lt);
}

.card.card-departure > .card-header {
  background-color: var(--tblr-red-lt);
}

.card.card-account-extension > .card-header {
  background-color: var(--tblr-purple-lt);
}

.card.card-extension > .card-header {
  background-color: var(--tblr-yellow-lt);
}

.card.card-move > .card-header {
  background-color: var(--tblr-blue-lt);
}

.card.card-internship > .card-header {
  background-color: color-mix(in srgb, #2f9d94 14%, white);
}

.card.card-arrival,
.card.card-departure,
.card.card-account-extension,
.card.card-extension,
.card.card-move,
.card.card-internship {
  --app-accent-card-body-bg: var(--tblr-bg-surface);
  --app-accent-card-body-color: var(--tblr-body-color);
}

.card.card-arrival {
  --app-accent-card-body-bg: color-mix(in srgb, #4b9b6b 8%, white);
  --app-accent-card-body-color: #2d6a45;
}

.card.card-departure {
  --app-accent-card-body-bg: color-mix(in srgb, #d36b62 8%, white);
  --app-accent-card-body-color: #8a3e39;
}

.card.card-account-extension {
  --app-accent-card-body-bg: color-mix(in srgb, #8e6ad8 8%, white);
  --app-accent-card-body-color: #5f4a9a;
}

.card.card-extension {
  --app-accent-card-body-bg: color-mix(in srgb, var(--tblr-warning) 10%, white);
  --app-accent-card-body-color: #7c5a02;
}

.card.card-move {
  --app-accent-card-body-bg: color-mix(in srgb, #5b9bc9 8%, white);
  --app-accent-card-body-color: #2a5876;
}

.card.card-internship {
  --app-accent-card-body-bg: color-mix(in srgb, #2f9d94 8%, white);
  --app-accent-card-body-color: #1f5f59;
}

.app-accent-card-body {
  background: var(--app-accent-card-body-bg);
  color: var(--app-accent-card-body-color) !important;
}

.app-accent-card-body .card-title,
.app-accent-card-body .card-title a,
.app-accent-card-body a,
.app-accent-card-body .text-dark {
  color: inherit !important;
}

.user-roles-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

/* Improve readability of warning badges on colored card backgrounds */
.badge.bg-yellow.text-yellow-fg,
.badge.bg-warning,
a.badge.bg-yellow.text-yellow-fg,
a.badge.bg-warning {
  background-color: #b45309 !important;
  color: #ffffff !important;
  border: 1px solid rgba(120, 53, 15, 0.25);
  box-shadow: 0 1px 2px rgba(45, 67, 78, 0.08);
  font-weight: 600;
}

[data-bs-theme="dark"] .badge.bg-yellow.text-yellow-fg,
[data-bs-theme="dark"] .badge.bg-warning,
[data-bs-theme="dark"] a.badge.bg-yellow.text-yellow-fg,
[data-bs-theme="dark"] a.badge.bg-warning {
  background-color: #d97706 !important;
  color: #111827 !important;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.btn-warning {
  background-color: #b45309;
  border-color: #b45309;
  color: #fff;
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active,
.btn-warning.active,
.show > .btn-warning.dropdown-toggle {
  background-color: #9a4708;
  border-color: #9a4708;
  color: #fff;
}

.btn-outline-warning {
  color: #b45309;
  border-color: #b45309;
}

.btn-outline-warning:hover,
.btn-outline-warning:focus,
.btn-outline-warning:active,
.btn-outline-warning.active,
.show > .btn-outline-warning.dropdown-toggle {
  background-color: #b45309;
  border-color: #b45309;
  color: #fff;
}

[data-bs-theme="dark"] .btn-warning {
  background-color: #d97706;
  border-color: #d97706;
  color: #111827;
}

[data-bs-theme="dark"] .btn-warning:hover,
[data-bs-theme="dark"] .btn-warning:focus,
[data-bs-theme="dark"] .btn-warning:active,
[data-bs-theme="dark"] .btn-warning.active,
[data-bs-theme="dark"] .show > .btn-warning.dropdown-toggle {
  background-color: #f59e0b;
  border-color: #f59e0b;
  color: #111827;
}

[data-bs-theme="dark"] .btn-outline-warning {
  color: #fbbf24;
  border-color: #d97706;
}

[data-bs-theme="dark"] .btn-outline-warning:hover,
[data-bs-theme="dark"] .btn-outline-warning:focus,
[data-bs-theme="dark"] .btn-outline-warning:active,
[data-bs-theme="dark"] .btn-outline-warning.active,
[data-bs-theme="dark"] .show > .btn-outline-warning.dropdown-toggle {
  background-color: #d97706;
  border-color: #d97706;
  color: #111827;
}

.alert-warning,
.alert-yellow {
  background-color: #fff4e5;
  border-color: #f1c27d;
  color: #7c3f00;
}

.alert-warning a,
.alert-yellow a {
  color: #8a3b00;
  font-weight: 600;
}

[data-bs-theme="dark"] .alert-warning,
[data-bs-theme="dark"] .alert-yellow {
  background-color: rgba(217, 119, 6, 0.18);
  border-color: rgba(245, 158, 11, 0.35);
  color: #fcd34d;
}

[data-bs-theme="dark"] .alert-warning a,
[data-bs-theme="dark"] .alert-yellow a {
  color: #fde68a;
}

.environment-banner {
  position: relative;
  margin-bottom: 0;
  border-width: 1px;
  border-style: solid;
}

.environment-inline-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin: 0;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border-width: 1px;
  border-style: solid;
  font-size: 0.8rem;
  line-height: 1.1;
  white-space: nowrap;
}

.topbar-environment-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.topbar-environment-mobile-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  max-width: calc(100% - 14rem);
}

.topbar-environment-mobile-center .environment-inline-badge {
  max-width: 100%;
  padding: 0.25rem 0.45rem;
  font-size: 0.72rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.environment-banner .alert-title {
  font-weight: 700;
}

.environment-banner-preprod {
  background-color: #f59e0b;
  border-color: #d97706;
  color: #ffffff;
}

.environment-banner-local {
  background-color: #0ea5e9;
  border-color: #0284c7;
  color: #ffffff;
}

.environment-banner-preprod .icon {
  color: #ffffff;
}

[data-bs-theme="dark"] .environment-banner-preprod {
  background-color: #f59e0b;
  border-color: #d97706;
  color: #ffffff;
}

[data-bs-theme="dark"] .environment-banner-local {
  background-color: #0ea5e9;
  border-color: #0284c7;
  color: #ffffff;
}

[data-bs-theme="dark"] .environment-banner-preprod .icon {
  color: #ffffff;
}

.ui-clickable-row {
  cursor: pointer;
}

.ui-clickable-row:focus-visible {
  outline: 2px solid rgba(var(--tblr-primary-rgb), 0.45);
  outline-offset: -2px;
}

.table-hover tbody tr.ui-clickable-row:hover {
  background-color: rgba(var(--tblr-primary-rgb), 0.05);
}

.ui-clickable-card {
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.ui-clickable-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 0.3rem 0.8rem rgba(45, 67, 78, 0.12);
}

.ui-clickable-card:focus-visible {
  outline: 2px solid rgba(var(--tblr-primary-rgb), 0.45);
  outline-offset: 2px;
}

.page [data-global-search-target="input"] {
  width: 100%;
}

@media (max-width: 991px) {
  .container-xl {
    max-width: 100% !important;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .page,
  .page-wrapper {
    padding-left: 0;
    padding-right: 0;
  }

  .offcanvas.offcanvas-end.mobile-menu {
    width: 100% !important;
  }

  .mobile-menu-nav {
    flex: 1;
  }

  .mobile-menu-footer-row {
    justify-content: space-between;
  }

  .page-body .row > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
  }

.table-responsive {
  overflow-x: hidden;
}

.table-responsive table {
    border: 0;
  }
.teams-table .table-responsive,
.requests-table .table-responsive {
  overflow-x: auto;
}

  .table-responsive thead {
    display: none;
  }

  .table-responsive tbody tr {
    display: block;
    border: 1px solid var(--tblr-border-color);
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
    width: 100%;
    box-sizing: border-box;
    background: var(--tblr-card-bg);
  }

  .users-table .table-responsive tbody tr {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }

  .users-table .table-responsive table {
    width: 100%;
    table-layout: fixed;
  }

  .table-responsive td {
    display: flex;
    flex-direction: column;
    padding: 0.35rem 0.75rem;
    border-bottom: 1px solid var(--tblr-border-color);
    font-size: 0.85rem;
  }

  .table-responsive td:last-child {
    border-bottom: 0;
  }

  .table-responsive td::before {
    content: attr(data-label);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--tblr-muted);
    margin-bottom: 0.15rem;
    letter-spacing: 0.02em;
    display: block;
    width: 100%;
  }

  .table-responsive td > * {
    color: var(--tblr-body-color);
  }

  .users-table tbody td .badge {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .users-table tbody td .user-roles-badges .badge {
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
  }

  .users-table tbody td,
  .users-table tbody td a,
  .users-table tbody td .text,
  .users-table tbody td .text-muted {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

.users-table tbody td:last-child,
.requests-table td:last-child,
.teams-table td:last-child {
  display: flex;
  justify-content: flex-end;
  gap: 0.35rem;
  flex-wrap: nowrap;
  white-space: nowrap;
  width: auto !important;
  overflow-x: auto;
  padding-right: 0.75rem;
  flex-direction: row;
  align-items: center;
}

.users-table thead th:last-child,
.requests-table thead th:last-child,
.teams-table thead th:last-child {
  text-align: left !important;
}

  .teams-table {
    overflow-x: auto;
  }

  .teams-table table {
    min-width: 0;
  }

  .teams-table td,
  .teams-table .badge {
    white-space: normal;
    word-break: break-word;
  }

  .teams-table .badge {
    display: inline-block;
    max-width: 100%;
  }
}

body.dark-theme,
body[data-bs-theme="dark"],
html.dark-theme,
html[data-bs-theme="dark"] {
  --tblr-body-bg: #0f1a20;
  --tblr-body-color: #e6edf1;
  --tblr-card-bg: #13242d;
  --tblr-border-color: #1f3541;
  --tblr-muted: #9fb3bd;
  --tblr-link-color: #8fd3ff;
  --netops-topbar-bg: #102832;
  --netops-topbar-border: #2b4a57;
  --netops-topbar-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  --netops-toggle-bg: #163744;
  --netops-toggle-border: #376170;
  --netops-toggle-handle-bg: #e6edf1;
  color-scheme: dark;
  background-color: var(--tblr-body-bg);
  color: var(--tblr-body-color);
}

html[data-bs-theme="dark"] body,
html.dark-theme body {
  background-color: var(--tblr-body-bg);
  color: var(--tblr-body-color);
}

html[data-bs-theme="light"],
body[data-bs-theme="light"] {
  --tblr-primary: #007da4 !important;
  --tblr-secondary: #2d434e !important;
  --tblr-danger: #e15347 !important;
  --tblr-primary-rgb: 0, 125, 164 !important;
  --tblr-secondary-rgb: 45, 67, 78 !important;
  --tblr-danger-rgb: 225, 83, 71 !important;
}

body.dark-theme .navbar,
body.dark-theme .page,
body.dark-theme .page-wrapper,
body.dark-theme .page-body,
body.dark-theme .offcanvas,
body.dark-theme .footer,
body[data-bs-theme="dark"] .navbar,
body[data-bs-theme="dark"] .page,
body[data-bs-theme="dark"] .page-wrapper,
body[data-bs-theme="dark"] .page-body,
body[data-bs-theme="dark"] .offcanvas,
body[data-bs-theme="dark"] .footer,
html.dark-theme .navbar,
html.dark-theme .page,
html.dark-theme .page-wrapper,
html.dark-theme .page-body,
html.dark-theme .offcanvas,
html.dark-theme .footer,
html[data-bs-theme="dark"] .navbar,
html[data-bs-theme="dark"] .page,
html[data-bs-theme="dark"] .page-wrapper,
html[data-bs-theme="dark"] .page-body,
html[data-bs-theme="dark"] .offcanvas,
html[data-bs-theme="dark"] .footer {
  background-color: var(--tblr-body-bg) !important;
  color: var(--tblr-body-color) !important;
}

body.dark-theme .user-name-badge,
body[data-bs-theme="dark"] .user-name-badge,
html.dark-theme .user-name-badge,
html[data-bs-theme="dark"] .user-name-badge {
  background-color: rgba(255, 255, 255, 0.08) !important;
  color: var(--tblr-body-color) !important;
  border-color: var(--tblr-border-color) !important;
}

body.dark-theme .card,
body.dark-theme .card-header,
body.dark-theme .card-body,
body.dark-theme .card-footer,
body.dark-theme .dropdown-menu,
body.dark-theme .modal-content,
body.dark-theme .table,
body.dark-theme .list-group-item,
body[data-bs-theme="dark"] .card,
body[data-bs-theme="dark"] .card-header,
body[data-bs-theme="dark"] .card-body,
body[data-bs-theme="dark"] .card-footer,
body[data-bs-theme="dark"] .dropdown-menu,
body[data-bs-theme="dark"] .modal-content,
body[data-bs-theme="dark"] .table,
body[data-bs-theme="dark"] .list-group-item,
html.dark-theme .card,
html.dark-theme .card-header,
html.dark-theme .card-body,
html.dark-theme .card-footer,
html.dark-theme .dropdown-menu,
html.dark-theme .modal-content,
html.dark-theme .table,
html.dark-theme .list-group-item,
html[data-bs-theme="dark"] .card,
html[data-bs-theme="dark"] .card-header,
html[data-bs-theme="dark"] .card-body,
html[data-bs-theme="dark"] .card-footer,
html[data-bs-theme="dark"] .dropdown-menu,
html[data-bs-theme="dark"] .modal-content,
html[data-bs-theme="dark"] .table,
html[data-bs-theme="dark"] .list-group-item {
  background-color: var(--tblr-card-bg) !important;
  color: var(--tblr-body-color) !important;
  border-color: var(--tblr-border-color) !important;
}

body.dark-theme .table > :not(caption) > * > *,
body[data-bs-theme="dark"] .table > :not(caption) > * > *,
html.dark-theme .table > :not(caption) > * > *,
html[data-bs-theme="dark"] .table > :not(caption) > * > * {
  background-color: var(--tblr-card-bg) !important;
  color: var(--tblr-body-color) !important;
  border-color: var(--tblr-border-color) !important;
}

body.dark-theme .table thead th,
body.dark-theme .table thead .btn-link,
body[data-bs-theme="dark"] .table thead th,
body[data-bs-theme="dark"] .table thead .btn-link,
html.dark-theme .table thead th,
html.dark-theme .table thead .btn-link,
html[data-bs-theme="dark"] .table thead th,
html[data-bs-theme="dark"] .table thead .btn-link {
  color: var(--tblr-body-color) !important;
}

body.dark-theme .table thead .btn-link:hover,
body[data-bs-theme="dark"] .table thead .btn-link:hover,
html.dark-theme .table thead .btn-link:hover,
html[data-bs-theme="dark"] .table thead .btn-link:hover {
  color: #ffffff !important;
}

body.dark-theme .form-control,
body.dark-theme .form-select,
body.dark-theme .input-group-text,
body[data-bs-theme="dark"] .form-control,
body[data-bs-theme="dark"] .form-select,
body[data-bs-theme="dark"] .input-group-text,
html.dark-theme .form-control,
html.dark-theme .form-select,
html.dark-theme .input-group-text,
html[data-bs-theme="dark"] .form-control,
html[data-bs-theme="dark"] .form-select,
html[data-bs-theme="dark"] .input-group-text {
  background-color: var(--app-form-field-bg) !important;
  color: var(--app-form-field-color) !important;
  border-color: var(--app-form-field-border) !important;
}

body.dark-theme .navbar-brand-autodark .navbar-brand-image,
body[data-bs-theme="dark"] .navbar-brand-autodark .navbar-brand-image,
html.dark-theme .navbar-brand-autodark .navbar-brand-image,
html[data-bs-theme="dark"] .navbar-brand-autodark .navbar-brand-image {
  filter: brightness(1.15);
}

.navbar-brand-autodark .navbar-brand-image {
  filter: none !important;
}

body.dark-theme .text-muted,
body[data-bs-theme="dark"] .text-muted,
html.dark-theme .text-muted,
html[data-bs-theme="dark"] .text-muted {
  color: var(--tblr-muted) !important;
}

body.dark-theme .dropdown-divider,
body[data-bs-theme="dark"] .dropdown-divider,
html.dark-theme .dropdown-divider,
html[data-bs-theme="dark"] .dropdown-divider {
  border-top-color: var(--tblr-border-color) !important;
}

body.dark-theme .nav-link,
body.dark-theme .dropdown-item,
body.dark-theme .navbar-brand,
body.dark-theme .table,
body.dark-theme .card-title,
body.dark-theme .card-body,
body.dark-theme .page-title,
body.dark-theme .breadcrumb,
body.dark-theme .badge.bg-secondary,
body.dark-theme .badge.bg-secondary-lt,
body.dark-theme .badge.bg-primary-lt,
body[data-bs-theme="dark"] .nav-link,
body[data-bs-theme="dark"] .dropdown-item,
body[data-bs-theme="dark"] .navbar-brand,
body[data-bs-theme="dark"] .table,
body[data-bs-theme="dark"] .card-title,
body[data-bs-theme="dark"] .card-body,
body[data-bs-theme="dark"] .page-title,
body[data-bs-theme="dark"] .breadcrumb,
body[data-bs-theme="dark"] .badge.bg-secondary,
body[data-bs-theme="dark"] .badge.bg-secondary-lt,
body[data-bs-theme="dark"] .badge.bg-primary-lt,
html.dark-theme .nav-link,
html.dark-theme .dropdown-item,
html.dark-theme .navbar-brand,
html.dark-theme .table,
html.dark-theme .card-title,
html.dark-theme .card-body,
html.dark-theme .page-title,
html.dark-theme .breadcrumb,
html.dark-theme .badge.bg-secondary,
html.dark-theme .badge.bg-secondary-lt,
html.dark-theme .badge.bg-primary-lt,
html[data-bs-theme="dark"] .nav-link,
html[data-bs-theme="dark"] .dropdown-item,
html[data-bs-theme="dark"] .navbar-brand,
html[data-bs-theme="dark"] .table,
html[data-bs-theme="dark"] .card-title,
html[data-bs-theme="dark"] .card-body,
html[data-bs-theme="dark"] .page-title,
html[data-bs-theme="dark"] .breadcrumb,
html[data-bs-theme="dark"] .badge.bg-secondary,
html[data-bs-theme="dark"] .badge.bg-secondary-lt,
html[data-bs-theme="dark"] .badge.bg-primary-lt {
  color: var(--tblr-body-color) !important;
}

body.dark-theme a,
body[data-bs-theme="dark"] a,
html.dark-theme a,
html[data-bs-theme="dark"] a {
  color: var(--tblr-link-color);
}

.select2-container {
  width: 100% !important;
}

:root {
  --app-form-field-min-height: 2.6rem;
  --app-form-field-radius: 1rem;
  --app-form-field-border: #cfe3f1;
  --app-form-field-border-hover: #78b5c8;
  --app-form-field-border-focus: #afd5e2;
  --app-form-field-bg: rgba(255, 255, 255, 0.86);
  --app-form-field-color: inherit;
  --app-form-placeholder-color: #6c8593;
  --app-form-addon-bg: rgba(233, 244, 249, 0.92);
  --app-form-addon-color: #4f7283;
  --app-form-chip-bg: #d9edf4;
  --app-form-chip-border: #afd5e2;
  --app-form-chip-color: #245062;
  --app-form-check-bg: rgba(255, 255, 255, 0.92);
  --app-form-check-border: #a9c8d8;
  --app-form-check-checked-bg: #5f97aa;
  --app-form-check-checked-border: #5f97aa;
}

.form-control,
.form-select,
.input-group-text {
  min-height: var(--app-form-field-min-height);
  border-radius: var(--app-form-field-radius);
  border-color: var(--app-form-field-border);
  background: var(--app-form-field-bg);
  color: var(--app-form-field-color);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

.form-control:hover,
.form-select:hover,
.input-group-text:hover {
  border-color: var(--app-form-field-border-hover);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--app-form-field-border-hover);
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    inset 0 0 0 1px var(--app-form-field-border-focus),
    0 0 0 0.12rem rgba(120, 181, 200, 0.14);
}

.form-control::placeholder,
.form-select:invalid {
  color: var(--app-form-placeholder-color);
}

textarea.form-control {
  min-height: 6.5rem;
}

.input-group-text {
  background: var(--app-form-addon-bg);
  color: var(--app-form-addon-color);
}

.form-control:disabled,
.form-select:disabled,
.input-group-text:has(+ .form-control:disabled),
.input-group-text:has(+ .form-select:disabled) {
  background: rgba(239, 246, 250, 0.78);
  color: #6d8793;
  border-color: #d7e8f3;
  opacity: 1;
}

body.dark-theme .form-control:disabled,
body.dark-theme .form-select:disabled,
body.dark-theme .input-group-text:has(+ .form-control:disabled),
body.dark-theme .input-group-text:has(+ .form-select:disabled),
body[data-bs-theme="dark"] .form-control:disabled,
body[data-bs-theme="dark"] .form-select:disabled,
body[data-bs-theme="dark"] .input-group-text:has(+ .form-control:disabled),
body[data-bs-theme="dark"] .input-group-text:has(+ .form-select:disabled),
html.dark-theme .form-control:disabled,
html.dark-theme .form-select:disabled,
html.dark-theme .input-group-text:has(+ .form-control:disabled),
html.dark-theme .input-group-text:has(+ .form-select:disabled),
html[data-bs-theme="dark"] .form-control:disabled,
html[data-bs-theme="dark"] .form-select:disabled,
html[data-bs-theme="dark"] .input-group-text:has(+ .form-control:disabled),
html[data-bs-theme="dark"] .input-group-text:has(+ .form-select:disabled) {
  background: rgba(32, 52, 62, 0.72);
  color: #92adbb;
  border-color: #3e6170;
}

.form-check-input {
  background-color: var(--app-form-check-bg);
  border-color: var(--app-form-check-border);
  box-shadow: none;
}

.form-check-input:hover,
.form-check-input:focus {
  border-color: var(--app-form-field-border-hover);
  box-shadow: 0 0 0 0.12rem rgba(120, 181, 200, 0.14);
}

.form-check-input:checked {
  background-color: var(--app-form-check-checked-bg);
  border-color: var(--app-form-check-checked-border);
}

.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
  min-height: var(--app-form-field-min-height) !important;
  border-radius: var(--app-form-field-radius) !important;
  border: 1px solid var(--app-form-field-border) !important;
  background: var(--app-form-field-bg) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18) !important;
}

.select2-container--default .select2-selection--single:hover,
.select2-container--default .select2-selection--multiple:hover,
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--multiple {
  border-color: var(--app-form-field-border-hover) !important;
  box-shadow: inset 0 0 0 1px var(--app-form-field-border-focus) !important;
}

.select2-container--default.select2-container--disabled .select2-selection--single,
.select2-container--default.select2-container--disabled .select2-selection--multiple {
  background: var(--tblr-bg-surface-secondary, #f6f8fb) !important;
  border-color: var(--tblr-border-color-light, #d9e1ea) !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
  opacity: 1 !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  min-height: var(--app-form-field-min-height) !important;
  line-height: 2.45rem !important;
  padding-left: 0.75rem !important;
  padding-right: 2.1rem !important;
  color: var(--app-form-field-color) !important;
}

.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__rendered,
.select2-container--default.select2-container--disabled .select2-selection--multiple .select2-selection__rendered {
  color: var(--tblr-secondary, #66788a) !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 2.45rem !important;
  right: 0.55rem !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border: 0 !important;
  width: 0.55rem !important;
  height: 0.55rem !important;
  margin-top: -0.45rem !important;
  margin-left: -0.35rem !important;
  border-right: 2px solid #5c8192 !important;
  border-bottom: 2px solid #5c8192 !important;
  transform: rotate(45deg) !important;
}

.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__arrow b,
.select2-container--default.select2-container--disabled .select2-selection--multiple::after {
  border-color: #8fa1ae !important;
}

.select2-container--default .select2-selection--multiple {
  padding: 0.28rem 2.1rem 0.28rem 0.42rem !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  margin-top: 0.12rem !important;
  border: 1px solid var(--app-form-chip-border) !important;
  background: var(--app-form-chip-bg) !important;
  color: var(--app-form-chip-color) !important;
  border-radius: 999px !important;
  padding: 0.2rem 0.45rem 0.2rem 1.4rem !important;
  font-size: 0.76rem !important;
  font-weight: 600 !important;
  position: relative !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  border-right: 0 !important;
  color: var(--app-form-chip-color) !important;
  margin-right: 0 !important;
  padding: 0 0.14rem 0 0 !important;
  position: absolute !important;
  left: 0.45rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  line-height: 1 !important;
}

.select2-container--default .select2-search--inline .select2-search__field {
  margin-top: 0.18rem !important;
  margin-left: 0.2rem !important;
  font-size: 0.82rem !important;
}

.select2-container--default .select2-selection__rendered {
  display: flex;
  flex-wrap: wrap;
  gap: 0.22rem !important;
}

.select2-container--default .select2-selection--multiple::after {
  content: "";
  position: absolute;
  right: 0.9rem;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid #5c8192;
  border-bottom: 2px solid #5c8192;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.select2-results__option {
  padding: 0.45rem 0.7rem !important;
}

.select2-results__option--highlighted {
  background: rgba(217, 237, 244, 0.92) !important;
  color: #245062 !important;
}

.select2-dropdown {
  border-radius: 1rem !important;
  border-color: var(--app-form-field-border) !important;
  overflow: hidden;
}

.select2-search--dropdown .select2-search__field {
  border-radius: calc(var(--app-form-field-radius) - 0.25rem) !important;
  border-color: var(--app-form-field-border) !important;
  background: var(--app-form-field-bg) !important;
  color: var(--app-form-field-color) !important;
}

body.dark-theme,
body[data-bs-theme="dark"],
html.dark-theme,
html[data-bs-theme="dark"] {
  --app-form-field-border: #466777;
  --app-form-field-border-hover: #5e8ba0;
  --app-form-field-border-focus: #2b5567;
  --app-form-field-bg: rgba(35, 55, 66, 0.82);
  --app-form-field-color: var(--tblr-body-color);
  --app-form-placeholder-color: #9db8c6;
  --app-form-addon-bg: rgba(40, 66, 78, 0.88);
  --app-form-addon-color: #c7dde8;
  --app-form-chip-bg: #204352;
  --app-form-chip-border: #2b5567;
  --app-form-chip-color: #d9eef5;
  --app-form-check-bg: rgba(35, 55, 66, 0.92);
  --app-form-check-border: #5a8194;
  --app-form-check-checked-bg: #6d9db2;
  --app-form-check-checked-border: #6d9db2;
}

body.dark-theme .select2-container--default .select2-selection--single,
body.dark-theme .select2-container--default .select2-selection--multiple,
body[data-bs-theme="dark"] .select2-container--default .select2-selection--single,
body[data-bs-theme="dark"] .select2-container--default .select2-selection--multiple,
html.dark-theme .select2-container--default .select2-selection--single,
html.dark-theme .select2-container--default .select2-selection--multiple,
html[data-bs-theme="dark"] .select2-container--default .select2-selection--single,
html[data-bs-theme="dark"] .select2-container--default .select2-selection--multiple {
  background: var(--app-form-field-bg) !important;
  color: var(--app-form-field-color) !important;
  border-color: var(--app-form-field-border) !important;
}

body.dark-theme .select2-container--default .select2-selection--single:hover,
body.dark-theme .select2-container--default .select2-selection--multiple:hover,
body[data-bs-theme="dark"] .select2-container--default .select2-selection--single:hover,
body[data-bs-theme="dark"] .select2-container--default .select2-selection--multiple:hover,
html.dark-theme .select2-container--default .select2-selection--single:hover,
html.dark-theme .select2-container--default .select2-selection--multiple:hover,
html[data-bs-theme="dark"] .select2-container--default .select2-selection--single:hover,
html[data-bs-theme="dark"] .select2-container--default .select2-selection--multiple:hover,
body.dark-theme .select2-container--default.select2-container--focus .select2-selection--single,
body.dark-theme .select2-container--default.select2-container--focus .select2-selection--multiple,
body[data-bs-theme="dark"] .select2-container--default.select2-container--focus .select2-selection--single,
body[data-bs-theme="dark"] .select2-container--default.select2-container--focus .select2-selection--multiple,
html.dark-theme .select2-container--default.select2-container--focus .select2-selection--single,
html.dark-theme .select2-container--default.select2-container--focus .select2-selection--multiple,
html[data-bs-theme="dark"] .select2-container--default.select2-container--focus .select2-selection--single,
html[data-bs-theme="dark"] .select2-container--default.select2-container--focus .select2-selection--multiple {
  border-color: var(--app-form-field-border-hover) !important;
  box-shadow: inset 0 0 0 1px var(--app-form-field-border-focus) !important;
}

body.dark-theme .select2-dropdown,
body[data-bs-theme="dark"] .select2-dropdown,
html.dark-theme .select2-dropdown,
html[data-bs-theme="dark"] .select2-dropdown {
  background-color: var(--tblr-card-bg) !important;
  color: var(--tblr-body-color) !important;
  border-color: #466777 !important;
}

body.dark-theme .select2-results__option--highlighted,
body[data-bs-theme="dark"] .select2-results__option--highlighted,
html.dark-theme .select2-results__option--highlighted,
html[data-bs-theme="dark"] .select2-results__option--highlighted {
  background-color: rgba(255, 255, 255, 0.08) !important;
  color: var(--tblr-body-color) !important;
}

body.dark-theme .select2-selection__rendered,
body[data-bs-theme="dark"] .select2-selection__rendered,
html.dark-theme .select2-selection__rendered,
html[data-bs-theme="dark"] .select2-selection__rendered {
  color: var(--tblr-body-color) !important;
}

body.dark-theme .select2-selection__choice,
body[data-bs-theme="dark"] .select2-selection__choice,
html.dark-theme .select2-selection__choice,
html[data-bs-theme="dark"] .select2-selection__choice {
  background-color: var(--app-form-chip-bg) !important;
  color: var(--app-form-chip-color) !important;
  border-color: var(--app-form-chip-border) !important;
}

body.dark-theme .select2-selection__choice__remove,
body[data-bs-theme="dark"] .select2-selection__choice__remove,
html.dark-theme .select2-selection__choice__remove,
html[data-bs-theme="dark"] .select2-selection__choice__remove {
  color: var(--app-form-chip-color) !important;
}

body.dark-theme .select2-container--default .select2-selection--single .select2-selection__arrow b,
body[data-bs-theme="dark"] .select2-container--default .select2-selection--single .select2-selection__arrow b,
html.dark-theme .select2-container--default .select2-selection--single .select2-selection__arrow b,
html[data-bs-theme="dark"] .select2-container--default .select2-selection--single .select2-selection__arrow b,
body.dark-theme .select2-container--default .select2-selection--multiple::after,
body[data-bs-theme="dark"] .select2-container--default .select2-selection--multiple::after,
html.dark-theme .select2-container--default .select2-selection--multiple::after,
html[data-bs-theme="dark"] .select2-container--default .select2-selection--multiple::after {
  border-color: #9db8c6 !important;
}

.notyf-message {
  display: none;
}

.notyf__toast {
  border-radius: 0.5rem !important;
  border: 1px solid transparent;
  box-shadow: 0 6px 18px rgba(31, 41, 55, 0.1) !important;
}

.notyf__wrapper {
  padding-top: 0.65rem !important;
  padding-bottom: 0.65rem !important;
}

.notyf__message i {
  margin-right: 0.35rem;
}

.notyf__toast.notyf-toast--success-lt {
  color: #1b5e20 !important;
  border-color: #b7dec2;
}

.notyf__toast.notyf-toast--info-lt {
  color: #0f4d67 !important;
  border-color: #b8d9e8;
}

.notyf__toast.notyf-toast--warning-lt {
  color: #7a5a00 !important;
  border-color: #eedca5;
}

.notyf__toast.notyf-toast--error-lt {
  color: #8a2f2a !important;
  border-color: #f0b8b3;
}

.notyf__dismiss-btn {
  background-color: rgba(0, 0, 0, 0.12) !important;
}

.notyf__dismiss-btn:after,
.notyf__dismiss-btn:before {
  background: #2c3e50 !important;
}

body:not(.show-dead-users) .teams-table .dead-event,
body:not(.show-dead-users) .requests-table .dead-event {
  display: none;
}

.container-xl {
  max-width: 100%;
}

.requests-summary-table .summary-badge {
  display: inline-block;
  max-width: 14rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}

@media (max-width: 1399px) {
  .requests-summary-table .summary-badge {
    max-width: 11rem;
  }
}

.teams-table td:last-child .badge,
.requests-table td:last-child .badge,
.users-table td:last-child .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
}

.users-table tbody tr.arrival-request-row {
  background-color: rgba(13, 110, 253, 0.08);
}

body.dark-theme .card.card-arrival > .card-header,
body[data-bs-theme="dark"] .card.card-arrival > .card-header,
html.dark-theme .card.card-arrival > .card-header,
html[data-bs-theme="dark"] .card.card-arrival > .card-header {
  background-color: var(--tblr-green-lt) !important;
}

body.dark-theme .card.card-arrival,
body[data-bs-theme="dark"] .card.card-arrival,
html.dark-theme .card.card-arrival,
html[data-bs-theme="dark"] .card.card-arrival {
  --app-accent-card-body-bg: color-mix(in srgb, #4b9b6b 14%, #1c2a33);
  --app-accent-card-body-color: color-mix(in srgb, #4b9b6b 22%, #ecf5f9);
}

body.dark-theme .card.card-departure > .card-header,
body[data-bs-theme="dark"] .card.card-departure > .card-header,
html.dark-theme .card.card-departure > .card-header,
html[data-bs-theme="dark"] .card.card-departure > .card-header {
  background-color: var(--tblr-red-lt) !important;
}

body.dark-theme .card.card-departure,
body[data-bs-theme="dark"] .card.card-departure,
html.dark-theme .card.card-departure,
html[data-bs-theme="dark"] .card.card-departure {
  --app-accent-card-body-bg: color-mix(in srgb, #d36b62 14%, #1c2a33);
  --app-accent-card-body-color: color-mix(in srgb, #d36b62 22%, #ecf5f9);
}

body.dark-theme .card.card-account-extension > .card-header,
body[data-bs-theme="dark"] .card.card-account-extension > .card-header,
html.dark-theme .card.card-account-extension > .card-header,
html[data-bs-theme="dark"] .card.card-account-extension > .card-header {
  background-color: var(--tblr-purple-lt) !important;
}

body.dark-theme .card.card-account-extension,
body[data-bs-theme="dark"] .card.card-account-extension,
html.dark-theme .card.card-account-extension,
html[data-bs-theme="dark"] .card.card-account-extension {
  --app-accent-card-body-bg: color-mix(in srgb, #8e6ad8 14%, #1c2a33);
  --app-accent-card-body-color: color-mix(in srgb, #8e6ad8 22%, #ecf5f9);
}

body.dark-theme .card.card-extension > .card-header,
body[data-bs-theme="dark"] .card.card-extension > .card-header,
html.dark-theme .card.card-extension > .card-header,
html[data-bs-theme="dark"] .card.card-extension > .card-header {
  background-color: var(--tblr-yellow-lt) !important;
}

body.dark-theme .card.card-extension,
body[data-bs-theme="dark"] .card.card-extension,
html.dark-theme .card.card-extension,
html[data-bs-theme="dark"] .card.card-extension {
  --app-accent-card-body-bg: color-mix(in srgb, var(--tblr-warning) 18%, #1c2a33);
  --app-accent-card-body-color: color-mix(in srgb, var(--tblr-warning) 18%, #f7edd3);
}

body.dark-theme .card.card-move > .card-header,
body[data-bs-theme="dark"] .card.card-move > .card-header,
html.dark-theme .card.card-move > .card-header,
html[data-bs-theme="dark"] .card.card-move > .card-header {
  background-color: var(--tblr-blue-lt) !important;
}

body.dark-theme .card.card-internship > .card-header,
body[data-bs-theme="dark"] .card.card-internship > .card-header,
html.dark-theme .card.card-internship > .card-header,
html[data-bs-theme="dark"] .card.card-internship > .card-header {
  background-color: color-mix(in srgb, #2f9d94 22%, #203540) !important;
}

body.dark-theme .card.card-move,
body[data-bs-theme="dark"] .card.card-move,
html.dark-theme .card.card-move,
html[data-bs-theme="dark"] .card.card-move {
  --app-accent-card-body-bg: color-mix(in srgb, #5b9bc9 14%, #1c2a33);
  --app-accent-card-body-color: color-mix(in srgb, #5b9bc9 22%, #ecf5f9);
}

body.dark-theme .card.card-internship,
body[data-bs-theme="dark"] .card.card-internship,
html.dark-theme .card.card-internship,
html[data-bs-theme="dark"] .card.card-internship {
  --app-accent-card-body-bg: color-mix(in srgb, #2f9d94 14%, #1c2a33);
  --app-accent-card-body-color: color-mix(in srgb, #2f9d94 22%, #ecf5f9);
}

.user-request-themed-card {
  background: color-mix(in srgb, var(--request-theme-accent) 6%, white) !important;
  border: 1px solid color-mix(in srgb, var(--request-theme-accent) 35%, #d9e7ef);
  border-left-width: 4px;
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--request-theme-accent) 8%, transparent),
    0 10px 20px -20px rgba(45, 67, 78, 0.28);
}

.user-request-themed-card .card-title,
.user-request-themed-card .card-body,
.user-request-themed-card .card-title a {
  color: var(--request-theme-text) !important;
}

.user-request-card-body {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.user-request-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.user-request-card-title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  min-width: 0;
}

.user-request-card-icon {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--request-theme-accent) 16%, white);
  flex: 0 0 auto;
  color: var(--request-theme-text);
}

.user-request-card-title {
  font-size: 0.95rem;
  line-height: 1.2;
}

.user-request-card-subtitle {
  font-size: 0.75rem;
  color: color-mix(in srgb, var(--request-theme-text) 72%, #6c7a86);
  line-height: 1.2;
  margin-top: 0.15rem;
}

.user-request-card-status {
  margin-top: 0.1rem;
}

.user-request-card-status > * {
  width: 100%;
}

.user-request-card-status .badge {
  font-size: 0.72rem;
}

.user-request-card-status-header {
  flex: 0 0 auto;
  margin-top: 0.05rem;
}

.user-request-card-status-header > * {
  width: auto;
}

.user-request-card-status-header .d-flex {
  justify-content: flex-end;
}

.user-request-card-status-footer {
  margin-top: 0;
}

.user-request-card-status-footer .d-flex.flex-column {
  gap: 0.2rem !important;
}

.user-request-card-status-footer .d-flex.flex-wrap {
  gap: 0.25rem !important;
}

.user-request-card-status-footer .badge {
  font-size: 0.68rem;
  line-height: 1.05;
  padding: 0.22rem 0.35rem;
}

body.dark-theme .user-request-themed-card,
body[data-bs-theme="dark"] .user-request-themed-card,
html.dark-theme .user-request-themed-card,
html[data-bs-theme="dark"] .user-request-themed-card {
  background: color-mix(in srgb, var(--request-theme-accent) 10%, #1c2a33) !important;
  border-color: color-mix(in srgb, var(--request-theme-accent) 45%, #355362);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--request-theme-accent) 12%, transparent),
    0 12px 22px -22px rgba(0, 0, 0, 0.4);
}

body.dark-theme .user-request-themed-card .card-title,
body.dark-theme .user-request-themed-card .card-body,
body.dark-theme .user-request-themed-card .card-title a,
body[data-bs-theme="dark"] .user-request-themed-card .card-title,
body[data-bs-theme="dark"] .user-request-themed-card .card-body,
body[data-bs-theme="dark"] .user-request-themed-card .card-title a,
html.dark-theme .user-request-themed-card .card-title,
html.dark-theme .user-request-themed-card .card-body,
html.dark-theme .user-request-themed-card .card-title a,
html[data-bs-theme="dark"] .user-request-themed-card .card-title,
html[data-bs-theme="dark"] .user-request-themed-card .card-body,
html[data-bs-theme="dark"] .user-request-themed-card .card-title a {
  color: color-mix(in srgb, var(--request-theme-accent) 18%, #ecf5f9) !important;
}

body.dark-theme .user-request-card-icon,
body[data-bs-theme="dark"] .user-request-card-icon,
html.dark-theme .user-request-card-icon,
html[data-bs-theme="dark"] .user-request-card-icon {
  background: color-mix(in srgb, var(--request-theme-accent) 18%, #203540);
  color: color-mix(in srgb, var(--request-theme-accent) 18%, #ecf5f9);
}

body.dark-theme .user-request-card-subtitle,
body[data-bs-theme="dark"] .user-request-card-subtitle,
html.dark-theme .user-request-card-subtitle,
html[data-bs-theme="dark"] .user-request-card-subtitle {
  color: color-mix(in srgb, var(--request-theme-accent) 12%, #b8ccd7);
}

.user-detail-page .user-detail-actions-wrapper {
  position: sticky;
  top: 0.75rem;
  z-index: 100;
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
}

.user-detail-page .user-detail-actions {
  background: var(--tblr-bg-surface);
  border: 1px solid var(--tblr-border-color);
  border-radius: 0.75rem;
  padding: 0.75rem;
  box-shadow: 0 0.25rem 0.75rem rgba(31, 41, 55, 0.08);
  --bs-gutter-y: 0;
  --bs-gutter-x: 0.5rem;
}

.user-detail-page .user-detail-actions.row {
  --bs-gutter-y: 0 !important;
}

.user-detail-page .user-detail-card {
  border-radius: 0.75rem;
  border: 1px solid var(--tblr-border-color);
  overflow: hidden;
}

.user-detail-page .user-detail-card .card-status-start {
  border-radius: 0.75rem 0 0 0.75rem;
}

.user-detail-page .user-detail-card .card-header {
  min-height: 3.25rem;
  display: flex;
  align-items: center;
}

.user-detail-page .user-detail-card .card-title {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.user-detail-page .user-detail-card-body > .mb-3:last-child {
  margin-bottom: 0 !important;
}

.user-detail-page .user-workflow-card {
  border-radius: 0.75rem;
}

.layout-aligned-section {
  margin-left: -0.25rem;
  margin-right: -0.25rem;
}

@media (max-width: 991px) {
  .user-workflow-card .user-workflow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 0.1rem;
    padding-bottom: 0.1rem;
  }

  .user-workflow-card .user-workflow-arrow-icon {
    display: inline-flex;
    transform: rotate(90deg);
    transform-origin: center;
  }
}

.user-detail-page .user-history-section {
  margin-top: 1rem;
}

.user-detail-page .user-api-access-switch {
  background: var(--tblr-bg-surface-secondary);
}

.user-detail-page .form-label {
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.user-detail-page .form-control:disabled,
.user-detail-page .form-select:disabled,
.user-detail-page .form-check-input:disabled {
  opacity: 1;
  cursor: not-allowed;
  background-color: var(--tblr-bg-surface-secondary);
  border-color: var(--tblr-border-color);
}

.user-detail-page .select2-container--default .select2-selection--single,
.user-detail-page .select2-container--default .select2-selection--multiple {
  min-height: 2.5rem;
  border-radius: 0.5rem;
  border-color: var(--tblr-border-color);
}

.user-detail-page .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 2.35rem;
  padding-left: 0.75rem;
}

.user-detail-page .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 2.35rem;
  right: 0.4rem;
}

.user-detail-page .select2-container--default .select2-selection--multiple {
  padding: 0.2rem 0.25rem;
}

body.dark-theme .select2-container--default.select2-container--disabled .select2-selection--single,
body.dark-theme .select2-container--default.select2-container--disabled .select2-selection--multiple,
body[data-bs-theme="dark"] .select2-container--default.select2-container--disabled .select2-selection--single,
body[data-bs-theme="dark"] .select2-container--default.select2-container--disabled .select2-selection--multiple,
html.dark-theme .select2-container--default.select2-container--disabled .select2-selection--single,
html.dark-theme .select2-container--default.select2-container--disabled .select2-selection--multiple,
html[data-bs-theme="dark"] .select2-container--default.select2-container--disabled .select2-selection--single,
html[data-bs-theme="dark"] .select2-container--default.select2-container--disabled .select2-selection--multiple {
  background: rgba(148, 163, 184, 0.14) !important;
  border-color: rgba(148, 163, 184, 0.28) !important;
}

body.dark-theme .select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__rendered,
body.dark-theme .select2-container--default.select2-container--disabled .select2-selection--multiple .select2-selection__rendered,
body[data-bs-theme="dark"] .select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__rendered,
body[data-bs-theme="dark"] .select2-container--default.select2-container--disabled .select2-selection--multiple .select2-selection__rendered,
html.dark-theme .select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__rendered,
html.dark-theme .select2-container--default.select2-container--disabled .select2-selection--multiple .select2-selection__rendered,
html[data-bs-theme="dark"] .select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__rendered,
html[data-bs-theme="dark"] .select2-container--default.select2-container--disabled .select2-selection--multiple .select2-selection__rendered {
  color: rgba(226, 232, 240, 0.72) !important;
}

.reporting-page .card-body {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.reporting-view-switcher-actions .btn-group {
  border: 1px solid var(--tblr-border-color);
  border-radius: 999px;
  padding: 0.15rem;
  background: var(--tblr-bg-surface-secondary);
}

.reporting-view-switcher-actions .btn-reporting-switch {
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--tblr-body-color);
  background: transparent;
  padding: 0.35rem 0.8rem;
}

.reporting-view-switcher-actions .btn-reporting-switch:hover,
.reporting-view-switcher-actions .btn-reporting-switch:focus {
  background: rgba(0, 0, 0, 0.04);
  color: var(--tblr-body-color);
}

.reporting-view-switcher-actions .btn-reporting-switch.active {
  background: #d9edf4;
  color: #245062;
  box-shadow: inset 0 0 0 1px #afd5e2;
}

.reporting-view-switcher .reporting-graph-card .card-header {
  background: #eef6fb;
  border-bottom-color: #cfe3f1;
}

.reporting-view-switcher .reporting-graph-card .card-title {
  color: #2f5166;
}

.reporting-view-switcher .reporting-card-options-select {
  flex: 0 0 16rem;
  min-width: 16rem;
  white-space: nowrap;
}

.reporting-view-switcher .reporting-card-options-select .select2-container,
.reporting-view-switcher .reporting-card-options-select .form-select {
  min-width: 100%;
}

.reporting-view-switcher .reporting-card-options-select .select2-selection__rendered {
  white-space: nowrap;
}

.reporting-view-switcher .reporting-data-card .card-header {
  background: #eef6fb;
  border-bottom-color: #cfe3f1;
}

.reporting-view-switcher .reporting-data-card .card-title {
  color: #2f5166;
}

.reporting-view-switcher .reporting-graph-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

body[data-bs-theme="dark"] .reporting-view-switcher-actions .btn-reporting-switch:hover,
html[data-bs-theme="dark"] .reporting-view-switcher-actions .btn-reporting-switch:hover,
body[data-bs-theme="dark"] .reporting-view-switcher-actions .btn-reporting-switch:focus,
html[data-bs-theme="dark"] .reporting-view-switcher-actions .btn-reporting-switch:focus {
  background: rgba(255, 255, 255, 0.08);
}

body[data-bs-theme="dark"] .reporting-view-switcher-actions .btn-reporting-switch.active,
html[data-bs-theme="dark"] .reporting-view-switcher-actions .btn-reporting-switch.active {
  background: #204352;
  color: #d9eef5;
  box-shadow: inset 0 0 0 1px #2b5567;
}

body[data-bs-theme="dark"] .reporting-view-switcher .reporting-graph-card .card-header,
html[data-bs-theme="dark"] .reporting-view-switcher .reporting-graph-card .card-header {
  background: #263f4c;
  border-bottom-color: #355362;
}

body[data-bs-theme="dark"] .reporting-view-switcher .reporting-graph-card .card-title,
html[data-bs-theme="dark"] .reporting-view-switcher .reporting-graph-card .card-title {
  color: #d6e7f1;
}

body[data-bs-theme="dark"] .reporting-view-switcher .reporting-data-card .card-header,
html[data-bs-theme="dark"] .reporting-view-switcher .reporting-data-card .card-header {
  background: #263f4c;
  border-bottom-color: #355362;
}

body[data-bs-theme="dark"] .reporting-view-switcher .reporting-data-card .card-title,
html[data-bs-theme="dark"] .reporting-view-switcher .reporting-data-card .card-title {
  color: #d6e7f1;
}

.reporting-page .reporting-filter-row {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.reporting-page .reporting-filters-row {
  justify-content: flex-start;
}

.reporting-page .reporting-filter-label {
  width: auto;
  flex: 0 0 auto;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}

.reporting-page .reporting-filter-field {
  min-width: 0;
  flex: 0 0 auto;
  width: 14rem;
  max-width: 100%;
}

.reporting-page .reporting-filter-row--date .reporting-filter-field {
  flex: 0 0 auto;
  width: 13rem;
  max-width: 100%;
}

.reporting-page .reporting-filter-field .form-control,
.reporting-page .reporting-filter-field .form-select {
  margin-bottom: 0;
}

.users-directory-toolbar {
  border: 1px solid #d7e8f3;
  background:
    radial-gradient(circle at top right, rgba(217, 237, 244, 0.9), transparent 38%),
    linear-gradient(135deg, #f8fcfe 0%, #eef6fb 100%);
}

.users-directory-toolbar .card-body {
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.users-directory-filter-row {
  align-items: flex-start;
}

.users-directory-filters-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.75rem;
  align-items: start;
}

.users-directory-filter-group {
  flex: 1 1 15rem;
  min-width: 0;
}

.users-directory-filter-group--view {
  flex: 0 1 auto;
  display: flex;
  justify-content: flex-end;
  align-self: flex-end;
}

.users-directory-filter-group--status {
  flex-basis: 100%;
}

.users-directory-filter-pills,
.users-directory-sort-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.users-directory-filter-pills {
  min-width: 0;
  gap: 0.4rem;
}

.users-directory-filter-field {
  width: 100%;
  min-width: 12rem;
}

.users-directory-view-form {
  display: flex;
  align-items: center;
}

.users-directory-status-field {
  width: 100%;
  min-width: 16rem;
  min-height: var(--app-form-field-min-height);
  padding: 0.32rem 0.4rem;
  border: 1px solid var(--app-form-field-border);
  border-radius: var(--app-form-field-radius);
  background: var(--app-form-field-bg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.users-directory-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.72rem;
  border-radius: 999px;
  border: 1px solid #b9d6e4;
  background: #f5fafc;
  color: #2f5166;
  font-weight: 500;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.users-directory-filter-pill:hover {
  border-color: #afd5e2;
  background: #ffffff;
  transform: translateY(-1px);
}

.users-directory-filter-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.users-directory-filter-pill:has(input:checked) {
  border-color: #78b5c8;
  background: #d9edf4;
  box-shadow:
    inset 0 0 0 1px #afd5e2,
    0 1px 2px rgba(47, 81, 102, 0.08);
}

.users-directory-filter-pill-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.65rem;
  height: 1.65rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: rgba(47, 81, 102, 0.1);
  font-size: 0.8rem;
  font-weight: 700;
}

.users-directory-sort-actions {
  justify-content: flex-start;
  border: 1px solid #d2e5ef;
  border-radius: 999px;
  padding: 0.2rem;
  background: rgba(255, 255, 255, 0.76);
}

.users-directory-sort-actions .btn-reporting-switch {
  white-space: nowrap;
}

.users-directory-sort-indicator {
  font-size: 0.9em;
}

@media (min-width: 1400px) {
  .users-directory-filter-group--status {
    flex: 1 1 auto;
  }
}

.users-directory-grid {
  align-items: stretch;
}

.users-directory-card {
  border: 1px solid #d9e7ef;
  box-shadow: 0 16px 32px -28px rgba(45, 67, 78, 0.4);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.users-directory-card .card-body {
  padding: 0.8rem 0.9rem;
}

.users-directory-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px -28px rgba(45, 67, 78, 0.45);
}

.users-directory-card--pending_arrival {
  background: linear-gradient(180deg, #fffaf2 0%, #ffffff 100%);
}

.users-directory-card--active {
  background: linear-gradient(180deg, #f4fbf7 0%, #ffffff 100%);
}

.users-directory-card--inactive {
  background: linear-gradient(180deg, #f7f8fa 0%, #ffffff 100%);
}

.users-directory-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.7rem;
  margin-bottom: 0.7rem;
}

.users-directory-identity {
  min-width: 0;
  flex: 1 1 auto;
}

.users-directory-name-link {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
}

.users-directory-name-link:hover {
  color: inherit;
  text-decoration: none;
}

.users-directory-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #d9edf4 0%, #b9dbe8 100%);
  color: #245062;
  font-weight: 700;
  letter-spacing: 0.04em;
  flex: 0 0 auto;
}

.users-directory-name-wrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.users-directory-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #20323b;
  line-height: 1.2;
}

.users-directory-email {
  font-size: 0.82rem;
  color: var(--tblr-muted);
  overflow-wrap: anywhere;
  line-height: 1.25;
}

.users-directory-status-badge {
  flex: 0 0 auto;
  font-size: 0.72rem;
  padding: 0.35rem 0.5rem;
}

.users-directory-meta {
  display: grid;
  gap: 0.55rem;
}

.users-directory-meta-row {
  display: grid;
  gap: 0.55rem;
}

.users-directory-meta-block {
  display: grid;
  gap: 0.22rem;
}

.users-directory-meta-block--office {
  align-content: start;
}

.users-directory-meta-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #667c88;
}

.users-directory-meta-value {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-items: center;
  line-height: 1.2;
}

.users-directory-team-list .badge,
.users-directory-meta-value .badge {
  max-width: 100%;
  font-size: 0.76rem;
  padding: 0.32rem 0.48rem;
}

.users-directory-team-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.users-directory-team-badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.users-directory-team-badge-icon svg {
  width: 0.68rem;
  height: 0.68rem;
}

@media (min-width: 768px) {
  .users-directory-meta-row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .users-directory-meta-block--office .users-directory-meta-value {
    justify-content: flex-end;
  }
}

.user-state-filter-hidden {
  display: none !important;
}

.users-directory-empty {
  border-style: dashed;
}

.teams-directory-toolbar {
  border: 1px solid #d7e8f3;
  background:
    radial-gradient(circle at top right, rgba(217, 237, 244, 0.9), transparent 38%),
    linear-gradient(135deg, #f8fcfe 0%, #eef6fb 100%);
}

.teams-directory-toolbar .card-body {
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.teams-directory-toolbar-row,
.teams-directory-toolbar-main,
.teams-directory-toolbar-actions {
  display: flex;
  gap: 0.75rem;
}

.teams-directory-toolbar-row {
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.teams-directory-toolbar-main {
  align-items: center;
  flex-wrap: wrap;
  min-width: 0;
}

.teams-directory-toolbar-heading {
  display: grid;
  gap: 0.1rem;
  margin-right: 0.5rem;
}

.teams-directory-toolbar-title {
  font-size: 1rem;
  font-weight: 700;
  color: #20323b;
  line-height: 1.15;
}

.teams-directory-toolbar-subtitle {
  font-size: 0.8rem;
  color: #667c88;
}

.teams-directory-toolbar-actions {
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.teams-directory-view-form {
  display: flex;
  align-items: center;
}

.teams-directory-grid {
  align-items: stretch;
}

.teams-directory-card {
  border: 1px solid #d9e7ef;
  box-shadow: 0 16px 32px -28px rgba(45, 67, 78, 0.4);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
  background: linear-gradient(180deg, #f8fcfe 0%, #ffffff 100%);
}

.teams-directory-card .card-body {
  padding: 0.72rem 0.78rem;
}

.teams-directory-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px -28px rgba(45, 67, 78, 0.45);
}

.teams-directory-card--empty {
  background: linear-gradient(180deg, #f7f8fa 0%, #ffffff 100%);
}

.teams-directory-table {
  width: 100%;
  table-layout: fixed;
}

.teams-directory-table-col--name {
  width: 29%;
}

.teams-directory-table-col--users {
  width: 13%;
}

.teams-directory-table-col--managers {
  width: 28%;
}

.teams-directory-table-col--children {
  width: 30%;
}

.teams-directory-table-row {
  --request-theme-accent: #6c7a86;
}

.teams-directory-table-name {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.teams-directory-table-users {
  display: flex;
  justify-content: flex-start;
}

.teams-directory-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
}

.teams-directory-identity {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  min-width: 0;
}

.teams-directory-color-chip {
  width: 0.78rem;
  height: 0.78rem;
  border-radius: 999px;
  box-shadow: 0 0 0 2px rgba(217, 237, 244, 0.7);
  flex: 0 0 auto;
  margin-top: 0.22rem;
}

.teams-directory-name-wrap {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.teams-directory-name {
  font-size: 0.94rem;
  font-weight: 700;
  color: #20323b;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.teams-directory-meta-inline,
.teams-directory-meta-value {
  display: flex;
  flex-wrap: wrap;
  gap: 0.24rem;
  align-items: center;
}

.teams-directory-meta {
  display: grid;
  gap: 0.5rem;
}

.teams-directory-meta-block {
  display: grid;
  gap: 0.18rem;
}

.teams-directory-meta-label {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #667c88;
}

.teams-directory-meta-value .badge,
.teams-directory-meta-inline .badge {
  max-width: 100%;
  font-size: 0.74rem;
  padding: 0.28rem 0.42rem;
}

body[data-bs-theme="dark"] .teams-directory-toolbar,
html[data-bs-theme="dark"] .teams-directory-toolbar {
  border-color: #355362;
  background:
    radial-gradient(circle at top right, rgba(58, 92, 109, 0.55), transparent 36%),
    linear-gradient(135deg, #203540 0%, #263f4c 100%);
}

body[data-bs-theme="dark"] .teams-directory-toolbar-title,
html[data-bs-theme="dark"] .teams-directory-toolbar-title {
  color: #ecf5f9;
}

body[data-bs-theme="dark"] .teams-directory-toolbar-subtitle,
html[data-bs-theme="dark"] .teams-directory-toolbar-subtitle {
  color: #9db8c6;
}

body[data-bs-theme="dark"] .teams-directory-card,
html[data-bs-theme="dark"] .teams-directory-card {
  border-color: #355362;
  box-shadow: 0 20px 36px -30px rgba(0, 0, 0, 0.55);
  background: linear-gradient(180deg, #243845 0%, #1f313c 100%);
}

body[data-bs-theme="dark"] .teams-directory-card--empty,
html[data-bs-theme="dark"] .teams-directory-card--empty {
  background: linear-gradient(180deg, #303741 0%, #243845 100%);
}

body[data-bs-theme="dark"] .teams-directory-color-chip,
html[data-bs-theme="dark"] .teams-directory-color-chip {
  box-shadow: 0 0 0 3px rgba(70, 103, 119, 0.45);
}

body[data-bs-theme="dark"] .teams-directory-name,
html[data-bs-theme="dark"] .teams-directory-name {
  color: #ecf5f9;
}

body[data-bs-theme="dark"] .teams-directory-table-name .teams-directory-name,
html[data-bs-theme="dark"] .teams-directory-table-name .teams-directory-name {
  color: #ecf5f9;
}

body[data-bs-theme="dark"] .teams-directory-meta-label,
html[data-bs-theme="dark"] .teams-directory-meta-label {
  color: #9db8c6;
}

.workflow-directory-filters {
  border: 1px solid #d7e8f3;
  background:
    radial-gradient(circle at top right, rgba(217, 237, 244, 0.9), transparent 38%),
    linear-gradient(135deg, #f8fcfe 0%, #eef6fb 100%);
}

.workflow-directory-filters .card-body {
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.workflow-directory-filters-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.75rem;
  align-items: start;
}

.workflow-directory-filter-group {
  flex: 1 1 15rem;
  min-width: 0;
}

.workflow-directory-filter-group--sort {
  flex: 0 1 12rem;
  margin-left: auto;
}

.workflow-directory-filter-group--actions {
  flex: 0 1 auto;
  margin-left: auto;
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
}

.workflow-directory--table-display .workflow-directory-filter-group--actions {
  align-self: flex-start;
  align-items: flex-start;
  padding-top: 1.2rem;
}

.workflow-directory-sort-form {
  width: 100%;
  min-width: 11.5rem;
}

.workflow-directory-view-form {
  display: flex;
  align-items: center;
}

.workflow-directory-toggle-row {
  margin-top: 0.7rem;
  display: flex;
  justify-content: flex-start;
}

.workflow-directory-view-form--inline {
  padding-bottom: 0.05rem;
}

.workflow-directory--table-display .workflow-directory-view-form--inline {
  padding-bottom: 0;
}

.directory-display-mode-form {
  display: flex;
  align-items: center;
}

.directory-display-mode-picker {
  margin: 0;
  min-height: 2.6rem;
  padding: 0.22rem;
  border: 1px solid rgba(119, 161, 146, 0.3);
  border-radius: 999px;
  background: rgba(251, 253, 252, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
}

.directory-display-mode-picker__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.directory-display-mode-picker__option {
  min-width: 0;
  margin: 0;
  min-height: 2.1rem;
  padding: 0.5rem 0.78rem;
  border-radius: 999px;
  color: #56717d;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.directory-display-mode-picker__icon {
  width: 0.88rem;
  height: 0.88rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.directory-display-mode-picker__icon svg {
  width: 100%;
  height: 100%;
}

.directory-display-mode-picker__input:checked + .directory-display-mode-picker__option {
  color: #214553;
  background: linear-gradient(180deg, #eef8f3 0%, #dff1e6 100%);
  box-shadow: 0 6px 14px -10px rgba(36, 74, 58, 0.55);
}

.directory-display-mode-picker__input:focus-visible + .directory-display-mode-picker__option {
  outline: 2px solid rgba(71, 140, 111, 0.45);
  outline-offset: 2px;
}

.directory-display-mode-picker__option:hover {
  color: #2b5160;
  background: rgba(223, 241, 230, 0.55);
}

.workflow-directory-filter-group--sort .workflow-directory-filter-row {
  align-items: center;
}

.workflow-directory-filter-group--sort .workflow-directory-filter-field {
  min-width: 0;
}

.workflow-directory-filter-row {
  align-items: flex-start;
}

.workflow-directory-filter-field {
  width: 100%;
  min-width: 12rem;
}

.workflow-directory-toggle {
  margin: 0;
  padding: 0.1rem 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.workflow-directory-toggle .form-check-input {
  margin: 0;
  width: 2rem;
  height: 1.15rem;
  float: none;
  flex: 0 0 auto;
}

.workflow-directory-toggle .form-check-label {
  color: #355362;
  font-weight: 500;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
}

.workflow-directory-grid {
  align-items: stretch;
}

.workflow-directory-jump-links .pending-requests-tabs {
  margin-bottom: 0;
}

.workflow-directory-grid [id^="workflow-section-"] {
  scroll-margin-top: 5.5rem;
}

.workflow-request-filter-hidden {
  display: none !important;
}

.workflow-directory-empty {
  border-style: dashed;
}

.workflow-directory-section {
  border: 1px solid #d9e7ef;
  box-shadow: 0 12px 24px -24px rgba(45, 67, 78, 0.34);
  overflow: hidden;
}

.workflow-directory-section > .card-header {
  border-bottom: 1px solid rgba(207, 227, 241, 0.8);
  padding-top: 0.72rem;
  padding-bottom: 0.72rem;
}

.workflow-directory-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.workflow-directory-section-toggle {
  flex: 0 0 auto;
}

.workflow-directory-section > .card-body {
  padding: 0.35rem 0.55rem 0.55rem;
  background: rgba(255, 255, 255, 0.92);
}

.workflow-directory-section,
.requests-directory-card {
  --request-theme-accent: #6c7a86;
  --request-theme-text: #20323b;
}

.workflow-directory-section--arrival,
.requests-directory-card--arrival,
.user-request-themed-card.card-arrival {
  --request-theme-accent: #4b9b6b;
  --request-theme-text: #2d6a45;
}

.workflow-directory-section--extension,
.requests-directory-card--extension,
.user-request-themed-card.card-extension {
  --request-theme-accent: var(--tblr-warning);
  --request-theme-text: #7c5a02;
}

.workflow-directory-section--account-extension,
.requests-directory-card--account-extension,
.user-request-themed-card.card-account-extension {
  --request-theme-accent: #8e6ad8;
  --request-theme-text: #5f4a9a;
}

.workflow-directory-section--departure,
.requests-directory-card--departure,
.user-request-themed-card.card-departure {
  --request-theme-accent: #d36b62;
  --request-theme-text: #8a3e39;
}

.workflow-directory-section--move,
.requests-directory-card--move,
.user-request-themed-card.card-move {
  --request-theme-accent: #5b9bc9;
  --request-theme-text: #2a5876;
}

.workflow-directory-section--internship,
.requests-directory-card--internship,
.user-request-themed-card.card-internship {
  --request-theme-accent: #2f9d94;
  --request-theme-text: #1f5f59;
}

.workflow-directory-section[class*="card-"] > .card-header {
  background: color-mix(in srgb, var(--request-theme-accent) 12%, white);
  color: var(--request-theme-text);
  border-color: color-mix(in srgb, var(--request-theme-accent) 28%, #d9e7ef);
}

.requests-directory-grid {
  align-items: stretch;
}

.requests-directory-card {
  background: color-mix(in srgb, var(--request-theme-accent) 6%, white) !important;
  border: 1px solid color-mix(in srgb, var(--request-theme-accent) 35%, #d9e7ef);
  border-left-width: 4px;
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--request-theme-accent) 8%, transparent),
    0 10px 22px -22px rgba(45, 67, 78, 0.32);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.requests-directory-card .card-body {
  padding: 0.62rem 0.68rem;
}

.requests-directory-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px -24px rgba(45, 67, 78, 0.38);
}

.requests-directory-card--closed {
  opacity: 0.88;
}

.requests-directory-card-top {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.requests-directory-identity {
  min-width: 0;
}

.requests-directory-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #20323b;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.requests-directory-subtitle {
  font-size: 0.74rem;
  color: var(--tblr-muted);
  margin-top: 0.08rem;
}

.requests-directory-status {
  min-width: 0;
}

.requests-directory-status .badge {
  white-space: normal;
}

.requests-directory-meta {
  display: grid;
  gap: 0.4rem;
}

.requests-directory-meta-row {
  display: grid;
  gap: 0.4rem;
}

.requests-directory-meta-block {
  display: grid;
  gap: 0.12rem;
}

.requests-directory-meta-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #667c88;
}

.requests-directory-meta-value {
  display: flex;
  flex-wrap: wrap;
  gap: 0.24rem;
  align-items: center;
}

.requests-directory-meta-value .badge {
  max-width: 100%;
  font-size: 0.64rem;
  padding: 0.2rem 0.34rem;
}

.requests-directory-card--shared-layout .card-body {
  padding: 0.55rem 0.62rem;
}

.requests-directory-card--shared-layout .requests-directory-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  margin-bottom: 0.4rem;
  gap: 0.35rem;
}

.requests-directory-card--shared-layout .requests-directory-identity {
  flex: 1 1 12rem;
}

.requests-directory-identity-details {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.3rem;
}

.requests-directory-identity-detail {
  display: grid;
  gap: 0.12rem;
}

.requests-summary-team-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
}

.requests-directory-card--shared-layout .requests-directory-status {
  margin-left: auto;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  align-self: stretch;
}

.requests-summary-highlight {
  margin-top: auto;
  padding-top: 0.4rem;
}

.requests-summary-highlight-label {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #667c88;
  margin-bottom: 0.18rem;
}

.requests-summary-highlight-value .badge {
  font-size: 0.68rem;
  padding: 0.22rem 0.38rem;
}

.requests-directory-card--shared-layout .requests-directory-status > .d-flex {
  align-items: flex-end;
}

.requests-directory-card--shared-layout .requests-directory-status .d-flex.flex-wrap {
  justify-content: flex-end;
}

.requests-directory-card--shared-layout .requests-directory-title {
  font-size: 0.86rem;
}

.requests-directory-person-status {
  font-size: 0.78rem;
  line-height: 1.2;
  color: var(--tblr-muted);
  margin-top: 0.08rem;
}

.requests-directory-card--shared-layout .requests-directory-subtitle {
  font-size: 0.7rem;
}

.requests-directory-card--shared-layout .requests-directory-meta {
  gap: 0.28rem;
}

.requests-directory-card--shared-layout .requests-directory-meta-label {
  font-size: 0.58rem;
}

.requests-directory-card--shared-layout .requests-directory-meta-value .badge {
  font-size: 0.68rem;
  padding: 0.22rem 0.36rem;
}

.workflow-directory--table-display .workflow-directory-section > .card-body {
  padding: 0.45rem 0.55rem 0.55rem;
}

.directory-card-table-wrap {
  overflow-x: auto;
}

.directory-card-table {
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0 0.55rem;
  --tblr-table-bg: transparent;
}

.directory-card-table > :not(caption) > * > * {
  border-bottom-width: 0;
  background: transparent;
}

.directory-card-table thead th {
  border: 0;
  padding: 0 0.85rem 0.1rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #667c88;
  white-space: nowrap;
}

.directory-card-table-sort {
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  text-decoration: none;
  transition: color 0.18s ease;
}

.directory-card-table-sort:hover {
  color: #355362;
}

.directory-card-table-sort.is-active {
  color: #214553;
}

.directory-card-table-sort__icon {
  width: 0.78rem;
  height: 0.78rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.65;
}

.directory-card-table-sort__icon svg {
  width: 100%;
  height: 100%;
}

.directory-card-table-sort.is-active .directory-card-table-sort__icon {
  opacity: 1;
}

.directory-card-table-row {
  --workflow-row-surface: color-mix(in srgb, var(--request-theme-accent) 6%, white);
  --workflow-row-border: color-mix(in srgb, var(--request-theme-accent) 35%, #d9e7ef);
  --workflow-row-shadow: 0 10px 22px -22px rgba(45, 67, 78, 0.32);
  cursor: pointer;
}

.directory-card-table-row > td {
  padding: 0.72rem 0.85rem;
  vertical-align: middle;
  text-align: left;
  background: var(--workflow-row-surface);
  border-top: 1px solid var(--workflow-row-border);
  border-bottom: 1px solid var(--workflow-row-border);
}

.directory-card-table-row > td:first-child {
  border-left: 4px solid var(--request-theme-accent);
  border-top-left-radius: 1rem;
  border-bottom-left-radius: 1rem;
  box-shadow: var(--workflow-row-shadow);
}

.directory-card-table-row > td:last-child {
  border-right: 1px solid var(--workflow-row-border);
  border-top-right-radius: 1rem;
  border-bottom-right-radius: 1rem;
}

.directory-card-table-row:hover > td,
.directory-card-table-row:focus-within > td {
  background: color-mix(in srgb, var(--request-theme-accent) 9%, white);
}

.users-directory-table-row {
  --request-theme-accent: #6c7a86;
}

.users-directory-table {
  width: 100%;
  table-layout: fixed;
}

.users-directory-table-col--name {
  width: 28%;
}

.users-directory-table-col--status {
  width: 11%;
}

.users-directory-table-col--teams {
  width: 27%;
}

.users-directory-table-col--office {
  width: 14%;
}

.users-directory-table-col--roles {
  width: 20%;
}

.users-directory-table-col--name-no-roles {
  width: 34%;
}

.users-directory-table-col--status-no-roles {
  width: 13%;
}

.users-directory-table-col--teams-no-roles {
  width: 31%;
}

.users-directory-table-col--office-no-roles {
  width: 22%;
}

.users-directory-card--pending_arrival.users-directory-table-row {
  --request-theme-accent: var(--tblr-warning);
}

.users-directory-card--active.users-directory-table-row {
  --request-theme-accent: #4b9b6b;
}

.users-directory-card--inactive.users-directory-table-row {
  --request-theme-accent: #8b96a3;
}

.users-directory-table-status {
  display: flex;
  justify-content: flex-start;
}

.users-directory-table td {
  min-width: 0;
}

.workflow-directory-table-main {
  font-size: 0.86rem;
  font-weight: 700;
  color: #20323b;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.workflow-directory-table-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.24rem;
}

.workflow-directory-table-workflow-status {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  text-align: left;
}

.workflow-directory-table-workflow-status > .d-flex {
  align-items: flex-start;
}

.workflow-directory-table-workflow-status .d-flex.flex-wrap {
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0.2rem !important;
}

.requests-directory-card--table-row .card-body {
  padding: 0.5rem 0.68rem;
}

.requests-directory-card--table-row .requests-directory-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 0.9rem;
  margin-bottom: 0;
}

.requests-directory-card--table-row .requests-directory-identity {
  display: flex;
  flex: 1 1 38rem;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.8rem;
}

.requests-directory-card--table-row .requests-directory-title {
  min-width: 0;
}

.requests-directory-card--table-row .requests-directory-person-status {
  margin-top: 0;
  white-space: nowrap;
}

.requests-directory-card--table-row .requests-directory-person-status .badge {
  font-size: 0.68rem;
  padding: 0.22rem 0.4rem;
}

.requests-directory-card--table-row .requests-directory-identity-details {
  display: flex;
  flex: 1 1 20rem;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.8rem;
  margin-top: 0;
}

.requests-directory-card--table-row .requests-directory-identity-detail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.45rem;
}

.requests-directory-card--table-row .requests-directory-meta-value {
  min-width: 0;
}

.requests-directory-card--table-row .requests-directory-status {
  display: flex;
  flex: 0 1 auto;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem 0.6rem;
  margin-left: auto;
  text-align: left;
}

.requests-directory-card--table-row .requests-directory-status > .requests-summary-highlight {
  order: 1;
}

.requests-directory-card--table-row .requests-directory-status > .d-flex {
  order: 2;
  flex-direction: column !important;
  align-items: flex-end;
  gap: 0.2rem !important;
}

.requests-directory-card--table-row .requests-directory-status > .d-flex .d-flex.flex-wrap {
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem !important;
}

.requests-directory-card--table-row .requests-directory-status > .d-flex > div {
  margin: 0;
}

.requests-directory-card--table-row .requests-summary-highlight {
  margin-top: 0;
  padding-top: 0;
}

.requests-directory-card--table-row .requests-summary-highlight-label {
  margin-bottom: 0.12rem;
}

.requests-directory-card--table-row .requests-directory-meta {
  display: none;
}

@media (min-width: 768px) {
  .requests-directory-card-top {
    grid-template-columns: minmax(0, 1fr) minmax(9rem, 11rem);
    align-items: start;
  }

  .requests-directory-meta-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .workflow-directory-section-header {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .workflow-directory-section-toggle {
    width: 100%;
  }

  .workflow-directory-filter-group--toggle {
    flex: 1 1 100%;
    justify-content: flex-start;
  }

  .workflow-directory-filter-group--actions {
    flex: 1 1 100%;
    margin-left: 0;
    align-items: stretch;
    justify-content: space-between;
    gap: 0.65rem;
  }

  .users-directory-filter-group--view {
    display: none;
  }

  .workflow-directory-toggle-row {
    display: none;
  }

  .requests-directory-card--shared-layout:not(.requests-directory-card--table-row) .requests-directory-card-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 0.5rem 0.75rem;
  }

  .requests-directory-card--shared-layout:not(.requests-directory-card--table-row) .requests-directory-status {
    margin-left: 0;
    text-align: right;
    align-items: flex-end;
    align-self: start;
    justify-content: flex-start;
  }

  .directory-card-table {
    min-width: 100%;
    border-spacing: 0;
  }

  .directory-card-table-row > td {
    border-left: 1px solid var(--workflow-row-border);
    border-right: 1px solid var(--workflow-row-border);
    padding: 0.5rem 0.75rem;
  }

  .directory-card-table-row > td:first-child {
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    border-bottom-left-radius: 0;
    box-shadow: var(--workflow-row-shadow);
  }

  .directory-card-table-row > td:last-child {
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    border-top-right-radius: 0;
  }

  .workflow-directory-table-workflow-status {
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
  }

  .workflow-directory-table-workflow-status > .d-flex,
  .workflow-directory-table-workflow-status .d-flex.flex-wrap {
    align-items: flex-start;
  }

  .requests-directory-card--table-row .requests-directory-card-top,
  .requests-directory-card--table-row .requests-directory-identity,
  .requests-directory-card--table-row .requests-directory-identity-details,
  .requests-directory-card--table-row .requests-directory-status,
  .requests-directory-card--table-row .requests-directory-identity-detail {
    display: grid;
  }

  .requests-directory-card--table-row .requests-directory-status {
    margin-left: 0;
  }
}

body[data-bs-theme="dark"] .workflow-directory-toggle,
html[data-bs-theme="dark"] .workflow-directory-toggle {
  background: transparent;
}

body[data-bs-theme="dark"] .directory-display-mode-picker,
html[data-bs-theme="dark"] .directory-display-mode-picker {
  border-color: rgba(95, 138, 124, 0.45);
  background: rgba(30, 50, 44, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-bs-theme="dark"] .directory-display-mode-picker__option,
html[data-bs-theme="dark"] .directory-display-mode-picker__option {
  color: #cfe1d8;
}

body[data-bs-theme="dark"] .directory-display-mode-picker__input:checked + .directory-display-mode-picker__option,
html[data-bs-theme="dark"] .directory-display-mode-picker__input:checked + .directory-display-mode-picker__option {
  color: #f1faf4;
  background: linear-gradient(180deg, #355f50 0%, #294c40 100%);
  box-shadow: 0 10px 18px -14px rgba(0, 0, 0, 0.7);
}

body[data-bs-theme="dark"] .directory-display-mode-picker__option:hover,
html[data-bs-theme="dark"] .directory-display-mode-picker__option:hover {
  color: #eef7f1;
  background: rgba(53, 95, 80, 0.42);
}

body[data-bs-theme="dark"] .workflow-directory-toggle .form-check-label,
html[data-bs-theme="dark"] .workflow-directory-toggle .form-check-label {
  color: #d6e7f1;
}

body[data-bs-theme="dark"] .workflow-directory-filters,
html[data-bs-theme="dark"] .workflow-directory-filters {
  border-color: #355362;
  background:
    radial-gradient(circle at top right, rgba(58, 92, 109, 0.55), transparent 36%),
    linear-gradient(135deg, #203540 0%, #263f4c 100%);
}

body[data-bs-theme="dark"] .workflow-directory-filter-group--sort .form-select,
html[data-bs-theme="dark"] .workflow-directory-filter-group--sort .form-select {
  background-color: rgba(26, 42, 50, 0.88);
  border-color: #4b6876;
  color: #e5f1f7;
}

body[data-bs-theme="dark"] .workflow-directory-section,
html[data-bs-theme="dark"] .workflow-directory-section {
  border-color: #355362;
  box-shadow: 0 16px 28px -26px rgba(0, 0, 0, 0.48);
}

body[data-bs-theme="dark"] .workflow-directory-section > .card-body,
html[data-bs-theme="dark"] .workflow-directory-section > .card-body {
  background: rgba(28, 42, 51, 0.92);
}

body[data-bs-theme="dark"] .workflow-directory-section[class*="card-"] > .card-header,
html[data-bs-theme="dark"] .workflow-directory-section[class*="card-"] > .card-header {
  background: color-mix(in srgb, var(--request-theme-accent) 16%, #203540);
  color: color-mix(in srgb, var(--request-theme-accent) 18%, #ecf5f9);
  border-color: color-mix(in srgb, var(--request-theme-accent) 42%, #355362);
}

body[data-bs-theme="dark"] .requests-directory-card,
html[data-bs-theme="dark"] .requests-directory-card {
  background: color-mix(in srgb, var(--request-theme-accent) 10%, #1c2a33) !important;
  border-color: color-mix(in srgb, var(--request-theme-accent) 45%, #355362);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--request-theme-accent) 12%, transparent),
    0 16px 28px -26px rgba(0, 0, 0, 0.46);
}

body[data-bs-theme="dark"] .requests-directory-title,
html[data-bs-theme="dark"] .requests-directory-title {
  color: #ecf5f9;
}

body[data-bs-theme="dark"] .directory-card-table thead th,
html[data-bs-theme="dark"] .directory-card-table thead th {
  color: #9db8c6;
}

body[data-bs-theme="dark"] .directory-card-table-sort:hover,
html[data-bs-theme="dark"] .directory-card-table-sort:hover {
  color: #dce9ef;
}

body[data-bs-theme="dark"] .directory-card-table-sort.is-active,
html[data-bs-theme="dark"] .directory-card-table-sort.is-active {
  color: #f1f7fa;
}

body[data-bs-theme="dark"] .directory-card-table-row,
html[data-bs-theme="dark"] .directory-card-table-row {
  --workflow-row-surface: color-mix(in srgb, var(--request-theme-accent) 10%, #1c2a33);
  --workflow-row-border: color-mix(in srgb, var(--request-theme-accent) 45%, #355362);
  --workflow-row-shadow: 0 16px 28px -26px rgba(0, 0, 0, 0.46);
}

body[data-bs-theme="dark"] .users-directory-name-link,
html[data-bs-theme="dark"] .users-directory-name-link {
  color: inherit;
}

body[data-bs-theme="dark"] .workflow-directory-table-main,
html[data-bs-theme="dark"] .workflow-directory-table-main {
  color: #ecf5f9;
}

body[data-bs-theme="dark"] .requests-directory-person-status,
html[data-bs-theme="dark"] .requests-directory-person-status {
  color: #b8c8d1;
}

body[data-bs-theme="dark"] .requests-summary-highlight-label,
html[data-bs-theme="dark"] .requests-summary-highlight-label {
  color: #b7d0dd;
}

body[data-bs-theme="dark"] .requests-directory-subtitle,
body[data-bs-theme="dark"] .requests-directory-meta-label,
html[data-bs-theme="dark"] .requests-directory-subtitle,
html[data-bs-theme="dark"] .requests-directory-meta-label {
  color: #9db8c6;
}

body[data-bs-theme="dark"] .users-directory-toolbar,
html[data-bs-theme="dark"] .users-directory-toolbar {
  border-color: #355362;
  background:
    radial-gradient(circle at top right, rgba(58, 92, 109, 0.55), transparent 36%),
    linear-gradient(135deg, #203540 0%, #263f4c 100%);
}

body[data-bs-theme="dark"] .users-directory-filter-pill,
html[data-bs-theme="dark"] .users-directory-filter-pill {
  border-color: #466777;
  background: rgba(42, 69, 83, 0.82);
  color: #d6e7f1;
}

body[data-bs-theme="dark"] .users-directory-filter-pill:hover,
html[data-bs-theme="dark"] .users-directory-filter-pill:hover {
  border-color: #5a8194;
  background: rgba(42, 69, 83, 0.92);
}

body[data-bs-theme="dark"] .users-directory-filter-pill:has(input:checked),
html[data-bs-theme="dark"] .users-directory-filter-pill:has(input:checked) {
  border-color: #5e8ba0;
  background: #204352;
  box-shadow: inset 0 0 0 1px #2b5567;
}

body[data-bs-theme="dark"] .users-directory-filter-pill-count,
html[data-bs-theme="dark"] .users-directory-filter-pill-count {
  background: rgba(214, 231, 241, 0.14);
}

body[data-bs-theme="dark"] .users-directory-status-field,
html[data-bs-theme="dark"] .users-directory-status-field {
  border-color: var(--app-form-field-border);
  background: var(--app-form-field-bg);
}

body[data-bs-theme="dark"] .users-directory-sort-actions,
html[data-bs-theme="dark"] .users-directory-sort-actions {
  border-color: #3c5f70;
  background: rgba(35, 55, 66, 0.72);
}

body[data-bs-theme="dark"] .users-directory-card,
html[data-bs-theme="dark"] .users-directory-card {
  border-color: #355362;
  box-shadow: 0 20px 36px -30px rgba(0, 0, 0, 0.55);
}

body[data-bs-theme="dark"] .users-directory-card--pending_arrival,
html[data-bs-theme="dark"] .users-directory-card--pending_arrival {
  background: linear-gradient(180deg, #4a412c 0%, #243845 100%);
}

body[data-bs-theme="dark"] .users-directory-card--active,
html[data-bs-theme="dark"] .users-directory-card--active {
  background: linear-gradient(180deg, #284438 0%, #243845 100%);
}

body[data-bs-theme="dark"] .users-directory-card--inactive,
html[data-bs-theme="dark"] .users-directory-card--inactive {
  background: linear-gradient(180deg, #303741 0%, #243845 100%);
}

body[data-bs-theme="dark"] .users-directory-avatar,
html[data-bs-theme="dark"] .users-directory-avatar {
  background: linear-gradient(135deg, #355362 0%, #466777 100%);
  color: #d9eef5;
}

body[data-bs-theme="dark"] .users-directory-name,
html[data-bs-theme="dark"] .users-directory-name {
  color: #ecf5f9;
}

body[data-bs-theme="dark"] .users-directory-meta-label,
html[data-bs-theme="dark"] .users-directory-meta-label {
  color: #9db8c6;
}

.reporting-data-table-wrap {
  border: 1px solid var(--tblr-border-color);
  border-radius: 0.75rem;
  overflow: auto;
  background: var(--tblr-bg-surface);
}

.reporting-data-table {
  margin: 0;
}

.reporting-data-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f2f8fc;
  border-bottom: 1px solid #d7e8f3;
  white-space: nowrap;
}

.reporting-data-table .reporting-data-sort {
  color: #2f5166;
  font-weight: 600;
  text-decoration: none;
}

.reporting-data-table .reporting-data-sort:hover,
.reporting-data-table .reporting-data-sort:focus {
  color: #1f3d4f;
  text-decoration: none;
}

.reporting-data-table .reporting-sort-indicator {
  font-size: 0.9em;
}

.reporting-data-table tbody tr:nth-child(even) {
  background: #fbfdff;
}

.reporting-data-table tbody tr:hover {
  background: #f3f9fd;
}

.reporting-data-table .reporting-data-chip {
  background: #e9f1f7;
  color: #2f5166;
  border: 1px solid #d0e1ed;
  border-radius: 999px;
  padding: 0.3rem 0.5rem;
  font-weight: 500;
}

.reporting-data-table .reporting-data-chip--success {
  background: #e4f4e8;
  color: #24593a;
  border-color: #c4e7cc;
}

.reporting-data-table .reporting-data-chip--danger {
  background: #f9e8e4;
  color: #7b3a31;
  border-color: #efcbc4;
}

.reporting-data-table .reporting-data-chip--warning {
  background: #fdf2db;
  color: #7b5a1f;
  border-color: #f0dfb2;
}

body[data-bs-theme="dark"] .reporting-data-table-wrap,
html[data-bs-theme="dark"] .reporting-data-table-wrap {
  background: #233742;
  border-color: #36515f;
}

body[data-bs-theme="dark"] .reporting-data-table thead th,
html[data-bs-theme="dark"] .reporting-data-table thead th {
  background: #2a4553;
  border-bottom-color: #3a5c6d;
}

body[data-bs-theme="dark"] .reporting-data-table .reporting-data-sort,
html[data-bs-theme="dark"] .reporting-data-table .reporting-data-sort {
  color: #d6e7f1;
}

body[data-bs-theme="dark"] .reporting-data-table tbody tr:nth-child(even),
html[data-bs-theme="dark"] .reporting-data-table tbody tr:nth-child(even) {
  background: #243a46;
}

body[data-bs-theme="dark"] .reporting-data-table tbody tr:hover,
html[data-bs-theme="dark"] .reporting-data-table tbody tr:hover {
  background: #2a4351;
}

body[data-bs-theme="dark"] .reporting-data-table .reporting-data-chip,
html[data-bs-theme="dark"] .reporting-data-table .reporting-data-chip {
  background: #355362;
  color: #d6e7f1;
  border-color: #466777;
}

body[data-bs-theme="dark"] .reporting-data-table .reporting-data-chip--success,
html[data-bs-theme="dark"] .reporting-data-table .reporting-data-chip--success {
  background: #2f5442;
  color: #d6f0df;
  border-color: #3f6953;
}

body[data-bs-theme="dark"] .reporting-data-table .reporting-data-chip--danger,
html[data-bs-theme="dark"] .reporting-data-table .reporting-data-chip--danger {
  background: #5a3f3a;
  color: #f5dfda;
  border-color: #6f4e47;
}

body[data-bs-theme="dark"] .reporting-data-table .reporting-data-chip--warning,
html[data-bs-theme="dark"] .reporting-data-table .reporting-data-chip--warning {
  background: #5f4d2f;
  color: #f7e8c6;
  border-color: #74603d;
}

@media (max-width: 767px) {
  .workflow-directory-toggle {
    align-self: flex-start;
    max-width: 100%;
  }

  .directory-display-mode-picker__label {
    display: none;
  }

  .directory-display-mode-picker__option {
    padding-inline: 0.7rem;
  }

  .workflow-directory-filter-group--toggle {
    justify-content: flex-start;
  }

  .workflow-directory-filter-group--sort {
    flex: 1 1 100%;
    margin-left: 0;
  }

  .workflow-directory-sort-form {
    min-width: 0;
  }

  .teams-directory-toolbar-row,
  .teams-directory-toolbar-main,
  .teams-directory-toolbar-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .teams-directory-view-form {
    display: none;
  }

  .users-directory-card-top {
    flex-direction: column;
  }

  .users-directory-sort-actions {
    border-radius: 1rem;
  }

  .reporting-view-switcher .reporting-graph-pair {
    grid-template-columns: 1fr;
  }

  .reporting-page .reporting-filters-row > [class*="col-"] {
    width: 100%;
  }

  .reporting-page .reporting-filter-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .reporting-page .reporting-filter-label {
    width: auto;
    flex: 0 0 auto;
  }

  .reporting-page .reporting-filter-row--date .reporting-filter-field {
    width: 100%;
  }

  .reporting-page .reporting-filter-field {
    width: 100%;
  }

  .reporting-view-switcher .reporting-card-options-select {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .users-directory-toolbar .reporting-filters-row > [class*="col-"] {
    width: 100%;
  }

  .users-directory-filter-row {
    flex-direction: column;
    align-items: stretch;
  }

  .users-directory-filter-pills,
  .users-directory-sort-actions {
    width: 100%;
  }
}

@media (min-width: 768px) {
  .reporting-page .reporting-filters-row--wrapped .reporting-filter-label {
    width: 8rem;
    flex: 0 0 8rem;
  }
}

@media (max-width: 1199px) {
  .user-detail-page .user-detail-actions-wrapper {
    position: static;
    top: auto;
  }
}

:root {
  --app-btn-primary-bg: #d9edf4;
  --app-btn-primary-border: #afd5e2;
  --app-btn-primary-fg: #245062;
  --app-btn-primary-hover-bg: #c8e4ee;
  --app-btn-primary-hover-border: #9fcddc;
  --app-btn-primary-hover-fg: #1b4658;
  --app-btn-success-bg: #deefe2;
  --app-btn-success-border: #b9dec3;
  --app-btn-success-fg: #1f5a32;
  --app-btn-success-hover-bg: #cde6d5;
  --app-btn-success-hover-border: #a8d3b5;
  --app-btn-success-hover-fg: #184f2a;
  --app-btn-danger-bg: #f8dfdb;
  --app-btn-danger-border: #efc0b8;
  --app-btn-danger-fg: #7b2f2a;
  --app-btn-danger-hover-bg: #f3d2cd;
  --app-btn-danger-hover-border: #e7aca1;
  --app-btn-danger-hover-fg: #682823;
  --app-btn-orange-bg: #f7ead8;
  --app-btn-orange-border: #e9cfaa;
  --app-btn-orange-fg: #7a5625;
  --app-btn-orange-hover-bg: #f2e0c8;
  --app-btn-orange-hover-border: #ddb98b;
  --app-btn-orange-hover-fg: #66481f;
  --app-btn-pink-bg: #f6deea;
  --app-btn-pink-border: #eac0d7;
  --app-btn-pink-fg: #6e3457;
  --app-btn-pink-hover-bg: #f1d0e2;
  --app-btn-pink-hover-border: #dfa9c8;
  --app-btn-pink-hover-fg: #5f2b4b;
  --app-force-close-bg: #ffe8b5;
  --app-force-close-border: #f2c66d;
  --app-force-close-fg: #6b3f00;
  --app-force-close-hover-bg: #ffdb96;
  --app-force-close-hover-border: #e8b24f;
  --app-force-close-hover-fg: #563100;
  --app-force-close-dark-bg: #6a4c16;
  --app-force-close-dark-border: #85601d;
  --app-force-close-dark-fg: #ffe8b5;
  --app-force-close-dark-hover-bg: #7a5a1b;
  --app-force-close-dark-hover-border: #9a7123;
  --app-force-close-dark-hover-fg: #ffecbf;
  --app-table-action-primary-bg: #d9edf4;
  --app-table-action-primary-border: #afd5e2;
  --app-table-action-primary-fg: #245062;
  --app-table-action-secondary-bg: #e4eaee;
  --app-table-action-secondary-border: #c8d4dc;
  --app-table-action-secondary-fg: #3a5563;
  --app-table-action-danger-bg: #f8dfdb;
  --app-table-action-danger-border: #efc0b8;
  --app-table-action-danger-fg: #7b2f2a;
  --app-table-action-purple-bg: #f1dff2;
  --app-table-action-purple-border: #e0bfe4;
  --app-table-action-purple-fg: #5f3568;
}

[data-bs-theme="dark"] {
  --app-btn-primary-bg: #204352;
  --app-btn-primary-border: #2b5567;
  --app-btn-primary-fg: #d9eef5;
  --app-btn-primary-hover-bg: #285062;
  --app-btn-primary-hover-border: #35657a;
  --app-btn-primary-hover-fg: #eef8fb;
  --app-btn-success-bg: #244834;
  --app-btn-success-border: #2f5d44;
  --app-btn-success-fg: #dbefe2;
  --app-btn-success-hover-bg: #2c5740;
  --app-btn-success-hover-border: #387151;
  --app-btn-success-hover-fg: #edf8f0;
  --app-btn-danger-bg: #583431;
  --app-btn-danger-border: #6a403b;
  --app-btn-danger-fg: #f5e0dc;
  --app-btn-danger-hover-bg: #68403a;
  --app-btn-danger-hover-border: #7b4a43;
  --app-btn-danger-hover-fg: #faece8;
  --app-btn-orange-bg: #5b4932;
  --app-btn-orange-border: #6e583f;
  --app-btn-orange-fg: #f4e7d4;
  --app-btn-orange-hover-bg: #6d5840;
  --app-btn-orange-hover-border: #81694c;
  --app-btn-orange-hover-fg: #fbf3e8;
  --app-btn-pink-bg: #5b3a4f;
  --app-btn-pink-border: #6d4760;
  --app-btn-pink-fg: #f5deea;
  --app-btn-pink-hover-bg: #6c465f;
  --app-btn-pink-hover-border: #82546f;
  --app-btn-pink-hover-fg: #fff2f8;
  --app-force-close-bg: var(--app-force-close-dark-bg);
  --app-force-close-border: var(--app-force-close-dark-border);
  --app-force-close-fg: var(--app-force-close-dark-fg);
  --app-force-close-hover-bg: var(--app-force-close-dark-hover-bg);
  --app-force-close-hover-border: var(--app-force-close-dark-hover-border);
  --app-force-close-hover-fg: var(--app-force-close-dark-hover-fg);
  --app-table-action-primary-bg: #204352;
  --app-table-action-primary-border: #2b5567;
  --app-table-action-primary-fg: #d9eef5;
  --app-table-action-secondary-bg: #2b3f4a;
  --app-table-action-secondary-border: #36505e;
  --app-table-action-secondary-fg: #e1ebf1;
  --app-table-action-danger-bg: #583431;
  --app-table-action-danger-border: #6a403b;
  --app-table-action-danger-fg: #f5e0dc;
  --app-table-action-purple-bg: #51395a;
  --app-table-action-purple-border: #62456e;
  --app-table-action-purple-fg: #efddf4;
}

.page-form-layout .page-form-actions-wrapper {
  position: sticky;
  top: 0.75rem;
  z-index: 95;
  margin-top: 0;
  margin-bottom: 0.35rem;
}

.page-form-layout .page-form-actions {
  background: var(--tblr-bg-surface);
  border: 1px solid var(--tblr-border-color);
  border-radius: 0.75rem;
  padding: 0.75rem;
  box-shadow: 0 0.25rem 0.75rem rgba(31, 41, 55, 0.08);
  --bs-gutter-y: 0;
  --bs-gutter-x: 0.5rem;
}

.page-form-layout .page-form-actions.row {
  --bs-gutter-y: 0 !important;
}

.page-form-layout > .row,
.page-form-layout > .page-form-content > .row {
  --bs-gutter-x: 0.5rem;
}

.page-form-layout > .page-form-content {
  width: 100%;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.page-form-layout .card.card-sm {
  border-radius: 0.75rem;
  overflow: hidden;
}

.page-form-layout .card.card-sm .card-status-start {
  border-radius: 0.75rem 0 0 0.75rem;
}

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

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

#btn-login {
  background-color: var(--tblr-primary) !important;
  border-color: var(--tblr-primary) !important;
  color: #ffffff !important;
}

#btn-login:hover,
#btn-login:focus {
  background-color: #006b8d !important;
  border-color: #006b8d !important;
  color: #ffffff !important;
}

.btn.btn-success {
  background-color: var(--app-btn-success-bg);
  border-color: var(--app-btn-success-border);
  color: var(--app-btn-success-fg);
}

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

.btn.btn-danger {
  background-color: var(--app-btn-danger-bg);
  border-color: var(--app-btn-danger-border);
  color: var(--app-btn-danger-fg);
}

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

.force-close-action {
  background-color: var(--app-force-close-bg) !important;
  border-color: var(--app-force-close-border) !important;
  color: var(--app-force-close-fg) !important;
}

.force-close-action:hover,
.force-close-action:focus {
  background-color: var(--app-force-close-hover-bg) !important;
  border-color: var(--app-force-close-hover-border) !important;
  color: var(--app-force-close-hover-fg) !important;
}

.btn.btn-outline-orange {
  background-color: var(--app-btn-orange-bg);
  border-color: var(--app-btn-orange-border);
  color: var(--app-btn-orange-fg);
}

.btn.btn-outline-orange:hover,
.btn.btn-outline-orange:focus {
  background-color: var(--app-btn-orange-hover-bg);
  border-color: var(--app-btn-orange-hover-border);
  color: var(--app-btn-orange-hover-fg);
}

.btn.btn-pink {
  background-color: var(--app-btn-pink-bg);
  border-color: var(--app-btn-pink-border);
  color: var(--app-btn-pink-fg);
}

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

body[data-bs-theme="dark"] #btn-login,
html[data-bs-theme="dark"] #btn-login {
  background-color: var(--tblr-primary) !important;
  border-color: var(--tblr-primary) !important;
  color: #ffffff !important;
}

@media (max-width: 1199px) {
  .page-form-layout .page-form-actions-wrapper {
    position: static;
    top: auto;
  }
}

.table .table-action-badge {
  border: 1px solid transparent !important;
  border-radius: 0.5rem !important;
  padding: 0.28rem 0.45rem !important;
}

.table .table-action-badge.table-action-primary {
  background-color: var(--app-table-action-primary-bg) !important;
  border-color: var(--app-table-action-primary-border) !important;
  color: var(--app-table-action-primary-fg) !important;
}

.table .table-action-badge.table-action-secondary {
  background-color: var(--app-table-action-secondary-bg) !important;
  border-color: var(--app-table-action-secondary-border) !important;
  color: var(--app-table-action-secondary-fg) !important;
}

.table .table-action-badge.table-action-danger {
  background-color: var(--app-table-action-danger-bg) !important;
  border-color: var(--app-table-action-danger-border) !important;
  color: var(--app-table-action-danger-fg) !important;
}

.table .table-action-badge.table-action-purple {
  background-color: var(--app-table-action-purple-bg) !important;
  border-color: var(--app-table-action-purple-border) !important;
  color: var(--app-table-action-purple-fg) !important;
}

.table .table-action-badge.table-action-force-close {
  background-color: var(--app-force-close-bg) !important;
  border-color: var(--app-force-close-border) !important;
  color: var(--app-force-close-fg) !important;
}

.table .table-action-badge:hover,
.table .table-action-badge:focus {
  filter: brightness(0.97);
}

.workflow-action-disabled,
.workflow-action-disabled:hover,
.workflow-action-disabled:focus,
.workflow-action-disabled:active {
  background-color: transparent !important;
  border-color: var(--tblr-secondary) !important;
  color: var(--tblr-secondary) !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.btn-workflow-validate {
  background-color: #3a8fb0;
  border-color: #3a8fb0;
  color: #fff;
}

.btn-workflow-validate:hover,
.btn-workflow-validate:focus,
.btn-workflow-validate:active,
.btn-workflow-validate.active,
.show > .btn-workflow-validate.dropdown-toggle {
  background-color: #327b97;
  border-color: #327b97;
  color: #fff;
}

.btn-outline-workflow-validate {
  color: #3a8fb0;
  border-color: #3a8fb0;
}

.btn-outline-workflow-validate:hover,
.btn-outline-workflow-validate:focus,
.btn-outline-workflow-validate:active,
.btn-outline-workflow-validate.active,
.show > .btn-outline-workflow-validate.dropdown-toggle {
  background-color: #3a8fb0;
  border-color: #3a8fb0;
  color: #fff;
}

[data-bs-theme="dark"] .btn-workflow-validate {
  background-color: #5aa8c7;
  border-color: #5aa8c7;
  color: #0b2230;
}

[data-bs-theme="dark"] .btn-workflow-validate:hover,
[data-bs-theme="dark"] .btn-workflow-validate:focus,
[data-bs-theme="dark"] .btn-workflow-validate:active,
[data-bs-theme="dark"] .btn-workflow-validate.active,
[data-bs-theme="dark"] .show > .btn-workflow-validate.dropdown-toggle {
  background-color: #7abbd4;
  border-color: #7abbd4;
  color: #0b2230;
}

[data-bs-theme="dark"] .btn-outline-workflow-validate {
  color: #8dc5d9;
  border-color: #5aa8c7;
}

[data-bs-theme="dark"] .btn-outline-workflow-validate:hover,
[data-bs-theme="dark"] .btn-outline-workflow-validate:focus,
[data-bs-theme="dark"] .btn-outline-workflow-validate:active,
[data-bs-theme="dark"] .btn-outline-workflow-validate.active,
[data-bs-theme="dark"] .show > .btn-outline-workflow-validate.dropdown-toggle {
  background-color: #5aa8c7;
  border-color: #5aa8c7;
  color: #0b2230;
}
