/* PATCH-2026-045: branded, responsive, permission-aware application shell. */
:root {
  --vetrx-navy: #0d2138;
  --vetrx-navy-2: #122b47;
  --vetrx-blue: #1976d2;
  --vetrx-blue-soft: #eaf3ff;
  --vetrx-cyan: #20b8b2;
  --vetrx-surface: #ffffff;
  --vetrx-bg: #f4f7fb;
  --vetrx-text: #172033;
  --vetrx-muted: #6d7a8c;
  --vetrx-border: #e3e9f1;
  --vetrx-sidebar-width: 260px;
  --vetrx-topbar-height: 66px;
  --vetrx-radius: 10px;
  --vetrx-shadow: 0 14px 38px rgba(17, 38, 63, .14);
}

body.vetrx-app-shell {
  background: var(--vetrx-bg);
  color: var(--vetrx-text);
}

body.vetrx-app-shell .wrapper {
  min-height: 100vh;
}

body.vetrx-app-shell .content-wrapper {
  background: var(--vetrx-bg);
}

.vetrx-topbar {
  min-height: var(--vetrx-topbar-height);
  padding: 0 18px;
  border-bottom: 1px solid var(--vetrx-border);
  box-shadow: 0 2px 12px rgba(17, 38, 63, .05);
  z-index: 1040;
}

.main-header .dropdown-menu {
  position: absolute;
}

.main-header .dropdown-menu.show {
  display: block !important;
}

/* PATCH-2026-047: persistent dual-identity safety banner. */
.vetrx-impersonation-banner {
  min-height: 58px;
  margin-left: var(--vetrx-sidebar-width);
  padding: 9px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #fff;
  background: linear-gradient(110deg, #713f12 0%, #b45309 55%, #d97706 100%);
  border-bottom: 1px solid rgba(120, 53, 15, .3);
  box-shadow: 0 5px 16px rgba(120, 53, 15, .16);
  position: relative;
  z-index: 1032;
}

.vetrx-impersonation-copy {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
}

.vetrx-impersonation-copy>span:last-child {
  min-width: 0;
}

.vetrx-impersonation-copy strong,
.vetrx-impersonation-copy small {
  display: block;
}

.vetrx-impersonation-copy strong {
  font-size: 14px;
  line-height: 1.2;
}

.vetrx-impersonation-copy small {
  margin-top: 3px;
  color: rgba(255, 255, 255, .82);
  font-size: 11px;
  line-height: 1.25;
}

.vetrx-impersonation-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .2);
}

.vetrx-impersonation-banner form,
.vetrx-profile-exit-form {
  margin: 0;
}

.vetrx-impersonation-exit {
  white-space: nowrap;
  color: #7c2d12;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 12px;
  box-shadow: 0 3px 10px rgba(69, 26, 3, .15);
}

.vetrx-impersonation-exit:hover,
.vetrx-impersonation-exit:focus {
  color: #7c2d12;
  background: #fff7ed;
}

.vetrx-impersonation-exit i {
  margin-right: 6px;
}

.vetrx-topbar .nav-link {
  color: #455269;
}

.vetrx-topbar-left,
.vetrx-topbar-right {
  gap: 6px;
}

.vetrx-icon-button {
  width: 42px;
  height: 42px;
  padding: 0 !important;
  border-radius: 10px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background-color .18s ease, color .18s ease;
}

.vetrx-icon-button:hover,
.vetrx-icon-button:focus {
  background: var(--vetrx-blue-soft);
  color: var(--vetrx-blue) !important;
}

.vetrx-page-context {
  min-width: 130px;
  max-width: 280px;
  padding: 0 10px;
  line-height: 1.05;
}

.vetrx-page-context span {
  display: block;
}

