/* your styles go here */
:root {
  --amiv-primary: #4e71b6; /* website --primary-color */
  --amiv-primary-hover: #3f5f9c;
  --amiv-primary-soft: #7a9bd4; /* softer blue for outlines */
  --amiv-secondary: #e8367f; /* brand pink / logo accent */
  --amiv-secondary-hover: #d12e70;
  --amiv-secondary-soft: #f071a5; /* softer pink for outlines */
  --amiv-secondary-soft-bg: #fce8f1; /* soft light-pink fill */
  --amiv-pink: var(--amiv-secondary); /* alias */
  --amiv-hover-bg: #ecf4fd; /* website --background-color-4 */
  --phoenix-navbar-vertical-link-hover-color: var(--amiv-secondary);
  --phoenix-navbar-vertical-link-active-color: var(--amiv-secondary);
  --phoenix-navbar-vertical-link-hover-bg: var(--amiv-hover-bg);
  --phoenix-choices-item-bg: var(--amiv-secondary-soft-bg);
  --phoenix-choices-item-color: var(--amiv-secondary);
  --amiv-teal-text-emphasis: #0f6e66;
  --amiv-teal-bg-subtle: #d0f4f0;
  --amiv-teal-border-subtle: #5dcdc0;
}

[data-bs-theme=dark] {
  --amiv-teal-text-emphasis: #6ed9cb;
  --amiv-teal-bg-subtle: #1a2a2a;
  --amiv-teal-border-subtle: #2d5550;
}

.badge-phoenix-teal {
  --phoenix-badge-bg: var(--amiv-teal-bg-subtle);
  --phoenix-badge-color: var(--amiv-teal-text-emphasis);
  --phoenix-badge-border-color: var(--amiv-teal-border-subtle);
}

.navbar-vertical .navbar-vertical-content .navbar-nav .nav-link.active,
.navbar-vertical .navbar-vertical-content .navbar-nav .nav-link.active .nav-link-text,
.navbar-vertical .navbar-vertical-content .navbar-nav .nav-link.active .nav-link-icon {
  color: var(--amiv-pink);
}

.navbar-vertical .navbar-vertical-content .navbar-nav .nav-link.active svg {
  stroke: var(--amiv-pink);
}

.amiv-view-as-alert {
  min-height: 0;
}

.amiv-view-as-exit {
  flex-shrink: 0;
  white-space: nowrap;
}

/* Vanilla datepicker appends to body at z-index 1000, under Bootstrap modals (1055). */
.datepicker-dropdown {
  z-index: 1090 !important;
}

.amiv-hq-alert-bar {
  --amiv-hq-alert-height: 2.35rem;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1045 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  height: var(--amiv-hq-alert-height);
  padding: 0 1rem;
  background: #1e3a5f;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
}

.amiv-hq-alert-label {
  flex-shrink: 0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1e3a5f;
  background: #fff;
  border-radius: 0.2rem;
  padding: 0.15rem 0.4rem;
  line-height: 1.2;
}

.amiv-hq-alert-text {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(68vw, 36rem);
}

.amiv-hq-alert-more {
  flex-shrink: 0;
  appearance: none;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: underline;
  text-underline-offset: 0.12em;
  padding: 0;
  cursor: pointer;
  white-space: nowrap;
}

.amiv-hq-alert-more:hover,
.amiv-hq-alert-more:focus-visible {
  color: #dbe7f5;
  outline: none;
}

.amiv-hq-alert-more[hidden] {
  display: none !important;
}

body.amiv-has-hq-alert,
body[data-amiv-hq-alert="1"] {
  --amiv-hq-alert-height: 2.35rem;
}

body.amiv-has-hq-alert .navbar-top.fixed-top,
body[data-amiv-hq-alert="1"] .navbar-top.fixed-top,
body.amiv-has-hq-alert #navbarDefault,
body[data-amiv-hq-alert="1"] #navbarDefault {
  top: var(--amiv-hq-alert-height) !important;
}

body.amiv-has-hq-alert .content,
body[data-amiv-hq-alert="1"] .content {
  padding-top: calc(var(--phoenix-navbar-top-height) + var(--amiv-hq-alert-height) + 2rem) !important;
}

@media (min-width: 992px) {
  body.amiv-has-hq-alert .navbar-vertical.navbar-expand-lg,
  body[data-amiv-hq-alert="1"] .navbar-vertical.navbar-expand-lg {
    top: calc(var(--phoenix-navbar-top-height) + var(--amiv-hq-alert-height)) !important;
    height: calc(100vh - var(--phoenix-navbar-top-height) - var(--amiv-hq-alert-height)) !important;
  }

  /*
   * Phoenix sizes .navbar-vertical-content to 100vh - topbar - footer.
   * With the HQ alert, subtract that height too or the last items clip.
   */
  html:not(.navbar-vertical-collapsed) body.amiv-has-hq-alert .navbar-vertical.navbar-expand-lg .navbar-vertical-content,
  html:not(.navbar-vertical-collapsed) body[data-amiv-hq-alert="1"] .navbar-vertical.navbar-expand-lg .navbar-vertical-content,
  html.navbar-vertical-collapsed body.amiv-has-hq-alert .navbar-vertical.navbar-expand-lg .navbar-vertical-content,
  html.navbar-vertical-collapsed body[data-amiv-hq-alert="1"] .navbar-vertical.navbar-expand-lg .navbar-vertical-content {
    height: calc(100vh - var(--phoenix-navbar-top-height) - var(--amiv-hq-alert-height) - 4rem) !important;
  }

  html.navbar-vertical-collapsed body.amiv-has-hq-alert .navbar-vertical.navbar-expand-lg,
  html.navbar-vertical-collapsed body[data-amiv-hq-alert="1"] .navbar-vertical.navbar-expand-lg {
    top: calc(var(--phoenix-navbar-top-height) + var(--amiv-hq-alert-height)) !important;
    height: calc(100vh - var(--phoenix-navbar-top-height) - var(--amiv-hq-alert-height)) !important;
  }
}

