:root {
  --hrex-ink: #1f2937;
  --hrex-muted: #6b7280;
  --hrex-line: #e8edf3;
  --hrex-soft: #f6f8fb;
  --hrex-brand: #3a57e8;
  --hrex-teal: #079aa2;
}

html {
  min-height: 100%;
}

body.hrex-admin {
  background: #f5f6fa;
  color: var(--hrex-ink);
}

body.hrex-admin #loading:not(.is-active) {
  display: none !important;
}

body.hrex-admin #loading.is-active {
  display: flex !important;
}

body.hrex-auth {
  min-height: 100vh;
  background: #f5f6fa;
  color: var(--hrex-ink);
}

body.hrex-marketing {
  min-height: 100vh;
  background: #f5f6fa;
  color: var(--hrex-ink);
  overflow-x: hidden;
}

body.hrex-marketing.has-scrolled .hrex-marketing-nav {
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 16px 48px rgba(17, 38, 146, .12);
  backdrop-filter: blur(18px);
}

body.hrex-marketing.has-scrolled .hrex-marketing-nav .hrex-auth-brand,
body.hrex-marketing.has-scrolled .hrex-marketing-nav nav a:not(.btn) {
  color: var(--hrex-ink);
}

body.hrex-marketing.has-scrolled .hrex-marketing-nav .hrex-logo {
  background: var(--hrex-brand);
  color: #fff;
}

a {
  text-decoration: none;
}

.hrex-logo {
  display: inline-grid;
  width: 38px;
  height: 38px;
  min-width: 38px;
  place-items: center;
  flex: 0 0 38px;
  border-radius: 8px;
  background: var(--hrex-brand);
  color: #fff;
  font-size: .85rem;
  font-weight: 800;
}

.hrex-organization-logo {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--hrex-line);
  background: #fff;
}

.hrex-organization-logo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
  background: #fff;
}

.hrex-logo-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--hrex-brand);
  font-size: .8rem;
  font-weight: 800;
}

.hrex-employee-summary-card {
  box-shadow: 0 10px 30px rgba(17, 38, 146, .06);
}

.hrex-employee-summary-avatar {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  flex: 0 0 72px;
  overflow: hidden;
  border-radius: 12px;
  background: #eef2ff;
  color: var(--hrex-brand);
  font-size: 1.15rem;
  font-weight: 700;
}

.hrex-employee-summary-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hrex-child-employee-strip {
  margin-top: 1.25rem;
}

.hrex-child-employee-strip .card-body {
  padding: 1.5rem;
}

.hrex-child-form-card {
  margin-bottom: 1.5rem;
}

.hrex-child-layout > [class*="col-"] {
  flex: 0 0 100%;
  max-width: 100%;
}

.hrex-child-layout {
  margin-top: 1.25rem;
}

.hrex-child-layout > [class*="col-"] + [class*="col-"] {
  margin-top: 1rem;
}

.hrex-child-profile .card-body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.hrex-child-profile .hrex-user-avatar {
  margin: 0;
}

.hrex-child-profile h3,
.hrex-child-profile p {
  margin: 0;
}

.hrex-child-profile .hrex-profile-stats {
  display: flex;
  flex: 1 1 240px;
  gap: .75rem;
  margin: 0;
}

.hrex-child-profile .hrex-profile-stats > div {
  min-width: 150px;
}

.hrex-child-profile a {
  width: auto !important;
  margin-top: 0 !important;
}

.hrex-child-card-body {
  padding: 1.4rem 1.5rem 1.5rem;
}

.hrex-child-field-groups {
  display: grid;
  gap: 1rem;
}

.hrex-child-field-group {
  padding: 18px;
  border: 1px solid var(--hrex-line);
  border-radius: 8px;
  background: #fbfcff;
}

.hrex-child-field-group h5 {
  margin: 0 0 14px;
  color: var(--hrex-ink);
  font-size: .92rem;
  font-weight: 750;
}

.hrex-child-field-group .row {
  --bs-gutter-x: 1.25rem;
}

.badge.bg-success-subtle,
.badge.bg-warning-subtle,
.badge.bg-danger-subtle,
.badge.bg-primary-subtle,
.badge.bg-info-subtle,
.badge.bg-success,
.badge.bg-warning,
.badge.bg-danger,
.badge.bg-primary,
.badge.bg-info,
span.bg-success,
span.bg-warning,
span.bg-danger,
span.bg-primary,
span.bg-info {
  color: #fff !important;
}

.badge.bg-success-subtle {
  background-color: #14883e !important;
}

.badge.bg-warning-subtle {
  background-color: #b86400 !important;
}

.badge.bg-danger-subtle {
  background-color: #c8322a !important;
}

.badge.bg-primary-subtle,
.hrex-tenant-badge.bg-primary-subtle {
  background-color: var(--hrex-primary) !important;
}

.badge.bg-info-subtle {
  background-color: #0f8fb3 !important;
}

@media (max-width: 575.98px) {
  .hrex-employee-summary-avatar {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
  }

  .hrex-child-profile .hrex-profile-stats {
    flex-basis: 100%;
    flex-wrap: wrap;
  }

  .hrex-child-layout {
    margin-top: .75rem;
  }

  .hrex-child-field-group {
    padding: 14px;
  }
}

.hrex-brand-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}

.sidebar-header .navbar-brand {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  gap: 10px;
}

.sidebar .navbar-brand {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.sidebar .hrex-logo {
  flex-shrink: 0;
}

.sidebar.sidebar-mini .sidebar-header {
  justify-content: center !important;
  padding-right: 0;
  padding-left: 0;
}

.sidebar.sidebar-mini .navbar-brand {
  width: 100%;
  justify-content: center;
  overflow: hidden;
}

.sidebar.sidebar-mini .hrex-brand-copy {
  display: none;
}

.sidebar.sidebar-mini .hrex-logo {
  flex: 0 0 38px;
}

.navbar-brand .logo-title {
  display: block;
  margin: 0;
  color: var(--hrex-ink);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.05;
}

.hrex-brand-tenant {
  display: block;
  max-width: 154px;
  margin-top: 3px;
  overflow: hidden;
  color: var(--hrex-muted);
  font-size: .72rem;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 767.98px), (max-resolution: 0.6dppx) {
  .sidebar-header {
    min-height: 58px;
    padding-inline: .5rem;
  }

  .sidebar-header .navbar-brand {
    justify-content: center;
    gap: 0;
  }

  .sidebar-header .hrex-brand-copy {
    display: none;
  }

  .sidebar-header .hrex-logo {
    width: 38px;
    height: 38px;
    min-width: 38px;
    flex-basis: 38px;
  }
}

.hrex-header {
  min-height: 190px;
}

.hrex-navbar-header-bg {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 190px;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 68%, rgba(3, 27, 97, .7) 0 23%, transparent 24%),
    linear-gradient(118deg, transparent 0 13%, rgba(12, 72, 180, .85) 13.2% 31%, transparent 31.2%),
    linear-gradient(132deg, transparent 0 42%, rgba(56, 139, 255, .62) 42.2% 56%, transparent 56.2%),
    linear-gradient(115deg, #073c9e 0%, #0961d4 46%, #0645b8 100%);
}

.hrex-navbar-header-bg::before,
.hrex-navbar-header-bg::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.hrex-navbar-header-bg::before {
  background:
    linear-gradient(122deg, transparent 0 26%, rgba(255, 255, 255, .16) 26.2% 39%, transparent 39.2%),
    linear-gradient(122deg, transparent 0 53%, rgba(255, 255, 255, .12) 53.2% 66%, transparent 66.2%);
}

.hrex-navbar-header-bg::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(0, 0, 0, .08));
}

.hrex-page-title {
  margin: 0 0 .35rem;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
}