.vetrx-page-eyebrow {
  color: var(--vetrx-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.vetrx-page-title {
  color: var(--vetrx-text);
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vetrx-quick-button {
  height: 38px;
  padding: 0 13px !important;
  border-radius: 9px;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  background: var(--vetrx-blue);
  color: #fff !important;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 6px 14px rgba(25, 118, 210, .22);
}

.vetrx-quick-button:hover,
.vetrx-quick-button:focus {
  background: #1268bb;
}

.vetrx-chevron {
  font-size: 9px;
  opacity: .75;
  margin-left: 3px;
}

.vetrx-dropdown {
  border: 1px solid var(--vetrx-border);
  border-radius: 12px;
  padding: 8px;
  margin-top: 8px;
  box-shadow: var(--vetrx-shadow) !important;
  overflow: hidden;
}

.vetrx-dropdown-heading {
  padding: 8px 10px 10px;
  color: var(--vetrx-text);
  font-size: 13px;
  font-weight: 800;
}

.vetrx-dropdown-heading small {
  display: block;
  color: var(--vetrx-muted);
  font-size: 11px;
  font-weight: 400;
  margin-top: 3px;
}

.vetrx-dropdown .dropdown-item {
  border-radius: 8px;
  padding: 9px 10px;
  color: #344158;
}

.vetrx-dropdown .dropdown-item:hover,
.vetrx-dropdown .dropdown-item:focus {
  background: var(--vetrx-blue-soft);
  color: #0f5ead;
}

.vetrx-quick-menu {
  width: 250px;
}

.vetrx-dropdown-action {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.vetrx-action-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--vetrx-blue);
  background: var(--vetrx-blue-soft);
}

.vetrx-branch-button {
  min-height: 46px;
  max-width: 245px;
  padding: 5px 9px !important;
  border-radius: 10px;
  display: flex !important;
  align-items: center;
  gap: 9px;
  border: 1px solid transparent;
}

.vetrx-branch-button:hover,
.vetrx-branch-button:focus {
  background: #f8fafc;
  border-color: var(--vetrx-border);
}

.vetrx-branch-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e9f7f6;
  color: #09847f;
}

.vetrx-branch-copy {
  min-width: 0;
  line-height: 1.08;
}

.vetrx-branch-copy small,
.vetrx-branch-copy strong {
  display: block;
}

.vetrx-branch-copy small {
  color: var(--vetrx-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.vetrx-branch-copy strong {
  color: var(--vetrx-text);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vetrx-branch-menu {
  width: 360px;
  max-height: min(520px, calc(100vh - 90px));
}

.vetrx-branch-search-wrap {
  position: relative;
  padding: 0 8px 8px;
}

.vetrx-branch-search-wrap>i {
  position: absolute;
  left: 20px;
  top: 11px;
  color: #8b97a8;
  z-index: 2;
}

.vetrx-branch-search-wrap .form-control {
  height: 38px;
  padding-left: 34px;
  border-radius: 9px;
  border-color: var(--vetrx-border);
  font-size: 13px;
}

.vetrx-branch-list {
  max-height: 365px;
  overflow-y: auto;
  padding: 0 2px 2px;
}

.vetrx-branch-option {
  margin: 2px 0;
}

.vetrx-branch-form {
  margin: 0;
}

.vetrx-branch-option-button {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 9px;
  padding: 7px 9px;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  color: #344158;
}

button.vetrx-branch-option-button:hover,
button.vetrx-branch-option-button:focus {
  background: var(--vetrx-blue-soft);
  color: #0f5ead;
  outline: 0;
}

.vetrx-branch-option.is-current .vetrx-branch-option-button {
  background: #f1faf9;
}

.vetrx-branch-avatar {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 9px;
  background: #eef2f7;
  color: #5c6a7f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.vetrx-branch-option.is-current .vetrx-branch-avatar {
  background: #dff5f2;
  color: #087c77;
}

.vetrx-branch-option-copy {
  min-width: 0;
  flex: 1;
  line-height: 1.15;
}

.vetrx-branch-option-copy strong,
.vetrx-branch-option-copy small {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vetrx-branch-option-copy strong {
  font-size: 13px;
}

.vetrx-branch-option-copy small {
  color: var(--vetrx-muted);
  font-size: 10px;
  margin-top: 3px;
}

.vetrx-branch-empty {
  color: var(--vetrx-muted);
  text-align: center;
  padding: 20px 10px;
  font-size: 12px;
}

.vetrx-static-branch {
  align-items: center;
  gap: 7px;
  color: #657188;
  font-size: 12px;
  padding: 0 9px;
}

.vetrx-user-button {
  min-height: 48px;
  padding: 4px 6px !important;
  display: flex !important;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
}

.vetrx-user-button:hover,
.vetrx-user-button:focus {
  background: #f7f9fc;
}

.vetrx-user-avatar {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--vetrx-blue), var(--vetrx-cyan));
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .03em;
}

.vetrx-user-copy {
  min-width: 0;
  max-width: 135px;
  line-height: 1.08;
}

.vetrx-user-copy strong,
.vetrx-user-copy small {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vetrx-user-copy strong {
  color: var(--vetrx-text);
  font-size: 12px;
}

.vetrx-user-copy small {
  color: var(--vetrx-muted);
  font-size: 10px;
  margin-top: 4px;
}

.vetrx-profile-menu {
  width: 300px;
}

.vetrx-profile-summary {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px;
}

.vetrx-user-avatar-lg {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
  border-radius: 12px;
  font-size: 13px;
}

.vetrx-profile-summary>div {
  min-width: 0;
}

.vetrx-profile-summary strong,
.vetrx-profile-summary span,
.vetrx-profile-summary small {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vetrx-profile-summary strong {
  font-size: 14px;
  color: var(--vetrx-text);
}

.vetrx-profile-summary span {
  color: #4d5b70;
  font-size: 11px;
  margin-top: 3px;
}

.vetrx-profile-summary small {
  color: var(--vetrx-muted);
  font-size: 10px;
  margin-top: 3px;
}

.vetrx-notification-wrap {
  display: flex;
  align-items: center;
}

.vetrx-notification-button {
  position: relative;
  width: 46px;
  height: 46px;
  padding: 0 !important;
  border-radius: 13px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: #415169 !important;
  border: 1px solid var(--vetrx-border);
  background: #f8fafc;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.vetrx-notification-button:hover,
.vetrx-notification-button:focus {
  color: var(--vetrx-blue) !important;
  background: var(--vetrx-blue-soft);
  border-color: #c9def4;
  box-shadow: 0 7px 18px rgba(24, 76, 128, .12);
  transform: translateY(-1px);
}

.vetrx-notification-icon {
  font-size: 20px;
  line-height: 1;
}

.vetrx-notification-live-dot {
  position: absolute;
  right: 7px;
  bottom: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22a06b;
  border: 2px solid #f8fafc;
  box-sizing: content-box;
}

.vetrx-notification-wrap.has-notifications .vetrx-notification-button {
  color: #d94c59 !important;
  background: #fff7f7;
  border-color: #f2cfd3;
}

.vetrx-notification-wrap.has-notifications .vetrx-notification-live-dot {
  background: #e5484d;
  border-color: #fff7f7;
}

.vetrx-notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #e5484d;
  border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(204, 44, 54, .28);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.vetrx-notification-badge[hidden] {
  display: none !important;
}

.vetrx-notification-button.is-ringing .vetrx-notification-icon {
  animation: vetrxBellRing .72s ease-in-out;
  transform-origin: 50% 0;
}

@keyframes vetrxBellRing {

  0%,
  100% {
    transform: rotate(0);
  }

  20% {
    transform: rotate(13deg);
  }

  40% {
    transform: rotate(-11deg);
  }

  60% {
    transform: rotate(7deg);
  }

  80% {
    transform: rotate(-4deg);
  }
}

.vetrx-notification-menu {
  width: 390px;
  max-width: calc(100vw - 20px);
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  border-color: #dfe7f0;
}

.vetrx-notification-header {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 15px 16px;
  background: linear-gradient(135deg, #f7fbff, #f2f8fd);
  border-bottom: 1px solid var(--vetrx-border);
}

.vetrx-notification-header-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--vetrx-blue), #209ab8);
  box-shadow: 0 7px 15px rgba(25, 118, 210, .2);
}

.vetrx-notification-header-copy {
  min-width: 0;
  flex: 1;
  line-height: 1.12;
}

.vetrx-notification-header-copy strong,
.vetrx-notification-header-copy small {
  display: block;
}

.vetrx-notification-header-copy strong {
  color: var(--vetrx-text);
  font-size: 14px;
}

.vetrx-notification-header-copy small {
  color: var(--vetrx-muted);
  font-size: 10px;
  margin-top: 4px;
}

.vetrx-notification-status {
  flex: 0 0 auto;
  max-width: 105px;
  padding: 5px 8px;
  border-radius: 12px;
  color: #237355;
  background: #e9f8f1;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.vetrx-notification-wrap.has-notifications .vetrx-notification-status {
  color: #b4232d;
  background: #ffeaec;
}

.vetrx-notification-list {
  max-height: 380px;
  overflow-y: auto;
  padding: 8px;
  background: #fff;
}

.vetrx-order-notification {
  display: flex !important;
  gap: 11px;
  margin: 2px 0;
  padding: 11px !important;
  border-radius: 11px !important;
  color: #344158 !important;
  border: 1px solid transparent;
  white-space: normal;
}

.vetrx-order-notification:hover,
.vetrx-order-notification:focus {
  background: #f3f8fe !important;
  border-color: #dceaf7;
  color: #24344b !important;
}

.vetrx-order-notification-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0c7f7a;
  background: #e6f7f5;
}

.vetrx-order-notification-copy {
  min-width: 0;
  flex: 1;
}

.vetrx-order-notification-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.vetrx-order-notification-top strong {
  color: #172033;
  font-size: 13px;
}

.vetrx-order-notification-amount {
  color: #0c766f;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.vetrx-order-notification-customer {
  color: #526078;
  font-size: 11px;
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.vetrx-order-notification-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #8a96a7;
  font-size: 9px;
  margin-top: 6px;
}

.vetrx-order-notification-meta i {
  color: #e1a329;
  font-size: 7px;
}

.vetrx-notification-loading,
.vetrx-notification-empty {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--vetrx-muted);
  text-align: center;
  gap: 7px;
  padding: 20px;
}

.vetrx-notification-loading {
  flex-direction: row;
  min-height: 90px;
  font-size: 11px;
}

.vetrx-notification-empty-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #16867f;
  background: #e7f8f5;
  font-size: 18px;
  margin-bottom: 2px;
}

.vetrx-notification-empty strong {
  color: #344158;
  font-size: 13px;
}

.vetrx-notification-empty small {
  font-size: 10px;
}

.vetrx-notification-footer {
  min-height: 45px;
  padding: 0 16px;
  border-top: 1px solid var(--vetrx-border);
  background: #fbfcfe;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #1769b0;
  font-size: 11px;
  font-weight: 800;
}

.vetrx-notification-footer:hover,
.vetrx-notification-footer:focus {
  color: #0c5594;
  background: #f3f8fe;
  text-decoration: none;
}

.vetrx-order-toast {
  position: fixed;
  right: 20px;
  top: 78px;
  z-index: 2000;
  max-width: 380px;
  background: #fff;
  border: 1px solid #d6e4f2;
  border-left: 4px solid var(--vetrx-blue);
  border-radius: 12px;
  box-shadow: var(--vetrx-shadow);
  padding: 13px 15px;
  color: var(--vetrx-text);
}

.vetrx-order-toast-inner {
  display: flex;
  align-items: center;
  gap: 11px;
}

.vetrx-order-toast-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--vetrx-blue);
}