/* legacy class kept empty so old caches don't break */
.amiv-corporate-alert {
  display: none;
}

/*
 * Phoenix uses display:inline-block on .navbar-vertical. SSR menu labels with
 * white-space:nowrap can expand that box past 15.875rem on first paint; AJAX
 * injection happens after layout is locked so it looked "correct". Keep the
 * sidebar width fixed either way.
 */
@media (min-width: 992px) {
  .navbar-vertical.navbar-expand-lg {
    width: 15.875rem;
    max-width: 15.875rem;
    overflow-x: hidden;
  }

  .navbar-vertical.navbar-expand-lg .navbar-vertical-content .navbar-nav .nav-link {
    overflow: hidden;
  }

  .navbar-vertical.navbar-expand-lg .navbar-vertical-content .navbar-nav .nav-link .nav-link-text {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .navbar-vertical.navbar-expand-lg .navbar-vertical-content .navbar-nav .nav-link.active {
    background-color: var(--amiv-hover-bg);
    color: var(--amiv-pink);
  }

  /*
   * Phoenix collapsed mode uses position:absolute + document min-height so the
   * icon rail scrolls with page content. Keep it fixed with its own scrollbar
   * (same behavior as expanded) — AMIV menus are tall enough to need it.
   */
  html.navbar-vertical-collapsed .navbar-vertical.navbar-expand-lg {
    position: fixed;
    top: var(--phoenix-navbar-top-height);
    height: calc(100vh - var(--phoenix-navbar-top-height));
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    width: 4rem;
    max-width: 4rem;
  }

  html.navbar-vertical-collapsed .navbar-vertical.navbar-expand-lg .navbar-vertical-content {
    height: calc(100vh - var(--phoenix-navbar-top-height) - 4rem);
    overflow-x: hidden;
    overflow-y: auto;
  }
}

/*
 * Mobile hamburger menu: Phoenix sizes .navbar-vertical-content to
 * 100vh - topbar, but the sidebar itself is already offset by the topbar
 * (and 100vh is taller than the visible area on iOS). The last items sit
 * below the fold with nothing left to scroll. Fill the remaining visual
 * viewport and keep the list scrollable, including HQ-alert offset.
 */
@media (max-width: 991.98px) {
  body:has(#navbarVerticalCollapse.show) {
    overflow: hidden;
  }

  .navbar-vertical.navbar-expand-lg:has(.navbar-collapse.show),
  .navbar-vertical.navbar-expand-lg:has(.navbar-collapse.collapsing) {
    top: var(--phoenix-navbar-top-height);
    height: calc(100vh - var(--phoenix-navbar-top-height));
    height: calc(100dvh - var(--phoenix-navbar-top-height));
    max-height: calc(100vh - var(--phoenix-navbar-top-height));
    max-height: calc(100dvh - var(--phoenix-navbar-top-height));
    overflow: hidden;
    z-index: 1025;
  }

  .navbar-vertical.navbar-expand-lg .navbar-collapse.show,
  .navbar-vertical.navbar-expand-lg .navbar-collapse.collapsing {
    height: 100%;
    max-height: 100%;
    overflow: hidden;
  }

  html:not(.navbar-vertical-collapsed) .navbar-vertical .navbar-collapse.show .navbar-vertical-content,
  html.navbar-vertical-collapsed .navbar-vertical .navbar-collapse.show .navbar-vertical-content,
  .navbar-vertical .navbar-collapse.show .navbar-vertical-content,
  .navbar-vertical .navbar-collapse.collapsing .navbar-vertical-content {
    height: 100% !important;
    max-height: 100% !important;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  }

  body.amiv-has-hq-alert .navbar-vertical.navbar-expand-lg:has(.navbar-collapse.show),
  body.amiv-has-hq-alert .navbar-vertical.navbar-expand-lg:has(.navbar-collapse.collapsing),
  body[data-amiv-hq-alert="1"] .navbar-vertical.navbar-expand-lg:has(.navbar-collapse.show),
  body[data-amiv-hq-alert="1"] .navbar-vertical.navbar-expand-lg:has(.navbar-collapse.collapsing) {
    top: calc(var(--phoenix-navbar-top-height) + var(--amiv-hq-alert-height));
    height: calc(100vh - var(--phoenix-navbar-top-height) - var(--amiv-hq-alert-height));
    height: calc(100dvh - var(--phoenix-navbar-top-height) - var(--amiv-hq-alert-height));
    max-height: calc(100vh - var(--phoenix-navbar-top-height) - var(--amiv-hq-alert-height));
    max-height: calc(100dvh - var(--phoenix-navbar-top-height) - var(--amiv-hq-alert-height));
  }
}

.amiv-dashboard-home {
  min-height: calc(100vh - 12rem);
}

.amiv-dashboard-logo {
  max-width: min(420px, 70vw);
  height: auto;
  opacity: 0.92;
}

.amiv-dashboard-logo-inline {
  max-width: min(180px, 40vw);
  height: auto;
  opacity: 0.9;
}

.amiv-dashboard-tile {
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.amiv-dashboard-tile:hover {
  border-color: var(--phoenix-primary, #3874ff) !important;
  background-color: var(--phoenix-body-highlight-bg, #f5f7fa);
}

.amiv-dashboard-tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: var(--phoenix-body-highlight-bg, #f5f7fa);
  color: var(--phoenix-primary, #3874ff);
  flex-shrink: 0;
}

.amiv-dashboard-tile-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.shadow-success-100:before {
  background-color: rgba(var(--phoenix-success-rgb), 0.3);
}

.shadow-warning-100:before {
  background-color: rgba(var(--phoenix-warning-rgb), 0.3);
}

.amiv-brand-title {
  font-size: 1.15rem;
  line-height: 1.2;
  white-space: nowrap;
  max-width: min(420px, 46vw);
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--phoenix-tertiary-color, #525b75) !important;
}

.card > .card-header h4,
.card > .card-header h5,
.card > .card-header h6,
.card > .card-header .h4,
.card > .card-header .h5,
.card > .card-header .h6,
.card > .card-header h4.text-body-emphasis,
.card > .card-header h5.text-body-emphasis,
.card > .card-header h6.text-body-emphasis {
  color: var(--amiv-primary) !important;
}

.amiv-footer-copy {
  color: var(--amiv-pink) !important;
}

/*
 * Extra space above the absolute footer so page content never sits flush.
 * Theme already reserves footer height; this adds breathing room on top of that.
 */
.content {
  padding-bottom: 9rem;
}

@media (min-width: 576px) {
  .content {
    padding-bottom: 7rem;
  }
}

.amiv-top-cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  min-height: 2rem;
}

.amiv-top-cart-link .text-body-tertiary {
  color: var(--amiv-pink) !important;
}

.amiv-top-cart-link svg {
  stroke: var(--amiv-pink) !important;
}

.amiv-top-cart-link.active .text-body-tertiary,
.amiv-top-cart-link:hover .text-body-tertiary {
  color: var(--amiv-secondary-hover) !important;
}

.amiv-top-cart-link.active svg,
.amiv-top-cart-link:hover svg {
  stroke: var(--amiv-secondary-hover) !important;
}

.amiv-top-cart-badge {
  position: absolute;
  top: -0.15rem;
  right: -0.35rem;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.25rem;
  font-size: 0.65rem;
  line-height: 1.1rem;
  border-radius: 999px;
}

.btn.amiv-franchises-btn {
  border-color: var(--phoenix-tertiary-color, #525b75);
  color: var(--phoenix-tertiary-color, #525b75);
  background: #fff;
  font-weight: 600;
  font-size: 0.75rem;
  line-height: 1.2;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.btn.amiv-franchises-btn:hover,
.btn.amiv-franchises-btn:focus,
.btn.amiv-franchises-btn:active {
  border-color: var(--phoenix-secondary, #31374a);
  color: #fff;
  background: var(--phoenix-secondary, #31374a);
}

.amiv-franchise-row.is-active {
  background-color: var(--amiv-hover-bg);
}

.amiv-franchise-row.is-clickable {
  cursor: pointer;
}

.amiv-franchise-row.is-clickable:hover {
  background-color: var(--amiv-hover-bg);
}

.amiv-franchise-active-label {
  color: var(--amiv-primary);
  font-weight: 600;
}

.amiv-franchise-make-active {
  color: var(--amiv-pink);
  font-weight: 600;
}

.amiv-franchise-row.is-clickable:hover .amiv-franchise-make-active {
  color: var(--amiv-primary);
  text-decoration: underline;
}

/*
 * AMIV buttons
 * - .amiv-btn-primary = soft light-blue fill (View, Print, Edit, etc.)
 * - .amiv-btn-primary.amiv-btn-solid = solid blue (Save, Submit, New)
 * - .amiv-btn-outline-primary = main AMIV blue outline
 * - .amiv-btn-outline-primary-soft = softer blue outline
 * - .amiv-btn-secondary = softer pink outline
 * - .amiv-btn-secondary-soft = soft light-pink fill (Filter, etc.)
 * - .amiv-btn-secondary.amiv-btn-solid = solid pink
 */

/* Primary (AMIV blue) — soft light-blue fill */
.amiv-btn-primary {
  color: var(--amiv-primary);
  background-color: var(--amiv-hover-bg);
  border: 1px solid var(--amiv-hover-bg);
  font-weight: 600;
}

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

/* Primary — main AMIV blue outline */
.amiv-btn-outline-primary {
  color: var(--amiv-primary);
  background-color: transparent;
  border: 1px solid var(--amiv-primary);
  font-weight: 600;
}

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

/* Primary — soft light blue outline */
.amiv-btn-outline-primary-soft {
  color: var(--amiv-primary-soft);
  background-color: transparent;
  border: 1px solid var(--amiv-primary-soft);
  font-weight: 600;
}

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

/* Secondary (AMIV pink) — softer outline */
.amiv-btn-secondary {
  color: var(--amiv-secondary-soft);
  background-color: transparent;
  border: 1px solid var(--amiv-secondary-soft);
  font-weight: 600;
}

.amiv-btn-secondary:hover,
.amiv-btn-secondary:focus,
.amiv-btn-secondary:active,
.amiv-btn-secondary.active {
  color: #fff;
  background-color: var(--amiv-secondary);
  border-color: var(--amiv-secondary);
}

/* Secondary — soft light-pink fill (Filter, etc.) */
.amiv-btn-secondary-soft {
  color: var(--amiv-secondary);
  background-color: var(--amiv-secondary-soft-bg);
  border: 1px solid var(--amiv-secondary-soft-bg);
  font-weight: 600;
}

.amiv-btn-secondary-soft:hover,
.amiv-btn-secondary-soft:focus,
.amiv-btn-secondary-soft:active,
.amiv-btn-secondary-soft.active {
  color: #fff;
  background-color: var(--amiv-secondary);
  border-color: var(--amiv-secondary);
}

/* Solid override — use with primary or secondary */
.amiv-btn-primary.amiv-btn-solid,
.amiv-btn-primary-solid {
  color: #fff;
  background-color: var(--amiv-primary);
  border-color: var(--amiv-primary);
}

.amiv-btn-primary.amiv-btn-solid:hover,
.amiv-btn-primary.amiv-btn-solid:focus,
.amiv-btn-primary.amiv-btn-solid:active,
.amiv-btn-primary-solid:hover,
.amiv-btn-primary-solid:focus,
.amiv-btn-primary-solid:active {
  color: #fff;
  background-color: var(--amiv-primary-hover);
  border-color: var(--amiv-primary-hover);
}

.amiv-btn-secondary.amiv-btn-solid,
.amiv-btn-secondary-solid {
  color: #fff;
  background-color: var(--amiv-secondary);
  border-color: var(--amiv-secondary);
}

.amiv-btn-secondary.amiv-btn-solid:hover,
.amiv-btn-secondary.amiv-btn-solid:focus,
.amiv-btn-secondary.amiv-btn-solid:active,
.amiv-btn-secondary-solid:hover,
.amiv-btn-secondary-solid:focus,
.amiv-btn-secondary-solid:active {
  color: #fff;
  background-color: var(--amiv-secondary-hover);
  border-color: var(--amiv-secondary-hover);
}

/* Bootstrap / Phoenix color overrides */
.btn-primary {
  --phoenix-btn-color: #fff;
  --phoenix-btn-bg: var(--amiv-primary);
  --phoenix-btn-border-color: var(--amiv-primary);
  --phoenix-btn-hover-color: #fff;
  --phoenix-btn-hover-bg: var(--amiv-primary-hover);
  --phoenix-btn-hover-border-color: var(--amiv-primary-hover);
  --phoenix-btn-active-color: #fff;
  --phoenix-btn-active-bg: var(--amiv-primary-hover);
  --phoenix-btn-active-border-color: var(--amiv-primary-hover);
  color: #fff;
  background-color: var(--amiv-primary);
  border-color: var(--amiv-primary);
}

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

.btn-outline-primary {
  --phoenix-btn-color: var(--amiv-primary);
  --phoenix-btn-border-color: var(--amiv-primary);
  --phoenix-btn-hover-color: #fff;
  --phoenix-btn-hover-bg: var(--amiv-primary);
  --phoenix-btn-hover-border-color: var(--amiv-primary);
  color: var(--amiv-primary);
  background-color: transparent;
  border-color: var(--amiv-primary);
}

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

.btn-secondary {
  --phoenix-btn-color: #fff;
  --phoenix-btn-bg: var(--amiv-secondary);
  --phoenix-btn-border-color: var(--amiv-secondary);
  --phoenix-btn-hover-color: #fff;
  --phoenix-btn-hover-bg: var(--amiv-secondary-hover);
  --phoenix-btn-hover-border-color: var(--amiv-secondary-hover);
  --phoenix-btn-active-color: #fff;
  --phoenix-btn-active-bg: var(--amiv-secondary-hover);
  --phoenix-btn-active-border-color: var(--amiv-secondary-hover);
  color: #fff;
  background-color: var(--amiv-secondary);
  border-color: var(--amiv-secondary);
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active,
.btn-secondary.active {
  color: #fff;
  background-color: var(--amiv-secondary-hover);
  border-color: var(--amiv-secondary-hover);
}

.btn-outline-secondary {
  --phoenix-btn-color: var(--amiv-secondary-soft);
  --phoenix-btn-border-color: var(--amiv-secondary-soft);
  --phoenix-btn-hover-color: #fff;
  --phoenix-btn-hover-bg: var(--amiv-secondary);
  --phoenix-btn-hover-border-color: var(--amiv-secondary);
  color: var(--amiv-secondary-soft);
  background-color: transparent;
  border-color: var(--amiv-secondary-soft);
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:active,
.btn-outline-secondary.active {
  color: #fff;
  background-color: var(--amiv-secondary);
  border-color: var(--amiv-secondary);
}

/* Internal booking customer picker — list rows, not pink outline buttons */
.amiv-internal-customer {
  display: block;
  width: 100%;
  margin: 0 0 0.25rem;
  padding: 0.5rem 0.75rem;
  text-align: left;
  color: var(--phoenix-emphasis-color, #31374a);
  background-color: var(--phoenix-body-bg, #fff);
  border: 1px solid var(--phoenix-border-color, #d8e2ef);
  border-radius: 0.375rem;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  appearance: none;
}

.amiv-internal-customer-meta {
  color: var(--phoenix-tertiary-color, #6e7891);
  font-weight: 500;
}

.amiv-internal-customer:hover,
.amiv-internal-customer:focus,
.amiv-internal-customer:focus-visible {
  color: var(--amiv-primary);
  background-color: var(--amiv-hover-bg);
  border-color: var(--amiv-primary-soft);
  outline: none;
}

.amiv-internal-customer:hover .amiv-internal-customer-meta,
.amiv-internal-customer:focus .amiv-internal-customer-meta,
.amiv-internal-customer:focus-visible .amiv-internal-customer-meta {
  color: var(--amiv-primary-soft);
}

/* Back / Cancel — neutral outline (not brand secondary/pink) */
.amiv-btn-back {
  color: var(--phoenix-secondary, #31374a);
  background-color: transparent;
  border: 1px solid var(--phoenix-secondary, #31374a);
  font-weight: 600;
}

.amiv-btn-back:hover,
.amiv-btn-back:focus,
.amiv-btn-back:active,
.amiv-btn-back.active {
  color: #fff;
  background-color: var(--phoenix-secondary, #31374a);
  border-color: var(--phoenix-secondary, #31374a);
}

/* Delete / Archive / Remove — soft danger (detail headers + list rows) */
.amiv-btn-delete {
  color: #b81800;
  background-color: #ffe0db;
  border: 1px solid #ffe0db;
  font-weight: 600;
}

.amiv-btn-delete:hover,
.amiv-btn-delete:focus {
  color: #b81800;
  background-color: var(--phoenix-danger-lighter, #ffe8e4);
  border-color: #ffe3df;
}

.amiv-btn-delete:active,
.amiv-btn-delete.active {
  color: #000;
  background-color: #ffe6e2;
  border-color: #ffe3df;
}

[data-bs-theme="dark"] .amiv-btn-delete {
  color: #f48270;
  background-color: rgba(250, 59, 29, 0.14);
  border-color: rgba(250, 59, 29, 0.14);
}

[data-bs-theme="dark"] .amiv-btn-delete:hover,
[data-bs-theme="dark"] .amiv-btn-delete:focus {
  color: #f48270;
  background-color: rgba(250, 59, 29, 0.2);
  border-color: rgba(253, 176, 164, 0.226);
}

[data-bs-theme="dark"] .amiv-btn-delete:active,
[data-bs-theme="dark"] .amiv-btn-delete.active {
  color: #000;
  background-color: rgba(254, 210, 203, 0.312);
  border-color: rgba(253, 176, 164, 0.226);
}

/* Icon-only remove (cart/bag/supply rows) */
.amiv-btn-icon-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  color: var(--phoenix-danger, #fa3b1d);
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 0.375rem;
  line-height: 1;
}

.amiv-btn-icon-delete .fas,
.amiv-btn-icon-delete .fa-solid {
  font-size: 0.875rem;
  line-height: 1;
  color: inherit;
}

.amiv-btn-icon-delete:hover,
.amiv-btn-icon-delete:focus,
.amiv-btn-icon-delete:active {
  color: #fff;
  background-color: var(--phoenix-danger, #fa3b1d);
  border-color: var(--phoenix-danger, #fa3b1d);
}

.amiv-table-accent,
.amiv-table-accent th,
.amiv-table-accent td {
  background-color: var(--amiv-primary) !important;
  color: #fff !important;
  border-color: var(--amiv-primary) !important;
}

.amiv-table-footer,
.amiv-table-footer td {
  background-color: var(--amiv-hover-bg) !important;
  color: var(--phoenix-body-color, #31374a) !important;
  border-color: var(--amiv-hover-bg) !important;
}

.amiv-cart-link {
  color: var(--amiv-primary) !important;
  text-decoration: none;
}

.amiv-cart-link:hover {
  color: var(--amiv-pink) !important;
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: var(--amiv-pink) !important;
}

.amiv-avatar-initials {
  background-color: var(--amiv-hover-bg) !important;
  --phoenix-avatar-name-color: var(--amiv-primary);
  font-size: 0.85rem !important;
}

.amiv-avatar-initials span {
  color: var(--amiv-primary) !important;
  font-weight: 700;
  font-size: 0.85rem !important;
}

.amiv-education-accordion .accordion-item,
.amiv-files-accordion .accordion-item {
  background-color: var(--phoenix-emphasis-bg, #fff);
}

.amiv-education-accordion .accordion-button,
.amiv-files-accordion .accordion-button {
  background-color: transparent;
  color: var(--phoenix-body-emphasis-color, #31374a);
  font-size: 0.95rem;
  padding: 0.85rem 1.15rem;
  box-shadow: none;
}

.amiv-education-accordion .accordion-button:not(.collapsed),
.amiv-education-accordion .accordion-button:hover,
.amiv-files-accordion .accordion-button:not(.collapsed),
.amiv-files-accordion .accordion-button:hover {
  background-color: var(--amiv-hover-bg);
  color: var(--amiv-primary);
  box-shadow: none;
}

.amiv-education-accordion .accordion-button:not(.collapsed),
.amiv-files-accordion .accordion-button:not(.collapsed) {
  border-bottom: 1px solid var(--phoenix-border-color-translucent, rgba(0, 0, 0, 0.08));
}

.amiv-education-accordion .accordion-button:focus,
.amiv-files-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
  outline: 0;
  z-index: 1;
}

.amiv-education-accordion .accordion-button.collapsed:focus:not(:focus-visible):not(:hover),
.amiv-files-accordion .accordion-button.collapsed:focus:not(:focus-visible):not(:hover) {
  background-color: transparent;
  color: var(--phoenix-body-emphasis-color, #31374a);
}

.amiv-education-accordion .accordion-button::after,
.amiv-files-accordion .accordion-button::after {
  background-size: 0.9rem;
  width: 0.9rem;
  height: 0.9rem;
}

.amiv-reports-list .amiv-report-category-title {
  background-color: var(--amiv-hover-bg);
  color: var(--amiv-primary);
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
  padding: 0.9rem 1rem;
}

.amiv-report-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--amiv-hover-bg);
  color: var(--amiv-primary);
  font-size: 0.85rem;
}

.amiv-report-row:hover {
  background-color: rgba(236, 244, 253, 0.55);
}

.amiv-slug-cell {
  min-width: 9.5rem;
}

.amiv-slug-fees {
  display: grid;
  gap: 0.2rem;
}

.amiv-slug-fee-row {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 0.35rem;
  align-items: baseline;
  white-space: nowrap;
}

.amiv-slug-fee-label {
  color: var(--phoenix-body-quaternary-color, #9fa6bc);
  font-weight: 600;
}

.amiv-qty-group .btn {
  color: var(--phoenix-body-color, #31374a);
}

.input-spin-none::-webkit-outer-spin-button,
.input-spin-none::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.input-spin-none {
  -moz-appearance: textfield;
  appearance: textfield;
}

/* DataTables fights Phoenix (content-box + its own striping). Keep theme styles. */
table.dataTable,
table.dataTable th,
table.dataTable td {
  box-sizing: border-box !important;
}

table.dataTable {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  width: 100% !important;
}

table.dataTable.table-striped > tbody > tr.odd > *,
table.dataTable.table-striped > tbody > tr:nth-of-type(2n + 1) > * {
  box-shadow: none !important;
}

table.dataTable thead > tr > th.sorting,
table.dataTable thead > tr > th.sorting_asc,
table.dataTable thead > tr > th.sorting_desc,
table.dataTable thead > tr > th.sorting_asc_disabled,
table.dataTable thead > tr > th.sorting_desc_disabled {
  padding-right: 1.75rem;
}

.dataTables_wrapper .row {
  --phoenix-gutter-x: 0;
  margin-left: 0;
  margin-right: 0;
}

.dataTables_wrapper .dataTables_filter {
  padding: 0.75rem 0;
  text-align: right !important;
}

.dataTables_wrapper .dataTables_filter label {
  display: inline-flex;
  width: auto;
  margin-bottom: 0;
  align-items: center;
}

.dataTables_wrapper .dataTables_filter input {
  margin-left: 0 !important;
  width: 280px !important;
  max-width: 100%;
  display: inline-block;
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  color: var(--phoenix-body-color, #31374a);
  background-color: var(--phoenix-body-bg, #fff);
  border: 1px solid var(--phoenix-border-color, #d8e2ef);
  border-radius: 0.375rem;
}

.dataTables_wrapper .dataTables_filter input:focus {
  border-color: var(--amiv-primary);
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(78, 113, 182, 0.2);
}

.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
  padding-top: 1rem;
  padding-bottom: 0.25rem;
}

.dataTables_wrapper .dataTables_info {
  color: var(--phoenix-body-tertiary-color, #6e7891);
  font-size: 0.8rem;
}

.dataTables_wrapper .dataTables_paginate .pagination {
  margin-bottom: 0;
  gap: 0.25rem;
}

.dataTables_wrapper .dataTables_paginate .page-link {
  color: var(--amiv-primary);
  border-color: var(--phoenix-border-color, #d8e2ef);
  border-radius: 0.375rem;
  font-size: 0.8rem;
  padding: 0.35rem 0.65rem;
}

.dataTables_wrapper .dataTables_paginate .page-item.active .page-link {
  background-color: var(--amiv-primary);
  border-color: var(--amiv-primary);
  color: #fff;
}

.dataTables_wrapper .dataTables_paginate .page-link:hover {
  background-color: var(--amiv-hover-bg);
  border-color: var(--amiv-primary);
  color: var(--amiv-primary);
}

.amiv-dt {
  width: 100%;
  max-width: 100%;
  /* Keep overflow-y visible so pagination is not trapped in a short clip
     box. Horizontal scroll stays on the wrapper so wide tables (HQ bookings)
     do not expand the page under the fixed sidebar. */
  overflow: visible;
}

.amiv-dt .dataTables_wrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
}

.amiv-dt .dataTables_scrollBody,
.amiv-dt table.dataTable {
  display: table;
  width: 100% !important;
}

.amiv-dt .table-responsive {
  overflow-x: auto;
}

.amiv-dt .dt-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.amiv-dt .dt-buttons .btn {
  margin: 0;
}

.table > :not(caption) > * > :first-child {
  padding-left: 1rem !important;
}

.table > :not(caption) > * > :last-child {
  padding-right: 1rem !important;
}

@media print {
  .navbar-vertical,
  .navbar-top,
  .footer {
    display: none !important;
  }

  .content {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    padding-bottom: 0 !important;
  }

  .main {
    padding: 0 !important;
  }

  .amiv-poc-print .card {
    break-inside: avoid;
    box-shadow: none !important;
  }

  .amiv-poc-print .card-body {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
  }

  .amiv-poc-print .mb-4 {
    margin-bottom: 0.75rem !important;
  }

  /* Customer profile print: compact document, hide UI chrome */
  .amiv-customer-print .card {
    box-shadow: none !important;
    margin-bottom: 0.75rem !important;
  }

  .amiv-customer-print #customer-bookings,
  .amiv-customer-print #customer-pocs,
  .amiv-customer-print #customer-consents,
  .amiv-customer-print #customer-memberships {
    break-inside: avoid;
  }

  .amiv-customer-print .card-header {
    padding-top: 0.4rem !important;
    padding-bottom: 0.4rem !important;
  }

  .amiv-customer-print .card-body {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }

  .amiv-customer-print .mb-4 {
    margin-bottom: 0.5rem !important;
  }

  .amiv-customer-print .mb-0 {
    margin-bottom: 0.25rem !important;
  }

  .amiv-customer-print .form-label {
    margin-bottom: 0.15rem !important;
    font-size: 0.7rem !important;
  }

  .amiv-customer-print .form-control,
  .amiv-customer-print .form-select,
  .amiv-customer-print textarea.form-control {
    border: 0 !important;
    border-bottom: 1px solid #c5c5c5 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0.1rem 0 !important;
    min-height: 0 !important;
    height: auto !important;
    font-size: 0.85rem !important;
    color: #212529 !important;
    resize: none !important;
    overflow: visible !important;
  }

  .amiv-customer-print textarea.form-control {
    min-height: 1.5rem !important;
  }

  .amiv-customer-print textarea.form-control:placeholder-shown {
    display: none !important;
  }

  .amiv-customer-print .form-control::placeholder,
  .amiv-customer-print textarea::placeholder {
    color: transparent !important;
  }

  .amiv-customer-print .form-check {
    margin-bottom: 0.15rem !important;
    min-height: 0 !important;
    padding-left: 1.4rem !important;
  }

  .amiv-customer-print .form-check-input {
    margin-top: 0.15rem !important;
  }

  .amiv-customer-print .row.g-3,
  .amiv-customer-print .row.g-4 {
    --bs-gutter-y: 0.35rem;
    --bs-gutter-x: 0.75rem;
  }

  .amiv-customer-print .table {
    font-size: 0.8rem !important;
  }

  .amiv-customer-print .table > :not(caption) > * > * {
    padding-top: 0.35rem !important;
    padding-bottom: 0.35rem !important;
  }
}

.dropdown-profile .nav .nav-link:hover,
.dropdown-profile .nav .nav-link:focus {
  background: var(--amiv-hover-bg) !important;
  background-color: #ecf4fd !important;
  color: var(--amiv-pink) !important;
}

.dropdown-profile .nav .nav-link:hover .text-body,
.dropdown-profile .nav .nav-link:focus .text-body {
  color: var(--amiv-pink) !important;
}

.cursor-pointer {
  cursor: pointer;
}
.reject-button {
  font-size: 1rem;
  color: tomato;
  margin-left: 0.5rem;
}
.reject-button:hover {
  color: tomato;
}
.rejected {
  background: #ffd2ca !important;
}
.rejection-message {
  background: tomato;
  padding: 1rem;
  border-radius: 0.5rem;
  color: white;
}

/* Doctors report — wrapping booking ID chips (franchise-style breakdown) */
.amiv-booking-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  max-width: 28rem;
}

.amiv-booking-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.45rem;
  border-radius: 0.25rem;
  border: 1px solid var(--phoenix-border-color, #d8e2ef);
  background: var(--phoenix-body-bg, #fff) !important;
  color: var(--phoenix-gray-900, #31374a) !important;
  box-shadow: none;
  font-size: 0.75rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.table-striped > tbody > tr:nth-of-type(odd) .amiv-booking-chip,
.table-striped > tbody > tr:nth-of-type(even) .amiv-booking-chip,
table.dataTable.table-striped > tbody > tr .amiv-booking-chip {
  background: var(--phoenix-body-bg, #fff) !important;
  border-color: var(--phoenix-border-color, #d8e2ef);
}

.amiv-booking-chip:hover {
  background: var(--amiv-pink, #e83e8c) !important;
  border-color: var(--amiv-pink, #e83e8c);
  color: #fff !important;
  text-decoration: none;
}

/* Pill/chip multi-value input (zip codes, etc.) */
.amiv-pill-input {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.75rem;
  height: auto;
  cursor: text;
}

.amiv-pill-input__pills {
  gap: 0.35rem;
}

.amiv-pill-input__field {
  flex: 1 1 7rem;
  min-width: 7rem;
  border: 0;
  outline: none;
  background: transparent;
  box-shadow: none;
  padding: 0.2rem 0;
  font-size: 0.875rem;
  color: inherit;
}

.amiv-pill-input__field:focus {
  outline: none;
  box-shadow: none;
}

.amiv-zip-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.45rem 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  line-height: 1.2;
  white-space: nowrap;
}

.amiv-zip-pill--ok {
  background: var(--phoenix-gray-200, #e3e6ed);
  color: var(--phoenix-gray-700, #525b75);
}

.amiv-zip-pill--bad {
  background: var(--phoenix-danger, #e63757);
  color: #fff;
}

.amiv-zip-pill__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: inherit;
  opacity: 0.7;
  padding: 0;
  line-height: 1;
  cursor: pointer;
}

.amiv-zip-pill__remove:hover {
  opacity: 1;
}

/* Choices: drop vendor bottom margin + keep open menus above later widgets (Jodit) */
.choices {
  margin-bottom: 0 !important;
}

.choices.is-open {
  position: relative;
  z-index: 40;
}

.choices .choices__list--dropdown,
.choices .choices__list[aria-expanded="true"] {
  z-index: 40;
}

.choices .choices__list--multiple .choices__item {
  background-color: var(--amiv-secondary-soft-bg) !important;
  color: var(--amiv-secondary) !important;
}

.choices .choices__list--dropdown .choices__item--selectable.is-highlighted {
  background-color: var(--amiv-hover-bg) !important;
  color: var(--amiv-primary) !important;
}

.choices[data-type*=select-multiple] .choices__button,
.choices[data-type*=text] .choices__button {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23e8367f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E") !important;
}

/* =============================================================================
   Display preference (data-amiv-text)
   Default = original Phoenix sizes. Comfortable / Large increase size + contrast.
   ============================================================================= */

:root,
html[data-amiv-text="default"] {
  --amiv-body-font-size: 1rem;
  --amiv-fs-9: 0.8rem;
  --amiv-fs-10: 0.64rem;
  --amiv-form-label-size: 0.64rem; /* Phoenix default */
  --amiv-content-weight: 400;
  --amiv-muted-color: #525b75;
  --amiv-muted-strong: #31374a;
  --amiv-label-weight: 700;
}

/* Comfortable: larger + slightly bolder / darker */
html[data-amiv-text="comfortable"] {
  --amiv-body-font-size: 1.125rem;
  --amiv-fs-9: 1rem;
  --amiv-fs-10: 0.85rem;
  --amiv-form-label-size: 0.9rem;
  --amiv-content-weight: 600;
  --amiv-muted-color: #31374a;
  --amiv-muted-strong: #222834;
  --amiv-label-weight: 700;
}

/* Large: max readability */
html[data-amiv-text="large"] {
  --amiv-body-font-size: 1.25rem;
  --amiv-fs-9: 1.125rem;
  --amiv-fs-10: 0.95rem;
  --amiv-form-label-size: 1.05rem;
  --amiv-content-weight: 700;
  --amiv-muted-color: #222834;
  --amiv-muted-strong: #141824;
  --amiv-label-weight: 800;
}

/* Size scale (Default keeps theme.css — only boost modes override) */
html[data-amiv-text="comfortable"] body,
html[data-amiv-text="large"] body {
  font-size: var(--amiv-body-font-size) !important;
  font-weight: 500;
  color: var(--amiv-muted-strong);
}

html[data-amiv-text="comfortable"] .fs-9,
html[data-amiv-text="large"] .fs-9 {
  font-size: var(--amiv-fs-9) !important;
}

html[data-amiv-text="comfortable"] .fs-10,
html[data-amiv-text="large"] .fs-10 {
  font-size: var(--amiv-fs-10) !important;
}

/* Phoenix form labels are 0.64rem — must override size or the toggle looks broken */
html[data-amiv-text="comfortable"] .form-label,
html[data-amiv-text="large"] .form-label,
html[data-amiv-text="comfortable"] .content .form-label,
html[data-amiv-text="large"] .content .form-label {
  font-size: var(--amiv-form-label-size) !important;
  font-weight: var(--amiv-label-weight) !important;
  color: var(--amiv-muted-strong) !important;
  letter-spacing: 0.02em;
}

html[data-amiv-text="comfortable"] .form-control,
html[data-amiv-text="comfortable"] .form-select,
html[data-amiv-text="large"] .form-control,
html[data-amiv-text="large"] .form-select {
  font-size: 1.05em !important;
  font-weight: 500;
  color: var(--amiv-muted-strong);
}

html[data-amiv-text="large"] .form-control,
html[data-amiv-text="large"] .form-select {
  font-size: 1.12em !important;
  font-weight: 600;
}

/* Stronger contrast for muted text */
html[data-amiv-text="comfortable"] .content .text-body-tertiary,
html[data-amiv-text="comfortable"] .content .text-body-secondary,
html[data-amiv-text="comfortable"] .content .text-body-quaternary,
html[data-amiv-text="comfortable"] .navbar-vertical .text-body-tertiary,
html[data-amiv-text="large"] .content .text-body-tertiary,
html[data-amiv-text="large"] .content .text-body-secondary,
html[data-amiv-text="large"] .content .text-body-quaternary,
html[data-amiv-text="large"] .navbar-vertical .text-body-tertiary {
  color: var(--amiv-muted-color) !important;
}

html[data-amiv-text="comfortable"] .content .table.fs-9,
html[data-amiv-text="comfortable"] .content .amiv-dt .table,
html[data-amiv-text="comfortable"] .content .amiv-dt td,
html[data-amiv-text="comfortable"] .content .amiv-dt th,
html[data-amiv-text="comfortable"] .content p.fs-9.text-body-secondary,
html[data-amiv-text="comfortable"] .content p.fs-9.text-body-tertiary,
html[data-amiv-text="large"] .content .table.fs-9,
html[data-amiv-text="large"] .content .amiv-dt .table,
html[data-amiv-text="large"] .content .amiv-dt td,
html[data-amiv-text="large"] .content .amiv-dt th,
html[data-amiv-text="large"] .content p.fs-9.text-body-secondary,
html[data-amiv-text="large"] .content p.fs-9.text-body-tertiary {
  font-weight: var(--amiv-content-weight);
  color: var(--amiv-muted-strong);
}

html[data-amiv-text="comfortable"] .content .amiv-dt .text-body-tertiary,
html[data-amiv-text="comfortable"] .content .amiv-dt .text-body,
html[data-amiv-text="large"] .content .amiv-dt .text-body-tertiary,
html[data-amiv-text="large"] .content .amiv-dt .text-body {
  color: var(--amiv-muted-strong) !important;
  font-weight: var(--amiv-content-weight);
}

html[data-amiv-text="comfortable"] .navbar-vertical .nav-link-text {
  font-size: 1.05em;
  font-weight: 600;
}

html[data-amiv-text="large"] .navbar-vertical .nav-link-text {
  font-size: 1.15em;
  font-weight: 700;
}

html[data-amiv-text="comfortable"] .content .fs-9.text-body-secondary.fw-semibold,
html[data-amiv-text="large"] .content .fs-9.text-body-secondary.fw-semibold {
  font-size: var(--amiv-fs-9) !important;
  font-weight: 700 !important;
  color: var(--amiv-muted-strong) !important;
}

html[data-amiv-text="comfortable"] .content h2,
html[data-amiv-text="large"] .content h2 {
  font-weight: 800;
}

html[data-amiv-text="comfortable"] .content .card-header h5,
html[data-amiv-text="large"] .content .card-header h5 {
  font-size: 1.15em;
  font-weight: 700;
}

.amiv-text-scale-options .form-check-label {
  cursor: pointer;
}

.amiv-text-scale-options .form-check-input {
  margin-top: 0.35rem;
}

.amiv-page-title-aside {
  flex-shrink: 0;
  white-space: nowrap;
}

.amiv-page-title-aside .badge,
.amiv-page-title-aside .badge-phoenix {
  white-space: nowrap;
  max-width: none;
  overflow: visible;
  text-overflow: clip;
}

/* Nurses payroll report: keep top headers visible while scrolling */
.amiv-nurses-report-wrap {
  max-height: min(70vh, 900px);
  overflow: auto;
}
.amiv-nurses-report-wrap .amiv-nurses-report-thead th {
  position: sticky;
  top: 0;
  z-index: 2;
}