.hrex-plan-badge,
.hrex-tenant-badge {
  min-height: 30px;
  align-items: center;
}

.search-input {
  max-width: 360px;
}

.content-inner {
  position: relative;
  z-index: 2;
  flex: 1 0 auto;
  min-height: calc(100vh - 290px);
  padding-bottom: 2rem !important;
}

.main-content {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.main-content .footer {
  position: static !important;
  top: auto !important;
  bottom: auto !important;
  z-index: 1;
  flex-shrink: 0;
  margin-top: auto;
}

.card {
  border: 0;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(17, 38, 146, .06);
}

.card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  border-bottom-color: var(--hrex-line);
  background: #fff;
}

.card-header > div:first-child {
  min-width: 0;
}

.card-header .card-title,
.card-header h4 {
  overflow-wrap: anywhere;
}

.hrex-eyebrow {
  display: block;
  margin-bottom: .25rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 0;
}

.hrex-metric-card {
  min-height: 148px;
}

.badge {
  padding: .42rem .7rem;
  line-height: 1.05;
}

.bg-success,
.bg-warning,
.bg-danger,
.bg-info,
.bg-primary,
.bg-secondary {
  color: #fff !important;
}

.hrex-icon-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  min-width: 34px;
  height: 34px;
  padding: 0;
}

.btn-group-sm .hrex-icon-action {
  width: 34px;
  min-width: 34px;
  height: 34px;
}

.hrex-icon-action i {
  font-size: 1rem;
  line-height: 1;
}

[class^="ri-"],
[class*=" ri-"] {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  vertical-align: -.125em;
}

[class^="ri-"]::before,
[class*=" ri-"]::before {
  display: block;
  width: 100%;
  height: 100%;
  background: currentColor;
  content: "";
  -webkit-mask: var(--hrex-ri-icon) center / contain no-repeat;
  mask: var(--hrex-ri-icon) center / contain no-repeat;
}

.ri-search-line {
  --hrex-ri-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
}

.ri-edit-line {
  --hrex-ri-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z'/%3E%3C/svg%3E");
}

.ri-delete-bin-line {
  --hrex-ri-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M8 6V4h8v2'/%3E%3Cpath d='M19 6l-1 15H6L5 6'/%3E%3Cpath d='M10 11v6M14 11v6'/%3E%3C/svg%3E");
}

.ri-file-copy-line {
  --hrex-ri-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='8' width='11' height='13' rx='2'/%3E%3Cpath d='M16 8V5a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h2'/%3E%3C/svg%3E");
}

.ri-folder-open-line {
  --hrex-ri-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7a2 2 0 0 1 2-2h5l2 3h7a2 2 0 0 1 2 2v2'/%3E%3Cpath d='M3 19l3-8h15l-3 8Z'/%3E%3C/svg%3E");
}

.ri-download-line {
  --hrex-ri-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12'/%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3Cpath d='M5 21h14'/%3E%3C/svg%3E");
}

.ri-arrow-left-line {
  --hrex-ri-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5'/%3E%3Cpath d='m12 19-7-7 7-7'/%3E%3C/svg%3E");
}

.ri-arrow-down-s-line {
  --hrex-ri-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

.ri-close-line {
  --hrex-ri-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E");
}

.ri-save-line,
.ri-save-3-line {
  --hrex-ri-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3h12l2 2v16H5Z'/%3E%3Cpath d='M8 3v6h8V3'/%3E%3Cpath d='M8 21v-7h8v7'/%3E%3C/svg%3E");
}

.ri-shield-user-line {
  --hrex-ri-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2 5 5v6c0 4.5 2.8 8.5 7 10 4.2-1.5 7-5.5 7-10V5Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3Cpath d='M8.5 16a4 4 0 0 1 7 0'/%3E%3C/svg%3E");
}

.ri-archive-line {
  --hrex-ri-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16'/%3E%3Cpath d='M5 7l1 14h12l1-14'/%3E%3Cpath d='M4 3h16v4H4Z'/%3E%3Cpath d='M10 12h4'/%3E%3C/svg%3E");
}

.ri-add-line {
  --hrex-ri-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
}

.ri-check-line {
  --hrex-ri-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E");
}

.hrex-financial-metric {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.hrex-financial-metric h2 {
  color: var(--hrex-brand);
}

.hrex-financial-metric:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 22px 46px rgba(17, 38, 146, .14);
}

.hrex-financial-chart {
  display: grid;
  grid-template-columns: repeat(12, minmax(42px, 1fr));
  gap: .85rem;
  min-height: 260px;
  padding: 1rem .25rem 0;
  overflow-x: auto;
}

.hrex-chart-column {
  display: grid;
  min-width: 42px;
  grid-template-rows: 1fr auto;
  gap: .65rem;
}

.hrex-chart-bars {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: .25rem;
  min-height: 210px;
  padding: .65rem .35rem 0;
  border-radius: 8px;
  background: linear-gradient(180deg, #f7f9ff 0%, #eef2ff 100%);
}

.hrex-chart-bar {
  display: block;
  width: 13px;
  min-height: 8px;
  border-radius: 999px 999px 0 0;
  transition: height .28s ease, transform .16s ease, opacity .16s ease;
}

.hrex-chart-bar:hover {
  transform: scaleX(1.25);
}

.hrex-chart-bar.is-actual {
  background: var(--hrex-brand);
}

.hrex-chart-bar.is-forecast {
  background: var(--hrex-teal);
  opacity: .8;
}

.hrex-chart-label {
  color: var(--hrex-muted);
  font-size: .75rem;
  font-weight: 700;
  text-align: center;
}

.hrex-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--hrex-muted);
  font-size: .85rem;
}

.hrex-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.hrex-chart-dot {
  display: inline-block;
  width: .7rem;
  height: .7rem;
  border-radius: 50%;
}

.hrex-chart-dot.is-actual {
  background: var(--hrex-brand);
}

.hrex-chart-dot.is-forecast {
  background: var(--hrex-teal);
}

.hrex-health-score {
  display: grid;
  min-width: 110px;
  gap: .35rem;
}

.hrex-health-score strong {
  color: var(--hrex-brand);
}

.hrex-health-score-track {
  display: block;
  width: 100%;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8edf7;
}

.hrex-health-score-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--hrex-brand), var(--hrex-teal));
}

.hrex-support-feed {
  display: grid;
  gap: .85rem;
}

.hrex-support-feed-item {
  padding: 1rem;
  border: 1px solid var(--hrex-line);
  border-radius: 8px;
  background: var(--hrex-soft);
}

.hrex-support-feed-item > span {
  display: block;
  margin: .3rem 0 .45rem;
  font-size: .82rem;
}

.hrex-support-feed-item p {
  overflow-wrap: anywhere;
}

.hrex-report-list {
  display: grid;
  gap: .65rem;
}

.hrex-report-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem 1rem;
  border: 1px solid var(--hrex-line);
  border-radius: 8px;
  background: var(--hrex-soft);
}

.hrex-report-list span {
  color: var(--hrex-muted);
}

.hrex-report-list strong {
  color: var(--hrex-brand);
  font-size: 1.15rem;
}

.hrex-metric-link,
.hrex-list-link {
  color: var(--hrex-ink);
  transition: transform .15s ease, box-shadow .15s ease;
}

.hrex-metric-link:hover,
.hrex-list-link:hover {
  color: var(--hrex-ink);
}

.hrex-metric-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(17, 38, 146, .1);
}

.hrex-list-link:hover {
  background: #f8faff;
}

.hrex-icon-tile {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
}

.hrex-icon-tile svg {
  width: 24px;
  height: 24px;
}

.hrex-module-tile,
.hrex-module-card {
  display: block;
  height: 100%;
  color: var(--hrex-ink);
}