.vetrx-order-toast-copy strong,
.vetrx-order-toast-copy span {
  display: block;
}

.vetrx-order-toast-copy strong {
  font-size: 12px;
}

.vetrx-order-toast-copy span {
  color: var(--vetrx-muted);
  font-size: 10px;
  margin-top: 3px;
}

.vetrx-sidebar {
  width: var(--vetrx-sidebar-width);
  background: linear-gradient(180deg, var(--vetrx-navy), #091a2c 100%) !important;
}

.vetrx-brand-link {
  height: var(--vetrx-topbar-height);
  padding: 10px 14px !important;
  border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
  display: flex !important;
  align-items: center;
  gap: 10px;
  color: #fff !important;
  background: rgba(255, 255, 255, .025);
}

.vetrx-brand-mark {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 11px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--vetrx-blue);
  box-shadow: 0 5px 14px rgba(0, 0, 0, .18);
}

.vetrx-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
}

.vetrx-brand-copy {
  min-width: 0;
  line-height: 1.1;
}

.vetrx-brand-copy strong,
.vetrx-brand-copy small {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vetrx-brand-copy strong {
  color: #fff;
  font-size: 13px;
}

.vetrx-brand-copy small {
  color: #9db0c5;
  font-size: 9px;
  margin-top: 4px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.vetrx-sidebar-inner {
  height: calc(100vh - var(--vetrx-topbar-height));
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: 18px;
}

.vetrx-sidebar-tools {
  padding: 14px 12px 8px;
}

.vetrx-menu-search-wrap {
  position: relative;
}

.vetrx-menu-search-wrap>i {
  position: absolute;
  left: 12px;
  top: 11px;
  color: #8092a8;
  font-size: 12px;
}

.vetrx-menu-search {
  width: 100%;
  height: 38px;
  padding: 7px 34px;
  color: #e8f0f8;
  background: rgba(255, 255, 255, .075);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 9px;
  outline: none;
  font-size: 12px;
}

.vetrx-menu-search::placeholder {
  color: #8ea0b5;
}

.vetrx-menu-search:focus {
  border-color: rgba(64, 175, 255, .75);
  box-shadow: 0 0 0 3px rgba(25, 118, 210, .18);
}

.vetrx-menu-search-clear {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: #8ea0b5;
  border-radius: 7px;
  opacity: 0;
  pointer-events: none;
}

.vetrx-menu-search-wrap.has-value .vetrx-menu-search-clear {
  opacity: 1;
  pointer-events: auto;
}

.vetrx-menu-search-clear:hover {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.vetrx-nav-section {
  margin-top: 5px;
}

.vetrx-nav-header {
  padding: 12px 18px 6px;
  color: #71869e;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.vetrx-sidebar .nav-sidebar {
  padding: 0 8px;
}

.vetrx-sidebar .nav-sidebar>.nav-item {
  margin-bottom: 3px;
}

.vetrx-sidebar .nav-link {
  min-height: 42px;
  border-radius: 9px;
  padding: 9px 10px;
  color: #bdcad8 !important;
  display: flex;
  align-items: center;
  position: relative;
  transition: color .16s ease, background-color .16s ease, transform .16s ease;
}

.vetrx-sidebar .nav-link p {
  color: inherit !important;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
}

.vetrx-sidebar .nav-link p>span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vetrx-sidebar .nav-icon {
  width: 24px !important;
  margin: 0 9px 0 0 !important;
  color: #8fa5bb !important;
  font-size: 14px !important;
  text-align: center;
}

.vetrx-sidebar .nav-link:hover,
.vetrx-sidebar .nav-link:focus {
  color: #fff !important;
  background: rgba(255, 255, 255, .075);
  transform: translateX(1px);
}

.vetrx-sidebar .nav-link:hover .nav-icon,
.vetrx-sidebar .nav-link:focus .nav-icon {
  color: #cfe8ff !important;
}

.vetrx-sidebar .nav-link.active {
  color: #fff !important;
  background: linear-gradient(90deg, rgba(25, 118, 210, .95), rgba(20, 137, 190, .88)) !important;
  box-shadow: 0 7px 16px rgba(0, 77, 146, .28);
}

.vetrx-sidebar .nav-link.active .nav-icon {
  color: #fff !important;
}

.vetrx-sidebar .nav-treeview {
  padding: 4px 0 2px 9px;
}

.vetrx-sidebar .nav-treeview>.nav-item>.nav-link {
  min-height: 38px;
  padding: 8px 9px;
  color: #aabaca !important;
}

.vetrx-sidebar .nav-treeview>.nav-item>.nav-link.active {
  background: rgba(32, 184, 178, .18) !important;
  box-shadow: none;
  color: #dffdfa !important;
}

.vetrx-sidebar .nav-treeview>.nav-item>.nav-link.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 3px;
  background: var(--vetrx-cyan);
}

.vetrx-sidebar .right {
  margin-left: auto;
  transition: transform .2s ease;
}

.vetrx-sidebar .menu-open>.nav-link .right {
  transform: rotate(-90deg);
}

.vetrx-menu-row {
  display: flex;
  align-items: center;
  position: relative;
}

.vetrx-menu-row>.nav-link {
  flex: 1;
  min-width: 0;
}

.vetrx-pin-action {
  position: absolute;
  right: 7px;
  top: 7px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 7px;
  color: #7389a0;
  background: transparent;
  opacity: 0;
  z-index: 2;
}

.vetrx-menu-row:hover .vetrx-pin-action,
.vetrx-pin-action:focus,
.vetrx-pin-action.is-pinned {
  opacity: 1;
}

.vetrx-pin-action:hover,
.vetrx-pin-action:focus {
  color: #ffd166;
  background: rgba(255, 255, 255, .08);
  outline: none;
}

.vetrx-pin-action.is-pinned {
  color: #ffd166;
}

.vetrx-menu-row.has-pin .nav-link p {
  padding-right: 22px;
}

.vetrx-external-icon {
  margin-left: auto;
  font-size: 9px;
  opacity: .65;
}

.vetrx-danger-link:hover,
.vetrx-danger-link:focus {
  background: rgba(220, 53, 69, .15) !important;
  color: #ffb6bd !important;
}

.vetrx-menu-empty {
  margin: 12px;
  padding: 18px 10px;
  border: 1px dashed rgba(255, 255, 255, .14);
  border-radius: 9px;
  color: #8193a7;
  text-align: center;
  font-size: 11px;
}

.vetrx-menu-empty i,
.vetrx-menu-empty span {
  display: block;
}

.vetrx-menu-empty i {
  font-size: 18px;
  margin-bottom: 7px;
}

.vetrx-favorites-section .nav-link {
  background: rgba(32, 184, 178, .07);
}

.vetrx-favorites-section .vetrx-nav-header {
  color: #6fbeb9;
}

.vetrx-topbar a:focus-visible,
.vetrx-sidebar a:focus-visible,
.vetrx-sidebar button:focus-visible {
  outline: 2px solid #58b6ff;
  outline-offset: 2px;
}

@media (min-width: 992px) {

  body.sidebar-collapse .vetrx-impersonation-banner {
    margin-left: 4.6rem;
  }

  body:not(.sidebar-collapse) .main-header,
  body:not(.sidebar-collapse) .content-wrapper,
  body:not(.sidebar-collapse) .main-footer {
    margin-left: var(--vetrx-sidebar-width);
  }

  body.sidebar-collapse .vetrx-sidebar-tools,
  body.sidebar-collapse .vetrx-nav-header,
  body.sidebar-collapse .vetrx-pin-action {
    display: none !important;
  }

  body.sidebar-collapse .vetrx-sidebar .nav-sidebar {
    padding: 9px 4px;
  }

  body.sidebar-collapse .vetrx-sidebar .nav-link {
    justify-content: center;
  }

  body.sidebar-collapse .vetrx-sidebar .nav-icon {
    margin-right: 0 !important;
  }

  body.sidebar-collapse .vetrx-sidebar {
    width: 4.6rem;
  }

  body.sidebar-collapse .vetrx-brand-mark {
    width: 35px;
    height: 35px;
    flex-basis: 35px;
  }
}

@media (max-width: 1199.98px) {
  .vetrx-user-copy {
    display: none;
  }

  .vetrx-branch-button {
    max-width: 190px;
  }
}

@media (max-width: 991.98px) {
  .vetrx-topbar {
    min-height: 60px;
    padding: 0 8px;
  }

  .vetrx-impersonation-banner {
    margin-left: 0;
    padding: 8px 10px;
  }

  .vetrx-topbar-left,
  .vetrx-topbar-right {
    gap: 2px;
  }

  .vetrx-page-eyebrow {
    display: none !important;
  }

  .vetrx-page-context {
    max-width: 180px;
    min-width: 0;
    padding: 0 5px;
  }

  .vetrx-page-title {
    font-size: 14px;
  }

  .vetrx-quick-button {
    width: 38px;
    padding: 0 !important;
    justify-content: center;
  }

  .vetrx-quick-button span,
  .vetrx-quick-button .vetrx-chevron {
    display: none;
  }

  .vetrx-branch-copy {
    max-width: 105px;
  }

  .vetrx-sidebar {
    width: var(--vetrx-sidebar-width);
  }

  .vetrx-branch-menu,
  .vetrx-profile-menu {
    position: fixed !important;
    right: 8px !important;
    left: auto !important;
    top: 58px !important;
    transform: none !important;
    max-width: calc(100vw - 16px);
  }

  .vetrx-quick-menu {
    position: fixed !important;
    left: 8px !important;
    right: auto !important;
    top: 58px !important;
    transform: none !important;
    max-width: calc(100vw - 16px);
  }

  .vetrx-order-toast {
    top: 70px;
    right: 10px;
    left: 10px;
    max-width: none;
  }

  .vetrx-pin-action {
    opacity: 1;
  }
}

@media (max-width: 575.98px) {
  .vetrx-topbar {
    padding: 0 4px;
  }

  .vetrx-impersonation-banner {
    align-items: flex-start;
    gap: 8px;
  }

  .vetrx-impersonation-copy small {
    max-width: 62vw;
  }

  .vetrx-impersonation-exit {
    width: 38px;
    height: 36px;
    padding: 0;
  }

  .vetrx-impersonation-exit i {
    margin: 0;
  }

  .vetrx-impersonation-exit span {
    display: none;
  }

  .vetrx-page-context {
    display: none;
  }

  .vetrx-branch-button {
    max-width: none;
    padding: 4px !important;
  }

  .vetrx-branch-copy,
  .vetrx-branch-button>.vetrx-chevron {
    display: none;
  }

  .vetrx-branch-icon {
    width: 34px;
  }

  .vetrx-user-button {
    padding: 4px !important;
  }

  .vetrx-user-button>.vetrx-chevron {
    display: none;
  }

  .vetrx-icon-button {
    width: 38px;
    height: 38px;
  }

  .vetrx-notification-button {
    width: 42px;
    height: 42px;
    border-radius: 11px;
  }

  .vetrx-notification-icon {
    font-size: 18px;
  }

  .vetrx-notification-badge {
    top: -4px;
    right: -4px;
  }

  .vetrx-branch-menu {
    width: calc(100vw - 16px);
  }

  .vetrx-notification-menu {
    position: fixed !important;
    right: 8px !important;
    left: auto !important;
    top: 58px !important;
    transform: none !important;
    width: calc(100vw - 16px);
  }
}

@media (prefers-reduced-motion: reduce) {

  .vetrx-sidebar .nav-link,
  .vetrx-sidebar .right,
  .vetrx-notification-button {
    transition: none;
  }

  .vetrx-notification-button.is-ringing .vetrx-notification-icon {
    animation: none;
  }
}

@media print {

  .vetrx-topbar,
  .vetrx-sidebar,
  .vetrx-order-toast {
    display: none !important;
  }
}