.hrex-module-tile {
  min-height: 178px;
  padding: 18px;
  border: 1px solid var(--hrex-line);
  border-radius: 8px;
  background: var(--hrex-soft);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.hrex-module-icon {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  background: #eef2ff;
  color: var(--hrex-brand);
}

.hrex-module-icon svg {
  width: 19px;
  height: 19px;
}

.hrex-module-icon.is-payroll {
  background: #e8f5ff;
  color: #0b6bcb;
}

.hrex-module-icon.is-finance {
  background: #e9f8ef;
  color: #14804a;
}

.hrex-module-icon.is-reports {
  background: #fff4de;
  color: #b7791f;
}

.hrex-module-icon.is-admin {
  background: #f1f5f9;
  color: #475569;
}

.hrex-module-icon.is-training {
  background: #f5ecff;
  color: #7c3aed;
}

.hrex-module-tile:hover,
.hrex-module-card:hover {
  color: var(--hrex-ink);
  border-color: rgba(58, 87, 232, .35);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(17, 38, 146, .1);
}

.hrex-module-card.is-disabled {
  cursor: default;
  opacity: .72;
  pointer-events: none;
}

.hrex-module-card.is-disabled:hover {
  border-color: var(--hrex-line);
  box-shadow: none;
  transform: none;
}

.hrex-module-tile strong,
.hrex-module-tile small,
.hrex-module-tile em,
.hrex-module-card h4,
.hrex-module-card p {
  display: block;
}

.hrex-module-tile strong {
  margin-top: 16px;
  font-size: 1.05rem;
}

.hrex-module-tile small,
.hrex-module-card p,
.hrex-activity-item small,
.hrex-table td span,
.hrex-profile-card p,
.hrex-timeline p {
  color: var(--hrex-muted);
}

.hrex-module-tile em {
  margin-top: 14px;
  color: var(--hrex-brand);
  font-style: normal;
  font-weight: 700;
}

.hrex-setup-section-heading {
  margin: 0 0 18px;
}

.hrex-setup-group {
  display: block;
  margin-bottom: 22px;
  padding: 18px;
  border: 1px solid #e5e9f2;
  border-radius: 10px;
  background: #f7f8fb;
}

.hrex-setup-group > summary {
  list-style: none;
  cursor: pointer;
}

.hrex-setup-group > summary::-webkit-details-marker {
  display: none;
}

.hrex-setup-group > summary:hover h4 {
  color: var(--hrex-brand);
}

.hrex-setup-fieldset {
  border: 1px solid #e7edf5;
  background: #fbfdff;
}

.hrex-delete-options {
  display: grid;
  gap: .85rem;
}

.hrex-delete-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .85rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid var(--hrex-line);
  border-radius: 8px;
  background: #fbfdff;
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.hrex-delete-option:hover {
  border-color: rgba(209, 65, 46, .35);
  box-shadow: 0 14px 32px rgba(15, 23, 42, .07);
  transform: translateY(-1px);
}

.hrex-delete-option strong,
.hrex-delete-option small {
  display: block;
}

.hrex-delete-option small {
  margin-top: .25rem;
  color: var(--hrex-muted);
}

.hrex-setup-index {
  margin-top: 3.25rem;
}

.hrex-setup-directory-heading {
  padding: 18px 0 6px;
}

.hrex-setup-tile {
  min-height: 148px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(8, 15, 52, .035);
}

.hrex-setup-tile strong {
  margin-top: 0;
}

.hrex-setup-tile small {
  margin-top: 9px;
  line-height: 1.45;
}

.hrex-setup-toggle {
  position: relative;
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(58, 87, 232, .2);
  border-radius: 8px;
  background: #fff;
  color: var(--hrex-brand);
}

.hrex-setup-toggle::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .16s ease;
}

.hrex-setup-group[open] .hrex-setup-toggle::after {
  transform: rotate(225deg) translate(-1px, -1px);
}

.hrex-setup-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  color: var(--hrex-brand);
  background: rgba(58, 87, 232, .1);
}

.hrex-setup-icon svg {
  width: 24px;
  height: 24px;
}

.hrex-module-tile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hrex-module-card {
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.hrex-module-card p {
  min-height: 48px;
  margin-bottom: 18px;
}

.hrex-capability-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hrex-capability-preview span {
  display: inline-flex;
  max-width: 100%;
  min-height: 26px;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: #eef2ff;
  color: var(--hrex-brand);
  font-size: .78rem;
  font-weight: 650;
}

.hrex-workspace-button {
  display: grid;
  min-height: 96px;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  border: 1px solid var(--hrex-line);
  border-radius: 8px;
  background: var(--hrex-soft);
  color: var(--hrex-ink);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.hrex-workspace-button:hover {
  border-color: rgba(58, 87, 232, .38);
  color: var(--hrex-ink);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(17, 38, 146, .1);
}

.hrex-workspace-button.is-primary {
  border-color: rgba(58, 87, 232, .32);
  background: #eef2ff;
}

.hrex-workspace-button strong,
.hrex-workspace-button small {
  display: block;
}

.hrex-workspace-button strong {
  font-size: 1.05rem;
}

.hrex-workspace-button small {
  margin-top: 5px;
  color: var(--hrex-muted);
}

.hrex-report-module-section {
  padding: 1rem;
  border: 1px solid var(--hrex-line);
  border-radius: 8px;
  background: #fbfcff;
}

.hrex-section-title {
  margin: 2px 0 16px;
}

.hrex-module-directory {
  padding-top: 4rem;
}

.hrex-module-directory .hrex-section-title {
  margin-top: 1rem;
}

.hrex-collapse-indicator {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--hrex-brand);
  background: rgba(67, 89, 241, .1);
  transition: transform .16s ease, background .16s ease;
}

.hrex-module-directory [aria-expanded="true"] .hrex-collapse-indicator {
  transform: rotate(180deg);
  background: var(--hrex-brand);
  color: #fff;
}

.hrex-section-card {
  margin-top: .5rem;
}

.hrex-activity-item {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hrex-activity-item strong,
.hrex-activity-item small {
  display: block;
}

.hrex-table th {
  white-space: nowrap;
  padding-left: 1.5rem;
  color: var(--hrex-muted);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hrex-table td {
  padding: 1rem 1.5rem;
  vertical-align: middle;
}

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

.hrex-table td:last-child .btn-group,
.hrex-table td:last-child .d-flex {
  flex-wrap: wrap;
}

.hrex-table .btn,
.hrex-tab-toolbar .btn,
.card-header .btn {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn .hrex-btn-icon {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
}

.btn.hrex-icon-only {
  width: 34px;
  min-width: 34px;
  height: 34px;
  padding: 0;
  gap: 0;
}

.btn.hrex-icon-only .hrex-btn-icon {
  width: 16px;
  height: 16px;
}

.hrex-btn-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn.hrex-is-loading {
  pointer-events: none;
}

.btn .hrex-btn-spinner {
  width: 1em;
  height: 1em;
  border-width: .16em;
}

.btn-danger,
.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active {
  color: #fff !important;
}

.badge.bg-success-subtle,
.badge.text-success {
  background-color: #16a34a !important;
  color: #fff !important;
}

.badge.bg-warning-subtle,
.badge.text-warning {
  background-color: #f59e0b !important;
  color: #fff !important;
}

.hrex-table td strong,
.hrex-table td span {
  display: block;
}

.hrex-table-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin: 0 1.5rem 1rem;
}

.hrex-table-tools + .table-responsive,
.hrex-table-tools + table {
  margin-top: .25rem;
}

.hrex-table-tools .input-group {
  width: min(420px, 100%);
}

.hrex-table-tools .form-select {
  width: min(220px, 100%);
}

.hrex-report-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.hrex-report-actions .btn {
  min-width: 96px;
}

.hrex-payslip-email-tool {
  padding: 18px;
  border: 1px solid rgba(58, 87, 232, .18);
  border-radius: 8px;
  background: #fbfcff;
}

.hrex-recipient-option {
  display: flex;
  min-height: 58px;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--hrex-line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.hrex-recipient-option span,
.hrex-recipient-option strong,
.hrex-recipient-option small {
  display: block;
}

.hrex-recipient-option small {
  margin-top: 2px;
  color: var(--hrex-muted);
}

.hrex-table-sort {
  cursor: pointer;
  user-select: none;
}

.hrex-table-sort::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 7px;
  vertical-align: middle;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  opacity: .45;
}

.hrex-table-sort.is-asc::after {
  border-bottom: 6px solid currentColor;
}

.hrex-table-sort.is-desc::after {
  border-top: 6px solid currentColor;
}

.hrex-user-menu {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.hrex-sidebar-count {
  margin-left: auto;
  color: #fff !important;
  font-size: .68rem;
}

.sidebar.sidebar-mini .nav-link {
  position: relative;
}

.sidebar.sidebar-mini .hrex-sidebar-count {
  position: absolute;
  top: 8px;
  right: 10px;
  display: inline-flex !important;
  min-width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.sidebar.sidebar-mini .badge:not(.hrex-sidebar-count),
.sidebar.sidebar-mini .static-item .default-icon {
  display: none !important;
}

.sidebar.sidebar-mini .static-item .mini-icon {
  display: inline-block;
}

.hrex-user-initial {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--hrex-brand);
  color: #fff;
  font-weight: 800;
}

.dropdown-header strong,
.dropdown-header small {
  display: block;
}

.dropdown-header small {
  margin-top: 2px;
  color: var(--hrex-muted);
}

.hrex-notification-toggle {
  position: relative;
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--hrex-ink);
}

.hrex-notification-toggle:hover,
.hrex-notification-toggle:focus {
  background: #eef2ff;
  color: var(--hrex-brand);
}

.hrex-notification-count {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  color: #fff !important;
  font-size: .68rem;
  line-height: 18px;
}

.hrex-notification-menu {
  min-width: 280px;
}

.hrex-notification-item {
  display: grid;
  gap: 2px;
}

.hrex-notification-item small {
  color: var(--hrex-muted);
}

.hrex-dropdown-identity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hrex-dropdown-logo {
  width: 34px;
  height: 34px;
  padding: 4px;
  border: 1px solid var(--hrex-line);
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
}

.hrex-profile-org-logo {
  display: grid;
  width: 120px;
  height: 80px;
  margin: 0 auto 16px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--hrex-line);
  border-radius: 8px;
  background: #fff;
  color: var(--hrex-brand);
  font-weight: 800;
}

.hrex-profile-org-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.hrex-profile-stat-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 10px;
  align-items: center;
}

.hrex-profile-stat-action span,
.hrex-profile-stat-action strong {
  grid-column: 1;
}

.hrex-profile-stat-action a {
  grid-row: 1 / span 2;
  grid-column: 2;
}

.hrex-profile-org-grid > div {
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--hrex-soft);
}

.hrex-profile-org-grid span,
.hrex-profile-org-grid strong {
  display: block;
}

.hrex-profile-org-grid span {
  color: var(--hrex-muted);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hrex-profile-org-grid strong {
  margin-top: 6px;
}

.hrex-billing-plan {
  height: 100%;
  padding: 18px;
  border: 1px solid var(--hrex-line);
  border-radius: 8px;
  background: var(--hrex-soft);
}

.hrex-billing-plan.is-current {
  border-color: rgba(58, 87, 232, .34);
  background: #eef2ff;
}

.hrex-billing-plan h5 {
  margin: 0;
}

.hrex-billing-plan > strong {
  display: block;
  margin: 18px 0 10px;
  color: var(--hrex-brand);
  font-size: 1.75rem;
}

.hrex-billing-plan small {
  color: var(--hrex-muted);
  font-size: .82rem;
}

.hrex-billing-plan p {
  min-height: 72px;
  color: var(--hrex-muted);
}

.hrex-billing-addons {
  padding: 12px;
  border: 1px solid rgba(58, 87, 232, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
}

.hrex-addon-option {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
}

.hrex-addon-option .form-check-input {
  margin-top: 4px;
}

.hrex-addon-option label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--hrex-ink);
}

.hrex-addon-option label span {
  color: var(--hrex-muted);
  font-size: .84rem;
}

.hrex-cancel-subscription-card {
  border: 1px solid rgba(209, 65, 46, .18);
  box-shadow: 0 18px 38px rgba(15, 23, 42, .06);
}

.hrex-cancel-subscription-card .card-header {
  background: linear-gradient(135deg, rgba(209, 65, 46, .06), rgba(245, 158, 11, .08));
}

.hrex-cancel-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hrex-cancel-summary > div,
.hrex-cancel-action-panel {
  padding: 16px;
  border: 1px solid var(--hrex-line);
  border-radius: 8px;
  background: var(--hrex-soft);
}

.hrex-cancel-summary span,
.hrex-cancel-action-panel span {
  display: block;
  color: var(--hrex-muted);
  font-size: .78rem;
}

.hrex-cancel-summary span {
  font-weight: 800;
  text-transform: uppercase;
}

.hrex-cancel-summary strong,
.hrex-cancel-action-panel strong {
  display: block;
  margin-top: 4px;
}

.hrex-cancel-action-panel {
  display: grid;
  gap: 12px;
  height: 100%;
  align-content: center;
}

.hrex-capability-card {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  min-height: 98px;
  padding: 16px;
  border: 1px solid var(--hrex-line);
  border-radius: 8px;
  background: var(--hrex-soft);
}

.hrex-capability-card strong,
.hrex-capability-card small {
  display: block;
}

.hrex-check {
  width: 12px;
  height: 12px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--hrex-teal);
  box-shadow: 0 0 0 4px rgba(7, 154, 162, .12);
}

.hrex-timeline .timeline-item {
  padding-bottom: 1.35rem;
}

.hrex-profile-card,
.hrex-user-card {
  min-height: 100%;
}

.hrex-profile-card h3 {
  margin: .35rem 0 .15rem;
}

.hrex-avatar,
.hrex-user-avatar {
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #eef2ff;
  color: var(--hrex-brand);
  font-weight: 800;
}

.hrex-avatar {
  width: 72px;
  height: 72px;
  margin: 16px 0;
  font-size: 1.35rem;
}

.hrex-user-card {
  text-align: center;
}

.hrex-user-avatar {
  width: 112px;
  height: 112px;
  margin: 6px auto 20px;
  font-size: 1.8rem;
  overflow: hidden;
}

.hrex-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hrex-profile-stats {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.hrex-profile-stats div {
  padding: 14px;
  border-radius: 8px;
  background: var(--hrex-soft);
}

.hrex-profile-stats span,
.hrex-profile-stats strong {
  display: block;
}

.hrex-profile-stats span {
  color: var(--hrex-muted);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hrex-self-welcome .card-body {
  padding: 24px;
}

.hrex-self-identity {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.hrex-self-identity .hrex-user-avatar {
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  margin: 0;
  font-size: 1.4rem;
}

.hrex-self-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.hrex-summary-card {
  min-height: 148px;
}

.hrex-summary-icon {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  background: #eef2ff;
  color: var(--hrex-brand);
}

@media (max-width: 767.98px) {
  .hrex-self-identity {
    align-items: flex-start;
  }

  .hrex-self-actions {
    width: 100%;
    justify-content: stretch;
  }

  .hrex-self-actions .btn {
    flex: 1 1 100%;
  }
}

.hrex-flag-card {
  min-height: 72px;
  padding: 12px;
  border: 1px solid var(--hrex-line);
  border-radius: 8px;
  background: var(--hrex-soft);
}

.hrex-flag-card span,
.hrex-flag-card strong {
  display: block;
}

.hrex-flag-card span {
  color: var(--hrex-muted);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hrex-flag-card strong {
  margin-top: 4px;
}

.hrex-readonly-form .form-group {
  margin-bottom: 1rem;
}

.hrex-readonly-form .form-label {
  color: var(--hrex-muted);
  font-size: .82rem;
  font-weight: 600;
}

.hrex-readonly-form .form-control[readonly] {
  background: #fff;
  border-color: var(--hrex-line);
  color: var(--hrex-ink);
  cursor: default;
}

.hrex-tabs {
  gap: 4px;
  overflow-x: auto;
  overflow-y: hidden;
  flex-wrap: nowrap;
}

.hrex-tabs .nav-link {
  white-space: nowrap;
}

.hrex-related-tabs-card {
  margin-top: 1.25rem;
}

.hrex-tab-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 14px;
}

.hrex-form-check {
  min-height: 44px;
  align-items: center;
  padding-top: 9px;
}

.hrex-platform-form {
  padding: 18px;
  border: 1px solid var(--hrex-line);
  border-radius: 8px;
  background: var(--hrex-soft);
}

.hrex-platform-form h4 {
  margin-bottom: 18px;
}

.hrex-platform-form .form-group {
  margin-bottom: 14px;
}

.hrex-additional-data-form .form-label {
  color: var(--hrex-muted);
  font-size: .82rem;
  font-weight: 600;
}

.hrex-product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 1.5rem;
  padding: 32px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(17, 38, 146, .06);
}

.hrex-product-hero h2 {
  max-width: 820px;
  margin: 0 0 14px;
  font-size: 2rem;
  line-height: 1.18;
}

.hrex-product-hero h1 {
  margin: 8px 0 4px;
  color: var(--hrex-brand);
  font-size: 4.25rem;
  line-height: .95;
  font-weight: 900;
}

.hrex-product-hero p {
  max-width: 760px;
  color: var(--hrex-muted);
  font-size: 1.02rem;
}

.hrex-price-snapshot {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  border: 1px solid rgba(58, 87, 232, .2);
  border-radius: 8px;
  background: #eef2ff;
}

.hrex-price-snapshot span,
.hrex-price-snapshot small,
.hrex-price-snapshot em {
  color: var(--hrex-muted);
}

.hrex-price-snapshot strong {
  color: var(--hrex-brand);
  font-size: 3rem;
  line-height: 1;
}

.hrex-price-snapshot em {
  margin-top: 16px;
  font-style: normal;
  font-weight: 700;
}

.hrex-platform-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 1.5rem;
}

.hrex-platform-pillars div,
.hrex-workflow-card {
  min-height: 148px;
  padding: 18px;
  border: 1px solid var(--hrex-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(17, 38, 146, .045);
}

.hrex-platform-pillars span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 8px;
  background: #eef2ff;
  color: var(--hrex-brand);
  font-size: .82rem;
  font-weight: 800;
}

.hrex-platform-pillars strong,
.hrex-platform-pillars small {
  display: block;
}

.hrex-platform-pillars strong {
  margin-bottom: 6px;
  color: var(--hrex-ink);
  font-size: 1.05rem;
}

.hrex-platform-pillars small,
.hrex-workflow-card p {
  color: var(--hrex-muted);
}

.hrex-feature-panel {
  display: grid;
  min-height: 132px;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--hrex-line);
  border-radius: 8px;
  background: var(--hrex-soft);
}

.hrex-feature-panel strong,
.hrex-feature-panel small {
  display: block;
}

.hrex-feature-panel small {
  margin-top: 6px;
  color: var(--hrex-muted);
}

.hrex-scope-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hrex-scope-list span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #fff4ed;
  color: #c2410c;
  font-size: .82rem;
  font-weight: 700;
}

.hrex-pricing-section {
  margin: 1.5rem 0;
}

.hrex-workflow-section {
  margin: 1.5rem 0;
}

.hrex-workflow-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--hrex-ink);
  font-size: 1.05rem;
}

.hrex-workflow-card p {
  margin: 0;
}

.hrex-pricing-card {
  height: 100%;
}

.hrex-pricing-card.is-featured {
  border: 1px solid rgba(58, 87, 232, .32);
}

.hrex-pricing-card h4 {
  margin-bottom: 10px;
}

.hrex-plan-price {
  margin-bottom: 12px;
  color: var(--hrex-brand);
  font-size: 2rem;
  font-weight: 800;
}

.hrex-plan-price small {
  color: var(--hrex-muted);
  font-size: .82rem;
  font-weight: 600;
}

.hrex-pricing-card p {
  min-height: 70px;
  color: var(--hrex-muted);
}

.hrex-pricing-card ul {
  min-height: 98px;
  margin: 0 0 18px;
  padding-left: 18px;
}

.hrex-pricing-card li {
  margin-bottom: 6px;
}

.hrex-recommendation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.hrex-recommendation-grid div {
  min-height: 84px;
  padding: 14px;
  border-radius: 8px;
  background: var(--hrex-soft);
}

.hrex-recommendation-grid span,
.hrex-recommendation-grid strong {
  display: block;
}

.hrex-recommendation-grid span {
  color: var(--hrex-muted);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hrex-recommendation-grid strong {
  margin-top: 5px;
}

.hrex-included-list {
  display: grid;
  gap: 12px;
}

.hrex-included-list div {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.hrex-trial-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1220px, calc(100% - 36px));
  margin: 1.5rem auto;
  padding: 28px;
  border-radius: 8px;
  background: var(--hrex-brand);
  color: #fff;
}

.hrex-trial-band h3 {
  margin: 0 0 8px;
  color: #fff;
}

.hrex-trial-band p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, .82);
}

.hrex-trial-cta {
  background: #fff;
  color: var(--hrex-brand);
  border-color: #fff;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(10, 35, 120, .18);
}

.hrex-trial-cta:hover,
.hrex-trial-cta:focus {
  background: #eef2ff;
  color: var(--hrex-brand);
  border-color: #eef2ff;
}

@media (max-width: 991.98px) {
  .sidebar-header {
    min-height: 64px;
    padding-inline: .75rem;
  }

  .sidebar-header .navbar-brand {
    min-height: 46px;
  }

  .hrex-logo {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }

  .hrex-organization-logo img {
    padding: 2px;
  }

  .search-input {
    display: none;
  }

  .hrex-header,
  .hrex-navbar-header-bg {
    min-height: 150px;
  }

  .hrex-page-title {
    font-size: 1.65rem;
  }

  .content-inner {
    margin-top: -2.25rem !important;
    padding-inline: .85rem !important;
  }

  .card {
    box-shadow: 0 8px 20px rgba(17, 38, 146, .055);
  }

  .hrex-table {
    min-width: 720px;
  }

  .hrex-product-hero {
    grid-template-columns: 1fr;
  }

  .hrex-platform-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hrex-trial-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  .sidebar-header {
    min-height: 58px;
  }

  .hrex-logo {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .hrex-header,
  .hrex-navbar-header-bg {
    min-height: 132px;
  }

  .hrex-header .iq-container {
    padding-top: 1.4rem;
  }

  .content-inner {
    margin-top: -1.75rem !important;
    padding-inline: .5rem !important;
  }

  .card-header,
  .hrex-activity-item {
    align-items: flex-start !important;
    flex-direction: column;
  }

  .card-body {
    padding-inline: 1rem;
  }

  .hrex-table th,
  .hrex-table td {
    padding-right: .85rem;
    padding-left: .85rem;
  }

  .hrex-module-tile {
    min-height: 150px;
  }

  .hrex-product-hero {
    padding: 22px;
  }

  .hrex-product-hero h2 {
    font-size: 1.55rem;
  }

  .hrex-product-hero h1 {
    font-size: 3rem;
  }

  .hrex-platform-pillars {
    grid-template-columns: 1fr;
  }

  .hrex-recommendation-grid {
    grid-template-columns: 1fr;
  }
}

.hrex-auth-shell {
  min-height: 100vh;
}

.hrex-marketing-nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1040;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 7vw, 110px);
  background: transparent;
  box-shadow: none;
  transition: background .2s ease, box-shadow .2s ease, backdrop-filter .2s ease;
}

.hrex-marketing-nav .hrex-auth-brand {
  margin-bottom: 0;
  color: #fff;
}

.hrex-marketing-nav .hrex-logo {
  background: rgba(255, 255, 255, .18);
  color: #fff;
}

.hrex-marketing-nav nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(10px, 1.6vw, 28px);
}

.hrex-marketing-logout-form {
  margin: 0;
}

.hrex-marketing-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 12px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
}

.hrex-marketing-menu-toggle span:not(.visually-hidden) {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hrex-marketing-nav nav a:not(.btn) {
  color: #fff;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hrex-marketing-nav-cta {
  min-width: 112px;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

button.hrex-marketing-nav-cta {
  border: 0;
}

.hrex-marketing-nav-cta:hover,
.hrex-marketing-nav-cta:focus {
  background: #111827;
  color: #fff;
}

.hrex-marketing-main {
  width: 100%;
  margin: 0;
  padding: 0 0 44px;
  overflow-x: hidden;
}

.hrex-marketing-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px clamp(18px, 4vw, 52px);
  color: var(--hrex-muted);
  background: #fff;
}

.hrex-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--hrex-ink);
}

.hrex-footer-brand .hrex-logo {
  width: 34px;
  height: 34px;
  font-size: .7rem;
}

.hrex-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 13px;
  border: 1px solid rgba(58, 87, 232, .16);
  border-radius: 999px;
  background: #eef2ff;
  color: var(--hrex-brand);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hrex-nex-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: 100vh;
  padding: clamp(120px, 13vw, 170px) clamp(18px, 7vw, 110px) clamp(70px, 8vw, 120px);
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 54%, rgba(9, 53, 140, .72) 0 12%, transparent 13%),
    linear-gradient(126deg, rgba(255, 255, 255, .18) 0 7%, transparent 7% 27%, rgba(255, 255, 255, .12) 27% 34%, transparent 34% 54%, rgba(255, 255, 255, .16) 54% 62%, transparent 62%),
    linear-gradient(135deg, #0b6fd3 0%, #2497d3 48%, #0b4fb8 100%);
  color: #fff;
}

.hrex-nex-hero::after {
  content: "";
  position: absolute;
  right: -8vw;
  bottom: -16vw;
  width: 42vw;
  max-width: 680px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(2, 42, 116, .55);
  pointer-events: none;
}

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

.hrex-nex-hero-copy h1 {
  max-width: 760px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(3rem, 5.2vw, 5.4rem);
  line-height: .95;
  font-weight: 900;
}

.hrex-nex-hero-copy p {
  max-width: 620px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, .88);
  font-size: 1.15rem;
  line-height: 1.7;
}

.hrex-nex-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hrex-nex-rating {
  display: grid;
  gap: 4px;
  margin-top: 34px;
  color: rgba(255, 255, 255, .72);
}

.hrex-nex-rating strong {
  color: #fff;
}

.hrex-nex-hero .hrex-pill {
  border-color: rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .16);
  color: #fff;
}

.hrex-nex-hero .btn-outline-primary {
  border-color: rgba(255, 255, 255, .75);
  color: #fff;
}

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

.hrex-nex-preview {
  position: relative;
  min-height: 560px;
}

.hrex-preview-card {
  border: 1px solid var(--hrex-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 24px 70px rgba(17, 38, 146, .12);
}

.hrex-preview-main {
  position: absolute;
  inset: 38px 0 20px 36px;
  padding: 20px;
}

.hrex-preview-toolbar {
  display: flex;
  gap: 7px;
  margin-bottom: 18px;
}

.hrex-preview-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c7d2fe;
}

.hrex-preview-header,
.hrex-preview-list div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.hrex-preview-header {
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, #1d4ed8, #3a57e8);
  color: #fff;
}

.hrex-preview-header small,
.hrex-preview-header strong {
  display: block;
}

.hrex-preview-header small {
  color: rgba(255, 255, 255, .74);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hrex-preview-header strong {
  margin-top: 4px;
  font-size: 1.35rem;
}

.hrex-preview-header em {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  font-style: normal;
  font-weight: 800;
}

.hrex-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.hrex-preview-grid div {
  min-height: 112px;
  padding: 18px;
  border-radius: 16px;
  background: #f8fafc;
}

.hrex-preview-grid span,
.hrex-preview-grid strong,
.hrex-preview-list span,
.hrex-preview-list strong,
.hrex-preview-float span,
.hrex-preview-float strong,
.hrex-preview-float small {
  display: block;
}

.hrex-preview-grid span,
.hrex-preview-list span,
.hrex-preview-float span,
.hrex-preview-float small {
  color: var(--hrex-muted);
  font-size: .76rem;
  font-weight: 700;
}

.hrex-preview-grid strong {
  margin-top: 12px;
  color: #10172a;
  font-size: 1.6rem;
}

.hrex-preview-list {
  display: grid;
  gap: 12px;
}

.hrex-preview-list div {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 14px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 10px 28px rgba(17, 38, 146, .08);
}

.hrex-preview-list strong {
  color: #2547d0;
}

.hrex-preview-float {
  position: absolute;
  width: 250px;
  padding: 18px;
}

.hrex-preview-float strong {
  margin: 8px 0 4px;
  color: #10172a;
  font-size: 1.05rem;
}

.hrex-preview-float-one {
  top: 0;
  left: 0;
}

.hrex-preview-float-two {
  right: 0;
  bottom: 0;
}

.hrex-logo-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  width: min(1220px, calc(100% - 36px));
  margin: 36px auto 44px;
  padding: 18px;
  border: 1px solid var(--hrex-line);
  border-radius: 20px;
  background: #fff;
}

.hrex-logo-strip span {
  display: grid;
  min-height: 58px;
  place-items: center;
  border-radius: 14px;
  background: #f8fafc;
  color: var(--hrex-muted);
  font-weight: 800;
}

.hrex-impact-section,
.hrex-included-section {
  display: grid;
  width: min(1220px, calc(100% - 36px));
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: start;
  margin: 44px auto;
}

.hrex-impact-section h2,
.hrex-section-heading h2,
.hrex-included-section h2 {
  margin: 0 0 12px;
  color: #10172a;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.05;
  font-weight: 900;
}

.hrex-impact-section p,
.hrex-section-heading p {
  max-width: 720px;
  color: var(--hrex-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.hrex-impact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hrex-impact-grid div {
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--hrex-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(17, 38, 146, .08);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.hrex-impact-grid strong,
.hrex-impact-grid span {
  display: block;
}

.hrex-impact-grid strong {
  color: var(--hrex-brand);
  font-size: 2.35rem;
  line-height: 1;
}

.hrex-impact-grid span {
  margin-top: 14px;
  color: var(--hrex-muted);
  font-weight: 700;
}

.hrex-impact-grid div:hover,
.hrex-nex-feature-grid article:hover,
.hrex-step-grid article:hover,
.hrex-nex-pricing-grid article:hover,
.hrex-included-section > div:hover {
  transform: translateY(-4px) scale(1.015);
  border-color: rgba(58, 87, 232, .28);
  box-shadow: 0 26px 70px rgba(17, 38, 146, .12);
}

.hrex-section-heading {
  max-width: 840px;
  margin-bottom: 24px;
}

.hrex-features-section,
.hrex-steps-section,
.hrex-nex-pricing-section {
  width: min(1220px, calc(100% - 36px));
  margin: 56px auto;
}

.hrex-nex-feature-grid,
.hrex-step-grid,
.hrex-nex-pricing-grid {
  display: grid;
  gap: 16px;
}

.hrex-nex-feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.hrex-nex-pricing-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hrex-nex-feature-grid article,
.hrex-step-grid article,
.hrex-nex-pricing-grid article,
.hrex-included-section > div {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--hrex-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(17, 38, 146, .07);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.hrex-feature-shot {
  display: grid;
  min-height: 132px;
  gap: 10px;
  margin-bottom: 20px;
  padding: 16px;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, #eef2ff, #f8fafc);
}

.hrex-feature-shot span {
  display: block;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(17, 38, 146, .08);
}

.hrex-feature-shot span:nth-child(1) {
  width: 54%;
  height: 18px;
  background: #3a57e8;
}

.hrex-feature-shot span:nth-child(2) {
  width: 84%;
  height: 34px;
}

.hrex-feature-shot span:nth-child(3) {
  width: 68%;
  height: 34px;
}

.hrex-feature-shot-employment {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hrex-feature-shot-employment span:nth-child(1) {
  grid-column: 1 / -1;
}

.hrex-feature-shot-requests span:nth-child(1) {
  background: #f97316;
}

.hrex-feature-shot-payroll span:nth-child(1) {
  background: #079aa2;
}

.hrex-feature-shot-selfservice {
  background: linear-gradient(135deg, #f0fdfa, #eef2ff);
}

.hrex-feature-shot-platform {
  background: linear-gradient(135deg, #f8fafc, #eef2ff);
}

.hrex-feature-dot {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 14px;
  background: #eef2ff;
}

.hrex-feature-dot::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--hrex-brand);
}

.hrex-nex-feature-grid h3,
.hrex-step-grid h3,
.hrex-nex-pricing-grid h3 {
  margin: 0 0 10px;
  color: #10172a;
  font-size: 1.18rem;
  font-weight: 850;
}

.hrex-nex-feature-grid p,
.hrex-step-grid p,
.hrex-nex-pricing-grid p {
  color: var(--hrex-muted);
  line-height: 1.65;
}

.hrex-step-grid article > span,
.hrex-nex-pricing-grid article > span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: var(--hrex-brand);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hrex-nex-pricing-grid article {
  display: flex;
  flex-direction: column;
}

.hrex-nex-pricing-grid article.is-featured {
  border-color: rgba(58, 87, 232, .35);
  box-shadow: 0 26px 70px rgba(58, 87, 232, .16);
}

.hrex-nex-pricing-grid article > strong {
  display: block;
  margin-bottom: 14px;
  color: var(--hrex-brand);
  font-size: 2rem;
  line-height: 1;
}

.hrex-nex-pricing-grid article > strong small {
  color: var(--hrex-muted);
  font-size: .82rem;
}

.hrex-nex-pricing-grid ul {
  margin: 0 0 18px;
  padding-left: 18px;
  color: var(--hrex-ink);
}

.hrex-nex-pricing-grid li {
  margin-bottom: 7px;
}

.hrex-nex-pricing-grid .btn {
  margin-top: auto;
}

.hrex-contact-card {
  width: min(1220px, calc(100% - 36px));
  margin: 0 auto;
  border-radius: 20px;
}

.hrex-contact-helper {
  max-width: 620px;
  margin-top: 4px;
  color: var(--hrex-muted);
  font-size: .95rem;
  line-height: 1.35;
}

.hrex-included-section h2 {
  font-size: clamp(1.85rem, 3vw, 3rem);
}

.hrex-included-single {
  grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 1199.98px) {
  .hrex-marketing-nav {
    padding-inline: 18px;
  }

  .hrex-marketing-nav nav {
    gap: 10px;
  }

  .hrex-marketing-nav nav a:not(.btn),
  .hrex-marketing-nav-cta {
    font-size: .68rem;
    letter-spacing: .04em;
  }

  .hrex-marketing-nav-cta {
    min-width: 92px;
  }

  .hrex-nex-hero,
  .hrex-impact-section,
  .hrex-included-section {
    grid-template-columns: 1fr;
  }

  .hrex-nex-preview {
    min-height: 500px;
  }

  .hrex-nex-pricing-grid,
  .hrex-nex-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .hrex-marketing-nav {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    min-height: 76px;
    background: rgba(12, 85, 185, .9);
    backdrop-filter: blur(14px);
  }

  .hrex-marketing-menu-toggle {
    display: inline-flex;
  }

  .hrex-marketing-nav nav {
    grid-column: 1 / -1;
    display: none;
    width: 100%;
    padding: 12px 0 4px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  body.hrex-marketing.mobile-menu-open .hrex-marketing-nav nav {
    display: flex;
  }

  .hrex-marketing-nav nav a:not(.btn),
  .hrex-marketing-nav-cta,
  .hrex-marketing-logout-form {
    display: flex;
    width: 100%;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
  }

  .hrex-marketing-logout-form .hrex-marketing-nav-cta {
    width: 100%;
  }

  .hrex-marketing-nav nav a:not(.btn) {
    background: rgba(255, 255, 255, .08);
  }

  .hrex-nex-hero {
    box-sizing: border-box;
    min-height: auto;
    width: 100%;
    padding: 116px 24px 54px;
  }

  .hrex-nex-hero *,
  .hrex-marketing-nav *,
  .hrex-marketing-main * {
    min-width: 0;
  }

  .hrex-nex-hero-copy h1 {
    max-width: 100%;
    font-size: 3.15rem;
    line-height: 1.04;
  }

  .hrex-nex-hero-copy p {
    max-width: 100%;
    font-size: 1.05rem;
  }

  .hrex-nex-preview {
    min-height: auto;
  }

  .hrex-preview-main,
  .hrex-preview-float {
    position: static;
  }

  .hrex-nex-preview {
    display: grid;
    gap: 14px;
  }

  .hrex-logo-strip,
  .hrex-impact-section,
  .hrex-features-section,
  .hrex-steps-section,
  .hrex-nex-pricing-section,
  .hrex-included-section,
  .hrex-contact-card,
  .hrex-trial-band {
    width: min(100% - 24px, 1220px);
  }

  .hrex-logo-strip,
  .hrex-impact-grid,
  .hrex-nex-feature-grid,
  .hrex-step-grid,
  .hrex-nex-pricing-grid {
    grid-template-columns: 1fr;
  }

  .hrex-marketing-main {
    width: 100%;
    padding-top: 0;
  }
}

@media (max-width: 420px) {
  .hrex-nex-hero {
    padding-inline: 18px;
  }

  .hrex-nex-hero-copy h1 {
    font-size: 2.65rem;
  }

  .hrex-nex-actions .btn {
    width: 100%;
  }
}

.hrex-auth-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 32px;
}

.hrex-auth-card {
  display: grid;
  width: min(1120px, 100%);
  min-height: 680px;
  grid-template-columns: minmax(420px, .9fr) minmax(360px, 1.1fr);
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(17, 38, 146, .12);
}

.hrex-auth-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px;
}

.hrex-auth-brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 12px;
  margin-bottom: 44px;
  color: var(--hrex-ink);
  font-size: 1.25rem;
}

.hrex-auth-heading {
  margin-bottom: 28px;
}

.hrex-auth-heading h1 {
  margin: 0 0 10px;
  font-size: 2.15rem;
  font-weight: 700;
}

.hrex-auth-heading p {
  max-width: 430px;
  margin: 0;
  color: var(--hrex-muted);
}

.hrex-auth-form {
  max-width: 460px;
}

.hrex-auth-form .form-group {
  margin-bottom: 18px;
}

.hrex-auth-form .form-control,
.hrex-auth-form .form-select {
  min-height: 46px;
}

.hrex-auth-switch {
  margin: 28px 0 0;
  color: var(--hrex-muted);
}

.hrex-auth-visual {
  position: relative;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 44px;
  background: #102a75;
  color: #fff;
}

.hrex-auth-visual::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background: linear-gradient(145deg, rgba(58, 87, 232, .96), rgba(7, 154, 162, .86));
}

.hrex-auth-visual img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .62;
}

.hrex-auth-visual div {
  position: relative;
  z-index: 1;
  max-width: 430px;
}

.hrex-auth-visual h2 {
  margin: 18px 0 0;
  color: #fff;
  font-size: 2rem;
  line-height: 1.2;
}

.hrex-payment-receipt-card {
  grid-template-columns: minmax(520px, 1.05fr) minmax(340px, .95fr);
}

.hrex-payment-receipt-panel {
  justify-content: flex-start;
  padding: 48px 56px;
}

.hrex-payment-receipt-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.hrex-payment-receipt-header h1 {
  margin: 6px 0 8px;
  font-size: 2rem;
}

.hrex-payment-receipt-header p {
  max-width: 500px;
  margin: 0;
  color: var(--hrex-muted);
}

.hrex-receipt-paper {
  padding: 24px;
  border: 1px solid var(--hrex-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(17, 38, 146, .08);
}

.hrex-receipt-topline,
.hrex-receipt-parties,
.hrex-receipt-line,
.hrex-receipt-totals > div,
.hrex-receipt-gateway > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.hrex-receipt-topline {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hrex-line);
}

.hrex-receipt-parties {
  padding: 20px 0;
  border-bottom: 1px solid var(--hrex-line);
}

.hrex-receipt-line {
  padding: 20px 0;
  border-bottom: 1px solid var(--hrex-line);
}

.hrex-receipt-paper span,
.hrex-receipt-gateway span {
  display: block;
  margin-bottom: 4px;
  color: var(--hrex-muted);
  font-size: .76rem;
  font-weight: 750;
  text-transform: uppercase;
}

.hrex-receipt-paper strong,
.hrex-receipt-gateway strong {
  color: var(--hrex-ink);
  overflow-wrap: anywhere;
}

.hrex-receipt-paper small {
  display: block;
  margin-top: 4px;
  color: var(--hrex-muted);
}

.hrex-receipt-totals {
  max-width: 340px;
  margin: 20px 0 0 auto;
}

.hrex-receipt-totals > div {
  padding: 7px 0;
}

.hrex-receipt-grand-total {
  margin-top: 8px;
  padding-top: 14px !important;
  border-top: 1px solid var(--hrex-line);
}

.hrex-receipt-grand-total strong {
  color: var(--hrex-primary);
  font-size: 1.35rem;
}

.hrex-receipt-gateway {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--hrex-line);
  border-radius: 10px;
  background: #f6f8fc;
}

.hrex-receipt-gateway > div + div {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(216, 222, 235, .9);
}

.hrex-payment-receipt-visual {
  background: #0c4aa6;
}

.hrex-payment-receipt-visual p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: 1rem;
}

.hrex-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1090;
  background: rgba(8, 15, 52, .34);
}

.hrex-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1100;
  box-sizing: border-box;
  width: min(560px, calc(100vw - 32px));
  max-width: 100%;
  height: 100vh;
  padding: 28px;
  padding-bottom: 56px;
  overflow-y: auto;
  overflow-x: hidden;
  background: #fff;
  box-shadow: -18px 0 42px rgba(8, 15, 52, .2);
  transform: translateX(105%);
  transition: transform .18s ease;
}

.hrex-drawer * {
  box-sizing: border-box;
  min-width: 0;
}

.hrex-drawer.is-open {
  transform: translateX(0);
}

.hrex-drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.hrex-drawer-section {
  padding-top: 8px;
}

.hrex-drawer-section .btn {
  white-space: normal;
}

.modal-content {
  border: 0;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(8, 15, 52, .2);
}

.hrex-feedback-modal .modal-dialog {
  max-width: min(540px, calc(100vw - 32px));
}

.hrex-feedback-modal .modal-content {
  overflow: hidden;
  border: 1px solid rgba(232, 237, 245, .95);
  border-radius: 10px;
  box-shadow: 0 26px 70px rgba(8, 15, 52, .24);
}

.hrex-feedback-modal .modal-header {
  min-height: 82px;
  padding: 22px 24px 18px;
  background: linear-gradient(180deg, #fff 0%, #f8faff 100%);
}

.hrex-feedback-modal .modal-title {
  color: var(--hrex-ink);
  font-size: 1.15rem;
  font-weight: 750;
}

.hrex-feedback-modal .modal-body {
  min-height: 88px;
  padding: 20px 24px;
  color: var(--hrex-ink);
  font-size: .98rem;
  line-height: 1.6;
}

.hrex-feedback-modal .modal-footer {
  padding: 16px 24px 22px;
  background: #fbfcff;
}

.hrex-feedback-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(58, 87, 232, .12);
  color: var(--hrex-primary);
  font-weight: 800;
}

.hrex-feedback-modal-success .hrex-feedback-icon {
  background: rgba(20, 136, 62, .13);
  color: #14883e;
}

.hrex-feedback-modal-warning .hrex-feedback-icon {
  background: rgba(184, 100, 0, .14);
  color: #b86400;
}

.hrex-feedback-modal-danger .hrex-feedback-icon {
  background: rgba(200, 50, 42, .13);
  color: #c8322a;
}

.modal {
  z-index: 1200;
}

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

.modal-header,
.modal-footer {
  border-color: var(--hrex-line);
}

.modal-footer {
  gap: 8px;
}

@media (max-width: 991.98px) {
  .navbar-inner {
    gap: 12px;
  }

  .search-input {
    max-width: min(100%, 320px);
  }

  .hrex-header {
    min-height: 165px;
  }

  .hrex-page-title {
    font-size: 1.75rem;
  }

  .hrex-setup-index {
    margin-top: 2.5rem;
  }

  .hrex-auth-card {
    grid-template-columns: 1fr;
  }

  .hrex-payment-receipt-card {
    grid-template-columns: 1fr;
  }

  .hrex-payment-receipt-panel {
    padding: 40px 34px;
  }

  .hrex-auth-visual {
    min-height: 260px;
  }
}

@media (max-width: 575.98px) {
  .card-header {
    align-items: flex-start;
  }

  .card-header .btn,
  .card-header .btn-group {
    width: 100%;
  }

  .hrex-table-tools {
    margin-right: 1rem;
    margin-left: 1rem;
  }

  .hrex-table th,
  .hrex-table td {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .hrex-setup-group {
    padding: 14px;
  }

  .hrex-setup-group > summary {
    gap: 12px;
  }

  .hrex-setup-icon {
    width: 36px;
    height: 36px;
  }

  .hrex-drawer {
    width: calc(100vw - 12px);
    padding: 22px 18px 42px;
  }

  .hrex-auth-page {
    padding: 0;
  }

  .hrex-auth-card {
    min-height: 100vh;
    border-radius: 0;
  }

  .hrex-auth-panel {
    padding: 34px 22px;
  }

  .hrex-auth-heading h1 {
    font-size: 1.8rem;
  }

  .hrex-payment-receipt-header,
  .hrex-receipt-topline,
  .hrex-receipt-parties,
  .hrex-receipt-line,
  .hrex-receipt-totals > div,
  .hrex-receipt-gateway > div {
    flex-direction: column;
    gap: 8px;
  }

  .hrex-payment-receipt-panel {
    padding: 34px 22px;
  }

  .hrex-receipt-paper {
    padding: 18px;
  }

  .hrex-receipt-totals {
    max-width: none;
  }

  .hrex-auth-visual {
    display: none;
  }

  .hrex-marketing-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
