/*
  Josh's Custom CSS Reset
  https://www.joshwcomeau.com/css/custom-css-reset/
*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  /* background-color: color-mix(in srgb, var(--header-color) 8%, #ffffff); */
  background-image:
    radial-gradient(73% 147% at center, #f4f2ee 100%), radial-gradient(91% 146% at center, rgba(255, 255, 255, 0.5) 47%, rgba(0, 0, 0, 0.5) 100%);
  color: var(--color-black) !important;
}

:root {
  --toastify-z-index: 9999999999 !important;
}

.font-family-primary,
.font-family-secondary,
body * {
  font-family: 'Sora', sans-serif !important;
}

input,
button,
textarea,
select {
  font: inherit;
}

button,
input[type='button'],
input[type='submit'],
input[type='reset'] {
  outline: none !important;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  margin-bottom: 0.1rem !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.rubic-font,
.bx--modal-header__heading,
.bx--type-alpha,
.bx--type-beta,
.bx--type-caps,
.bx--type-caption,
.bx--type-delta,
.bx--type-epsilon,
.bx--type-gamma,
.bx--type-giga,
.bx--type-strong,
.bx--type-zeta,
.bx--type-zeta-min,
.font-weight-bold * {
  font-family: 'Sora', sans-serif !important;
}

#root,
#__next {
  isolation: isolate;
}

/* Customize Scrollbar */
::-webkit-scrollbar-track {
  background-color: transparent;
  border-radius: 6px;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2) !important;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.35) !important;
}

.bx--tile,
.sui-layout .sui-layout-body {
  margin: 1px 1px;
  box-shadow: var(--tiles-box-shadow) !important;
  /* padding-bottom: 2rem !important; */
}

.sui-layout .sui-layout-body::after {
  display: none !important;
}

.talentPoollist-innerLayout-container .sui-layout-body {
  box-shadow: none !important;
}

.subitems-card {
  border-bottom-left-radius: var(--default-border-radius) !important;
  border-bottom-right-radius: var(--default-border-radius) !important;
}

.bx--tile,
.sui-layout,
.sui-layout .sui-layout-body,
.sui-layout .sui-layout-body .sui-layout-body::after {
  border-radius: var(--default-border-radius) !important;
}

.bx--btn,
.btn {
  border-radius: var(--btn-border-radius) !important;
  cursor: pointer !important;
  transition:
    color 0.15s ease-in-out,
    background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out,
    -webkit-box-shadow 0.15s ease-in-out;
}

/* White text belongs only to solid color-filled variants, not every button */
.bx--btn--primary,
.btn-primary,
.bx--btn--danger,
.btn-danger {
  color: #ffffff !important;
}

.bx--btn-excl-color,
.btn-excl-color {
  border-radius: var(--btn-border-radius) !important;
  cursor: pointer !important;
  transition:
    color 0.15s ease-in-out,
    background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out,
    -webkit-box-shadow 0.15s ease-in-out;
}

.bx--btn {
  min-height: 40px;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-family-base);
  letter-spacing: 0;
  border-radius: var(--btn-border-radius);
}

/* Symmetric padding — legacy Carbon reserved 36-60px on the right for its
   absolutely-positioned icon; flow the icon inline instead */
.bx--btn:not(.bx--btn--icon-only) {
  padding: 6px 14px !important;
}

.bx--btn--sm:not(.bx--btn--icon-only) {
  min-height: 32px;
  padding: 4px 12px !important;
  font-size: 13px;
}

/* Primary carries slightly heavier weight and a soft indigo-tinted shadow;
   hover darkens with an overlay so tenant-themed fills darken too */
.bx--btn--primary,
.btn-primary {
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(44, 45, 150, 0.18);
}

.bx--btn--primary:hover,
.btn-primary:hover {
  background-image: linear-gradient(rgba(16, 24, 40, 0.08), rgba(16, 24, 40, 0.08));
}

.bx--btn--secondary:hover,
.bx--btn--tertiary:hover,
.btn-secondary:hover {
  background-color: var(--bg-hover, #f5f7fb) !important;
  border-color: var(--border-focused, #d8dde7) !important;
}

.bx--btn:not(.bx--btn--icon-only) .bx--btn__icon {
  position: static !important;
  margin-inline-start: 8px;
  flex-shrink: 0;
}

.bx--btn:focus {
  outline: none;
  box-shadow: var(--focus-ring);
}

.bx--btn--primary,
.btn-primary {
  background-color: var(--primary-strong) !important;
}

.bx--btn--secondary,
.btn-secondary {
  background-color: var(--surface) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border-color) !important;
}

.bx--btn--tertiary,
.btn-tertirary {
  background-color: var(--surface) !important;
  border: 1px solid var(--border-color) !important;
  color: var(--text-primary) !important;
}

.bx--btn--ghost,
.bx--btn--outline {
  color: var(--color-black) !important;
}

.btn-outline-primary {
  color: var(--color-black) !important;
}

.bx--btn--outline--primary {
  border: 1px solid !important;
  border-color: var(--primary-color) !important;
  color: var(--color-black) !important;
}

.bx--btn--outline--secondary {
  background-color: transparent !important;
  border-color: var(--secondary-color) !important;
  color: var(--color-black) !important;
}

.bx--btn--outline--tertiary {
  background-color: transparent !important;
  border-color: var(--tertiary-color) !important;
  color: var(--color-black) !important;
}

.bx--btn--tertiary:hover,
.bx--btn--tertiary:focus {
  background-color: var(--bg-hover, #f5f7fb) !important;
  color: var(--text-primary) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.bx--btn--outline--primary:hover,
.bx--btn--outline--primary:focus {
  background-color: var(--primary-strong) !important;
  color: white !important;
}

.bx--btn--outline--secondary:hover,
.bx--btn--outline--secondary:focus {
  background-color: var(--bg-hover, #f5f7fb) !important;
  color: var(--text-primary) !important;
}

.bx--btn--outline--tertiary:hover,
.bx--btn--outline--tertiary:focus {
  background-color: var(--bg-hover, #f5f7fb) !important;
  color: var(--text-primary) !important;
}

.bx--btn--danger,
.bx--btn--danger:hover,
.bx--btn--danger:focus {
  background-color: var(--danger-color) !important;
}

.bx--btn.bx--btn--icon-only.bx--tooltip__trigger[disabled] svg,
.bx--btn.bx--btn--icon-only.bx--tooltip__trigger[disabled]:hover svg,
.bx--btn.bx--btn--icon-only.bx--tooltip__trigger[disabled]:focus svg {
  fill: #525252;
}

.bx--modal-footer .bx--btn {
  border-radius: var(--btn-border-radius) !important;
}

.bx-xpa-link {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.125rem;
  letter-spacing: 0.16px;
  color: var(--link-color);
  outline: none;
  -webkit-transition: 70ms cubic-bezier(0.2, 0, 0.38, 0.9);
  transition: 70ms cubic-bezier(0.2, 0, 0.38, 0.9);
  cursor: pointer !important;
}

a,
.xpa-link {
  color: var(--link-color);
  cursor: pointer !important;
  text-decoration: none !important;
}

.rowgap-0 {
  row-gap: 0 !important;
}

.rowgap-1 {
  row-gap: calc(var(--spacer) * 0.25rem / 16) !important;
}

.rowgap-2 {
  row-gap: calc(var(--spacer) * 0.5rem / 16) !important;
}

.rowgap-3 {
  row-gap: calc(var(--spacer) * 1rem / 16) !important;
}

.rowgap-4 {
  row-gap: calc(var(--spacer) * 1.5rem / 16) !important;
}

.rowgap-5 {
  row-gap: calc(var(--spacer) * 3rem / 16) !important;
}

.rowgap-6 {
  column-gap: calc(var(--spacer) * 6rem / 16) !important;
}

.rowgap-7 {
  column-gap: calc(var(--spacer) * 12rem / 16) !important;
}

.rowgap-8 {
  column-gap: calc(var(--spacer) * 24rem / 16) !important;
}

.colgap-0 {
  column-gap: 0 !important;
}

.colgap-1 {
  column-gap: calc(var(--spacer) * 0.25rem / 16) !important;
}

.colgap-2 {
  column-gap: calc(var(--spacer) * 0.5rem / 16) !important;
}

.colgap-3 {
  column-gap: calc(var(--spacer) * 1rem / 16) !important;
}

.colgap-4 {
  column-gap: calc(var(--spacer) * 1.5rem / 16) !important;
}

.colgap-5 {
  column-gap: calc(var(--spacer) * 3rem / 16) !important;
}

.colgap-6 {
  column-gap: calc(var(--spacer) * 6rem / 16) !important;
}

.colgap-7 {
  column-gap: calc(var(--spacer) * 12rem / 16) !important;
}

.colgap-8 {
  column-gap: calc(var(--spacer) * 24rem / 16) !important;
}

.gap-0 {
  gap: 0 !important;
}

.gap-1 {
  gap: calc(var(--spacer) * 0.25rem / 16) !important;
}

.gap-2 {
  gap: calc(var(--spacer) * 0.5rem / 16) !important;
}

.gap-3 {
  gap: calc(var(--spacer) * 1rem / 16) !important;
}

.gap-4 {
  gap: calc(var(--spacer) * 1.5rem / 16) !important;
}

.gap-5 {
  gap: calc(var(--spacer) * 3rem / 16) !important;
}

.gap-6 {
  column-gap: calc(var(--spacer) * 6rem / 16) !important;
}

.gap-7 {
  column-gap: calc(var(--spacer) * 12rem / 16) !important;
}

.gap-8 {
  column-gap: calc(var(--spacer) * 24rem / 16) !important;
}

.bx--header__nav::before {
  display: none !important;
}

.bx--header {
  background-color: var(--header-color, #ffffff) !important;
  border-bottom: 1px solid var(--divider-color, #e7e2dc) !important;
  padding: 0 0.75rem !important;
  height: 3rem !important;
  z-index: 8000 !important;
}

.bx--header-panel {
  position: fixed !important;
  top: 3rem !important;
  right: 0 !important;
  width: 220px !important;
  max-width: 90vw !important;
  height: auto !important;
  max-height: calc(100vh - 3.5rem) !important;
  background-color: #ffffff !important;
  border: 1px solid var(--border-color, #e7e2dc) !important;
  border-top: none !important;
  border-radius: 0 0 0 10px !important;
  box-shadow: 0 16px 36px rgba(16, 24, 40, 0.18) !important;
  z-index: 99999 !important;
  overflow-y: auto !important;
  color: var(--text-primary, #23201c) !important;
}

.bx--header-panel .bx--switcher {
  background-color: #ffffff !important;
  padding: 6px 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

.bx--header-panel .bx--switcher__item {
  height: 38px !important;
  display: flex !important;
  align-items: center !important;
}

.bx--header-panel .bx--switcher__item-link {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  height: 38px !important;
  padding: 0 16px !important;
  color: var(--text-primary, #23201c) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  background-color: transparent !important;
  transition: background-color 120ms ease-out, color 120ms ease-out !important;
  cursor: pointer !important;
}

.bx--header-panel .bx--switcher__item-link:hover,
.bx--header-panel .bx--switcher__item-link:focus {
  background-color: var(--bg-hover, #f2eee9) !important;
  color: #23201c !important;
}

.bx--header-panel .bx--switcher__item-link--selected,
.bx--header-panel .bx--switcher__item-link[aria-selected='true'] {
  background-color: var(--bg-active, #efe9e2) !important;
  font-weight: 600 !important;
  color: #23201c !important;
}

.bx--header a.bx--header__menu-item,
.bx--header .bx--header__name,
.bx--header .bx--header__menu-title {
  color: var(--header-fg) !important;
}

.bx--header .bx--header__action svg,
.bx--header .bx--header__menu-arrow,
.bx--header a.bx--header__menu-item svg {
  fill: var(--header-fg) !important;
}

/* Inactive nav items recede; opacity keeps this working on tenant dark headers too */
.bx--header a.bx--header__menu-item {
  opacity: 0.72;
}

.bx--header a.bx--header__menu-item:hover,
.bx--header a.bx--header__menu-item:focus {
  opacity: 1;
}

.bx--header a.bx--header__menu-item--current,
.bx--header a.bx--header__menu-item[aria-current='page'] {
  opacity: 1;
  font-weight: 600 !important;
  box-shadow: inset 0 -2px 0 var(--primary-color);
}

.bx--header__menu-bar .bx--header__menu-item {
  padding: 0 0.5rem !important;
  margin: 0 0.5rem !important;
}

.bx--header {
  box-shadow: none;
}

.main-wrapper {
  background-color: var(--platform-bg-color) !important;
  min-height: 100vh;
}

.ql-toolbar {
  display: block;
  background: #eaecec;
  border-top-left-radius: 0px !important;
  border-top-right-radius: 0px !important;
}

.ql-container {
  border-bottom-left-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
}

.css-1fhf3k1-control,
.css-yk16xz-control,
.css-1pahdxg-control,
[class*="-control"] {
  border-radius: var(--inputField-border-radius, 12px) !important;
  min-height: 44px !important;
}

.quill .ql-toolbar {
  border-top-left-radius: var(--inputField-border-radius) !important;
  border-top-right-radius: var(--inputField-border-radius) !important;
}

.quill .ql-container {
  border-bottom-left-radius: var(--inputField-border-radius) !important;
  border-bottom-right-radius: var(--inputField-border-radius) !important;
}

.quill:focus,
.quill:active,
.quill:focus-within {
  border-radius: var(--inputField-border-radius) !important;
  outline: 1px solid var(--border-focused);
  outline-offset: -1px;
  box-shadow: var(--focus-ring);
}

.quill .ql-container:active,
.quill .ql-container:focus,
.quill .ql-container:focus-within {
  outline: 1px solid var(--border-focused);
  outline-offset: -1px !important;
}

.quill.invalid-data {
  border-radius: var(--inputField-border-radius) !important;
  outline: 2px solid #da1e28;
  outline-offset: -2px;
}

.quill.invalid-data .ql-container {
  border-bottom-left-radius: var(--inputField-border-radius) !important;
  border-bottom-right-radius: var(--inputField-border-radius) !important;
  outline: 2px solid #da1e28;
  outline-offset: -2px !important;
}

.bx--text-input,
.bx--text-area,
.bx--select-input,
.bx--date-picker__input,
.bx--search-input,
.bx--number input,
select,
input[type="text"]:not([class*="select"]):not([class*="Input"]),
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="url"],
.recruiter-login .form-group input,
.react-datepicker-wrapper .react-datepicker__input-container input {
  border-radius: var(--inputField-border-radius, 12px) !important;
  border: 1px solid var(--input-border-color, #D8E0E2) !important;
  background-color: var(--surface, #ffffff) !important;
  min-height: 44px !important;
  height: 44px;
  font-size: 14px !important;
  color: #090B0C !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
  transition: border-color 150ms ease, box-shadow 150ms ease !important;
}

.dropdown .education.default > :first-child,
.dropdown .education > div:first-child,
.education > div:first-child,
.react-dropdown [class*="-control"],
.xpa-dp-wrap [class*="-control"],
.react-select__control,
.xpa-select__control,
.css-yk16xz-control,
.css-1fhf3k1-control,
.css-1pahdxg-control,
div[class*="-control"] {
  border-radius: var(--inputField-border-radius, 12px) !important;
  border: 1px solid var(--input-border-color, #D8E0E2) !important;
  background-color: var(--surface, #ffffff) !important;
  min-height: 44px !important;
  height: auto !important;
  font-size: 14px !important;
  color: #090B0C !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
  transition: border-color 150ms ease, box-shadow 150ms ease !important;
}

/* Reset internal react-select search input — prevents 44px box and text misalignment */
div[class*="-control"] input,
div[class*="-control"] input[type="text"],
.xpa-select__input,
.xpa-select__input-container input,
.react-select__input {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  height: auto !important;
  min-height: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  color: #090B0C !important;
  font-size: 14px !important;
  width: auto !important;
}

.bx--text-area {
  height: auto !important;
  min-height: 80px !important;
}

.bx--text-input::placeholder,
.bx--text-area::placeholder,
.bx--search-input::placeholder,
input::placeholder {
  color: var(--text-muted, #879095);
  font-size: 14px;
}

.bx--select-input:hover,
.bx--text-input:hover,
.bx--text-area:hover,
.bx--search-input:hover,
.bx--date-picker__input:hover,
select:hover,
input[type="text"]:not([class*="select"]):not([class*="Input"]):hover,
input[type="email"]:hover,
input[type="password"]:hover,
input[type="number"]:hover,
input[type="search"]:hover,
.dropdown .education.default > :first-child:hover,
.react-dropdown [class*="-control"]:hover,
.xpa-dp-wrap [class*="-control"]:hover,
.react-select__control:hover,
.xpa-select__control:hover,
div[class*="-control"]:hover {
  outline: none !important;
  border-color: #879095 !important;
}

.bx--text-input:focus,
.bx--text-area:focus,
.bx--select-input:focus,
.bx--select-input:active,
.bx--search-input:focus,
.bx--date-picker__input:focus,
select:focus,
input[type="text"]:not([class*="select"]):not([class*="Input"]):focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
.dropdown .education.default > :first-child:focus,
.dropdown .education.default > :first-child:active,
.react-dropdown [class*="-control"]:focus,
.react-dropdown [class*="-control"]:active,
.xpa-dp-wrap [class*="-control"]:focus,
.react-select__control:focus,
.react-select__control--is-focused,
.xpa-select__control:focus,
.xpa-select__control--is-focused,
.xpa-select__control:focus-within,
div[class*="-control"]:focus,
div[class*="-control--is-focused"] {
  outline: none !important;
  outline-offset: 0 !important;
  border-color: #090B0C !important;
  box-shadow: 0 0 0 3px rgba(9, 11, 12, 0.05) !important;
}

/* React-Select ValueContainer & text alignment — unified datefield style */
div[class*="-control"] [class*="-ValueContainer"],
div[class*="-control"] [class*="-value-container"],
.react-select__value-container,
.xpa-select__value-container {
  min-height: 42px !important;
  height: auto !important;
  padding: 0 14px !important;
}

/* React-Select placeholder */
div[class*="-control"] [class*="-placeholder"],
.react-select__placeholder,
.xpa-select__placeholder {
  color: #879095 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  white-space: nowrap !important;
}

/* React-Select single value */
div[class*="-control"] [class*="-singleValue"],
.react-select__single-value,
.xpa-select__single-value {
  color: #090B0C !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  white-space: nowrap !important;
}

/* React-Select indicators (chevron, clear) */
div[class*="-control"] [class*="-IndicatorsContainer"],
.react-select__indicators,
.xpa-select__indicators {
  min-height: 42px !important;
  display: flex !important;
  align-items: center !important;
}

div[class*="-control"] [class*="-indicatorSeparator"],
.react-select__indicator-separator,
.xpa-select__indicator-separator {
  background-color: #D8E0E2 !important;
  height: 18px !important;
  margin: auto 0 !important;
}

div[class*="-control"] [class*="-indicatorContainer"],
.react-select__indicator,
.xpa-select__indicator {
  color: #879095 !important;
  padding: 0 8px !important;
  cursor: pointer !important;
}

div[class*="-control"] [class*="-indicatorContainer"] svg,
.react-select__indicator svg,
.xpa-select__indicator svg {
  fill: #879095 !important;
  width: 18px !important;
  height: 18px !important;
  transition: fill 120ms ease-out !important;
}

div[class*="-control"] [class*="-indicatorContainer"]:hover svg,
.react-select__indicator:hover svg,
.xpa-select__indicator:hover svg {
  fill: #090B0C !important;
}

/* React-Select Multi-value tag badges */
div[class*="-control"] [class*="-multiValue"],
.react-select__multi-value,
.xpa-select__multi-value {
  background: #F2F7F7 !important;
  border: 1px solid #D8E0E2 !important;
  border-radius: 8px !important;
  margin: 2px !important;
  display: inline-flex !important;
  align-items: center !important;
}

div[class*="-control"] [class*="-multiValue"] [class*="-multiValue__label"],
.react-select__multi-value__label,
.xpa-select__multi-value__label {
  color: #090B0C !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  padding: 2px 6px !important;
}

div[class*="-control"] [class*="-multiValue"] [class*="-multiValue__remove"],
.react-select__multi-value__remove,
.xpa-select__multi-value__remove {
  color: #879095 !important;
  border-radius: 0 8px 8px 0 !important;
  cursor: pointer !important;
}

div[class*="-control"] [class*="-multiValue"] [class*="-multiValue__remove"]:hover,
.react-select__multi-value__remove:hover,
.xpa-select__multi-value__remove:hover {
  background: #FFDCD4 !important;
  color: #D95B3A !important;
}

/* React-Select dropdown menu */
div[class*="-menu"],
.react-select__menu,
.xpa-select__menu {
  background: #ffffff !important;
  border: 1px solid #D8E0E2 !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
  margin-top: 4px !important;
  overflow: hidden !important;
  z-index: 9999 !important;
}

div[class*="-menu"] [class*="-option"],
.react-select__option,
.xpa-select__option {
  font-size: 14px !important;
  color: #090B0C !important;
  padding: 10px 14px !important;
  cursor: pointer !important;
  transition: background-color 100ms ease-out !important;
}

div[class*="-menu"] [class*="-option--is-focused"],
.react-select__option--is-focused,
.xpa-select__option--is-focused {
  background-color: #F2F7F7 !important;
  color: #090B0C !important;
}

div[class*="-menu"] [class*="-option--is-selected"],
.react-select__option--is-selected,
.xpa-select__option--is-selected {
  background-color: #E4FBF0 !important;
  color: #0E7A4B !important;
  font-weight: 600 !important;
}

div[class*="-menu"] [class*="-option--is-selected"][class*="-option--is-focused"],
.react-select__option--is-selected.react-select__option--is-focused,
.xpa-select__option--is-selected.xpa-select__option--is-focused {
  background-color: #E4FBF0 !important;
  color: #0E7A4B !important;
  font-weight: 600 !important;
}

div[class*="-menu"] [class*="-option"]:active,
.react-select__option:active,
.xpa-select__option:active {
  background-color: #E4FBF0 !important;
  color: #0E7A4B !important;
}

.bx--select-input {
  min-width: 170px;
}

.rdw-editor-wrapper {
  outline: 1px solid var(--input-border-color) !important;
  border-radius: var(--inputField-border-radius) !important;
}

.rdw-editor-wrapper .rdw-editor-toolbar {
  color: var(--color-black) !important;
  background: #eaecec !important;
  border-bottom: 1px solid var(--input-border-color) !important;
}

.rdw-editor-wrapper .rdw-editor-toolbar .rdw-dropdown-wrapper,
.rdw-editor-wrapper .rdw-editor-toolbar .rdw-option-wrapper,
.rdw-editor-wrapper .rdw-editor-toolbar .rdw-image-wrapper {
  background: #eaecec !important;
  /* border: none !important; */
}

.rdw-editor-wrapper .DraftEditor-root {
  border: none !important;
}

.bx--text-input .invalid-data,
.bx--text-area .invalid-data,
.bx--select-input .invalid-data,
.css-yk16xz-control .invalid-data,
.bx--date-picker__input .invalid-data,
.bx--search-input .invalid-data,
.dropdown .education.invalid-data > :first-child,
.react-dropdown.invalid-data .css-yk16xz-control,
.react-dropdown.invalid-data .css-1fhf3k1-control {
  border: 2px solid #da1e28 !important;
}

.bx--text-input:disabled,
.bx--text-area:disabled,
.css-yk16xz-control:disabled,
.bx--search-input:disabled,
.dropdown .education.default > :first-child:disabled,
.bx--date-picker__input:disabled,
.xpa-date-container:disabled {
  background-color: #f4f4f4 !important;
}

.xpa-date-invalid {
  outline: 2px solid #da1e28;
  outline-offset: -2px;
}

.css-yk16xz-control > :first-child,
.css-1fhf3k1-control > :first-child,
.css-1pahdxg-control > :first-child {
  margin-left: 3px !important;
}

.css-1uccc91-singleValue,
.css-1wa3eu0-placeholder {
  margin-left: 4px !important;
}

.css-1pahdxg-control {
  box-shadow: 0 0 0 3px rgba(9, 11, 12, 0.05) !important;
  border: 1px solid #090B0C !important;
  border-radius: var(--inputField-border-radius, 12px) !important;
  outline: none !important;
}

.react-datepicker-wrapper .react-datepicker__input-container input {
  max-width: 180px;
  padding: 0 1rem;
  padding-left: 12px;
}

.react-datepicker-wrapper .react-datepicker__input-container input:focus,
.react-datepicker-wrapper .react-datepicker__input-container input:active {
  outline: none;
  border-color: var(--border-focused) !important;
  box-shadow: var(--focus-ring);
}

.react-datepicker__close-icon:after {
  background-color: #ffffff00 !important;
  color: #838383d1 !important;
  height: 25px !important;
  width: 25px !important;
  font-size: 21px !important;
  font-weight: 600;
}

.bx--modal-content:focus {
  outline: 0px solid #f3f4f5;
  outline-offset: -2px;
}

.bx--modal-close {
  border-radius: var(--btn-border-radius);
  margin: 0.1rem;
}

/* Compact right-aligned modal footer — replaces Carbon's full-width 4rem button slabs */
.bx--modal-footer {
  height: auto !important;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background-color: var(--surface) !important;
  border-top: 1px solid var(--divider-color);
  border-radius: 0 0 calc(var(--default-border-radius) - 1px) calc(var(--default-border-radius) - 1px);
}

.bx--modal-footer .bx--btn {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  height: 36px !important;
  min-height: 36px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: var(--btn-border-radius) !important;
}

.bx--modal-footer .bx--btn--secondary {
  background-color: var(--surface) !important;
}

.bx--modal-container {
  border: 1px solid var(--border-color);
  border-radius: var(--default-border-radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  background-color: var(--surface);
}

.bx--modal {
  background-color: rgba(38, 38, 38, 0.4);
}

.bx--modal-header__heading {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
}

.react-dropdown .css-1fhf3k1-control .css-1hb7zxy-IndicatorsContainer {
  display: none;
}

.react-dropdown .css-1fhf3k1-control .css-1wy0on6 {
  display: none;
}

.react-dropdown .css-107lb6w-singleValue {
  color: #5d5a5a;
  margin-left: 6px;
}

.react-dropdown .css-1wa3eu0-placeholder {
  max-width: 96%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cds--table-column-menu .kebab_styles {
  position: relative !important;
  margin: 0 !important;
}

.kebab_styles {
  position: absolute !important;
  margin: 1rem;
  top: 0 !important;
  right: 0 !important;
  z-index: 50 !important;
}

.bx--overflow-menu {
  border-radius: var(--kebabMenu-border-radius) !important;
  background-color: transparent !important;
}

.bx--overflow-menu:hover,
.bx--overflow-menu:focus {
  background-color: #f2f2f1 !important;
}

.bx--overflow-menu__icon {
  fill: #666 !important;
}

/* .cds--table-column-menu .bx--overflow-menu{
    background-color: #CACACB !important;
} */

/* .cds--table-column-menu .bx--overflow-menu .bx--overflow-menu__icon{
    fill: var(--input-border-color) !important;
} */

.dashboardCards_container .row {
  margin-left: -0.4rem !important;
  margin-right: -0.4rem !important;
}

.dashboardCards_container .row .col {
  padding-left: 0.4rem !important;
  padding-right: 0.4rem !important;
}

.xpa-circle--skeleton {
  border-radius: var(--default-border-radius) !important;
  color: white;
  align-items: center;
  justify-content: center;
  display: inline-block;
  font-size: 12px;
  font-size: 18px !important;
  font-weight: 300;
  width: 48px !important;
  height: 48px !important;
}

.bx--skeleton__text,
.bx--skeleton__text:before {
  border-radius: var(--inputField-border-radius) !important;
}

.bx--btn.bx--skeleton,
.bx--btn.bx--skeleton:before {
  border-radius: var(--btn-border-radius) !important;
}

.bx--modal {
  z-index: var(--z-index-modal) !important;
}

.bx--overflow-menu-options--open {
  z-index: 8000 !important;
}

.bx--overflow-menu-options,
.bx--list-box__menu {
  background-color: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--btn-border-radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.bx--overflow-menu-options__option:hover,
.bx--list-box__menu-item:hover {
  background-color: #f5f5f4;
}

.bx--list-box__menu-item--highlighted,
.bx--list-box__menu-item--active {
  background-color: var(--primary-soft);
}

.bx--assistive-text {
  background-color: var(--text-primary);
  border-radius: 6px;
  font-size: 12px;
}

.bx--tooltip {
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.bx--tag {
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  /* pills never wrap — in tight table cells the label used to break at
     spaces/hyphens and stack under the icon; the cell/table scrolls instead */
  white-space: nowrap;
}

.bx--tag--red {
  background-color: color-mix(in srgb, var(--accent-red) 12%, #ffffff);
  color: #b84343;
}

.bx--tag--green {
  background-color: color-mix(in srgb, var(--accent-green) 12%, #ffffff);
  color: #2f7d50;
}

.bx--tag--blue {
  background-color: color-mix(in srgb, var(--primary-color) 12%, #ffffff);
  color: var(--primary-strong);
}

.bx--tag--purple {
  background-color: color-mix(in srgb, var(--accent-purple) 12%, #ffffff);
  color: #6b4fd8;
}

.bx--tag--teal,
.bx--tag--cyan {
  background-color: color-mix(in srgb, #2a9d8f 12%, #ffffff);
  color: #1f7468;
}

.bx--tag--magenta {
  background-color: color-mix(in srgb, #c2417f 12%, #ffffff);
  color: #a33569;
}

.bx--tag--gray,
.bx--tag--cool-gray,
.bx--tag--warm-gray {
  background-color: #f1f1f0;
  color: var(--text-secondary);
}

.overflowMenuIcon {
  padding: 3px !important;
  background-color: #e5e5e5 !important;
  border-radius: var(--kebabMenu-border-radius) !important;
}

.xpa-global-header {
  padding: 5px 0 !important;
}

a.bx--header__menu-item:hover,
.bx--header__action:hover {
  background-color: rgba(140, 140, 140, 0.12) !important;
  border-radius: var(--btn-border-radius);
}

a.bx--header__menu-item:focus {
  border-radius: var(--btn-border-radius);
}

.tp-border {
  border-radius: var(--default-border-radius) !important;
}

.tp-stats-cards {
  background-color: aliceblue;
  text-align: center !important;
  justify-content: center;
  align-items: center;
  border-radius: var(--default-border-radius) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
  padding: 0.8rem 0 !important;
  font-size: 1rem !important;
}

/* Applicant status timeline inside the narrow contextual panel: stacked
   entries — icon + label on the first line, status as a small semantic
   pill beneath, indented to the label axis. Replaces the bootstrap
   row/col-lg-6 grid that was built for wide pages. */
.xpa-context-panel .row.align-items-center.pl-0 {
  display: flex !important;
  flex-direction: column;
  /* the markup's bootstrap align-items-center would center the pill
     horizontally in this column layout */
  align-items: flex-start !important;
  row-gap: 3px;
  margin: 0 0 12px !important;
  padding: 0;
}

.xpa-context-panel .row.align-items-center.pl-0 > .row.align-items-center {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  column-gap: 10px;
  width: 100%;
  max-width: none;
  min-width: 0;
  padding: 0;
  margin: 0;
}

.xpa-context-panel .row.align-items-center.pl-0 > .row.align-items-center > svg {
  flex: 0 0 auto;
  margin-top: 2px;
}

.xpa-context-panel .row.align-items-center.pl-0 > .row.align-items-center > div,
.xpa-context-panel .row.align-items-center.pl-0 > .row.align-items-center > span {
  min-width: 0;
  font-weight: 500;
}

/* Status pill under the entry, aligned to the label text axis
   (16px icon + 10px gap) */
.xpa-context-panel .row.align-items-center.pl-0 > div:last-child:not(.row) {
  display: inline-flex;
  align-items: center;
  margin: 0 !important;
  margin-inline-start: 26px !important;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  line-height: 16px;
}

.xpa-context-panel .row.align-items-center.pl-0 > div.text-success:last-child {
  background: var(--success-soft, #e9f8f1);
  color: var(--success-color, #159a6c) !important;
}

.xpa-context-panel .row.align-items-center.pl-0 > div.text-warning:last-child {
  background: var(--warning-soft, #fff5e7);
  color: var(--warning-color, #d97706) !important;
}

.xpa-context-panel .row.align-items-center.pl-0 > div.text-danger:last-child {
  background: var(--danger-soft, #fff0f1);
  color: var(--danger-color, #dc4d5a) !important;
}

/* Key-value summary rows (applicant card etc.): fixed label column so all
   values align on one axis; values truncate with ellipsis + title tooltip
   instead of overflowing the card */
.xpa-kv__row {
  display: flex;
  align-items: baseline;
  column-gap: 10px;
  min-width: 0;
}

.xpa-kv__label {
  flex: 0 0 100px;
  color: var(--text-secondary, #667085);
}

.xpa-kv__value {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-primary, #182230);
}

/* Top facet strip (status pills bar on list pages): keep a hint of
   elevation, but much softer than the original drop shadow */
.sections-top-view > .sui-layout > .sui-layout-body > .sui-layout-body__inner > .sui-layout-sidebar {
  box-shadow: 0 3px 8px rgba(16, 24, 40, 0.05) !important;
  filter: none !important;
}

/* Segmented control: quiet grouped switcher (e.g. table/list view toggle).
   Active option reads as a raised white chip; no primary fills. */
.xpa-seg-control {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--border-color, #e6e9ef);
  border-radius: 10px;
  background: var(--bg-muted, #f2f4f7);
}

.xpa-seg-control__option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  min-width: 38px;
  padding: 0 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-secondary, #667085);
  cursor: pointer;
  transition:
    background-color 120ms ease-out,
    color 120ms ease-out;
}

.xpa-seg-control__option svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.xpa-seg-control__option:hover,
.xpa-seg-control__option:focus {
  color: var(--text-primary, #182230);
  outline: none;
}

.xpa-seg-control__option--active {
  background: var(--surface, #ffffff);
  color: var(--text-primary, #182230);
  box-shadow: var(--shadow-sm, 0 1px 2px rgba(16, 24, 40, 0.04));
}

/* White surface chip on the cool canvas; base.css paints it #135589/#fff,
   which the old dark header color used to override */
.xpa-scroll-to-top {
  background: var(--surface, #ffffff);
  border: 1px solid var(--border-color, #e6e9ef);
  box-shadow: var(--shadow-md, 0 4px 12px rgba(16, 24, 40, 0.07));
  color: var(--text-secondary, #667085);
}

.xpa-scroll-to-top:hover {
  color: var(--text-primary, #182230);
  border-color: var(--border-focused, #d8dde7);
}

/* Media Queries */

@media (min-width: 640px) {
  /* style props go here */
}

@media (min-width: 768px) {
  .jobListTable .totalApps {
    width: fit-content !important;
    min-width: 2.5rem !important;
    height: auto !important;
    min-height: 2.5rem !important;
    /* margin: 0 auto !important; */
    padding: 0.25rem 0.75rem !important;
    font-family: var(--rubik-font-family) !important;
    font-weight: var(--default-font-weight) !important;
    font-size: 2rem !important;
    background-color: aliceblue !important;
    border-radius: var(--btn-border-radius) !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .sui-layout .sui-layout-body .sui-layout-sidebar {
    width: 18% !important;
    /* content floor — filter panels (e.g. self-sourcing) hold ~280-320px-wide
       inputs; without this the 18% box lets the main pane paint over them */
    min-width: 320px;
    padding: 1rem !important;
    background-color: white !important;
    -webkit-backdrop-filter: blur(var(--backdrop-blur-filter));
    backdrop-filter: blur(var(--backdrop-blur-filter)) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
  }

  .sui-layout .sui-layout-body .sui-layout-main {
    /* take the space left by the sidebar instead of a hard 100% that
       overlapped it (QA: self-sourcing table covered the Clear-all button) */
    width: auto !important;
    flex: 1 1 0%;
    min-width: 0;
    padding: 1rem !important;
    overflow: auto !important;
    background: white !important;
  }

  .sui-layout .sui-layout-body {
    background: none !important;
    overflow: hidden !important;
  }

  .sui-layout .sui-layout-header {
    border-bottom: none !important;
  }

  .sui-layout .sui-layout-body .sui-layout-body__inner {
    padding: 0 !important;
  }

  .sui-layout .sui-layout-body .sui-layout-main .sui-layout-main-body {
    overflow: hidden !important;
    height: 100% !important;
  }

  .rSelect_styles .react-dropdown {
    width: 25% !important;
  }

  .style_profileStats {
    width: 100% !important;
  }

  .custom-subLinks-container {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px !important;
    /* min 5rem but grow with content — fixed 5rem rows clipped long descriptions */
    grid-auto-rows: minmax(5rem, auto) !important;
  }
}

@media (min-width: 992px) {
  .language-magic-modal .bx--modal-container {
    position: fixed;
    top: 3rem;
    right: 0;
    width: 20rem;
    min-height: calc(100% - 3rem);
  }

  .ai-search .bx--modal-container {
    position: fixed;
    top: 3rem;
    right: 0;
    width: 20rem;
    min-height: calc(100% - 3rem);
  }
}

@media (max-width: 767px) {
  .contextPanel_icon {
    position: fixed !important;
    right: -20px;
    justify-content: start !important;
    top: 50%;
    background-color: var(--primary-strong) !important;
    padding-left: 5px !important;
    color: #f4f4f4 !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    cursor: pointer !important;
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
  }

  .mobile_tdClass {
    background-color: white !important;
    box-shadow: var(--tiles-box-shadow) !important;
  }

  .jobListTable .totalApps {
    width: fit-content !important;
    min-width: 1.5rem !important;
    height: auto !important;
    min-height: 1.5rem !important;
    /* margin: 0 auto !important; */
    padding: 0.15rem 0.5rem !important;
    font-family: var(--rubik-font-family) !important;
    font-weight: var(--default-font-weight) !important;
    font-size: 2rem !important;
    background-color: aliceblue !important;
    border-radius: var(--btn-border-radius) !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .cds--table-column-menu {
    display: none !important;
  }

  .rSelect_styles .dropdown {
    width: 75% !important;
  }

  .custom_tooltip_container .custom_tooltip_text {
    --scale: 0;
    position: absolute !important;
    background-color: #f5f5f9;
    height: auto !important;
    padding: 1rem;
    transform: translateX(-50%) translateY(-135%) scale(var(--scale));
    transition: transform 150ms ease 0s;
    transform-origin: bottom center;
    z-index: 9999999999 !important;
    border: 1px solid #dadde9 !important;
    border-radius: var(--btn-border-radius) !important;
  }

  .custom_tooltip_container .cvRelevance-tooltip {
    --scale: 0;
    min-width: 35rem !important;
    width: 35rem !important;
    transform: translateX(-132%) translateY(-132%) scale(var(--scale));
  }

  .custom_tooltip_container .prog-bar-tooltip {
    --scale: 0;
    transform: translateX(-50px) translateY(-215px) scale(var(--scale));
  }

  .custom_tooltip_container .overallScore {
    --scale: 0;
    min-width: 25rem !important;
    width: 25rem !important;
    transform: translateX(-48%) translateY(-145%) scale(var(--scale));
  }

  .custom_tooltip_container .loyalty {
    --scale: 0;
    min-width: 25rem !important;
    width: 25rem !important;
    transform: translateX(-48%) translateY(-132%) scale(var(--scale));
  }

  .custom_tooltip_container .performance {
    --scale: 0;
    min-width: 24rem !important;
    width: 24rem !important;
    transform: translateX(-47%) translateY(-129%) scale(var(--scale));
  }

  .custom_tooltip_container .cvRelevance-tooltip .react-sweet-progress .react-sweet-progress-line {
    width: 100% !important;
  }

  .custom_tooltip_container .custom_tooltip_text {
    --scale: 0;
    position: absolute !important;
    background-color: #f5f5f9;
    height: auto !important;
    padding: 1rem;
    transform: translateX(-5%) translateY(-135%) scale(var(--scale));
    transition: transform 150ms ease 0s;
    transform-origin: bottom center;
    z-index: 9999999999 !important;
    border: 1px solid #dadde9 !important;
    border-radius: var(--btn-border-radius) !important;
  }

  .custom_tooltip_container .cvRelevance-tooltip {
    --scale: 0;
    min-width: 15rem !important;
    width: 20rem !important;
    transform: translateX(-5%) translateY(-132%) scale(var(--scale));
  }

  .custom_tooltip_container .overallScore {
    --scale: 0;
    min-width: 15rem !important;
    width: 20rem !important;
    transform: translateX(-5%) translateY(-145%) scale(var(--scale));
  }

  .custom_tooltip_container .loyalty {
    --scale: 0;
    min-width: 15rem !important;
    width: 20rem !important;
    transform: translateX(-5%) translateY(-132%) scale(var(--scale));
  }

  .custom_tooltip_container .performance {
    --scale: 0;
    min-width: 15rem !important;
    width: 20rem !important;
    transform: translateX(-5%) translateY(-129%) scale(var(--scale));
  }

  .custom_tooltip_container .react-sweet-progress .react-sweet-progress-line {
    width: 100% !important;
  }

  .custom_tooltip_container .row .col {
    max-width: none !important;
    flex: 1 !important;
  }

  .custom_tooltip_container:hover .custom_tooltip_text,
  .custom_tooltip_container:hover .overallScore {
    --scale: 1 !important;
  }

  .aiscores_circles .bx--tooltip__trigger.bx--tooltip__trigger--definition {
    border: none !important;
  }

  .custom-subLinks-container {
    display: grid !important;
    grid-template-columns: repeat(1, 1fr);
    gap: 8px !important;
  }

  .candApplyJobFieldsGrid {
    grid-template-columns: 100% !important;
  }

  .candApplyJobFieldsGrid .candField {
    grid-column: inherit !important;
  }

  .jobPostingApplyGridContainer {
    grid-template-columns: 100% !important;
  }
}

@media (min-width: 992px) {
  /* contextual panel styles here */
  /* Single source of truth for the panel width: 24% of the space left of the
     app sidebar, floored at 344px so the AI-insights content never gets
     clipped when the expanded sidebar (240px) shrinks the available space.
     Defined on .xpa-app-body so it resolves against the same element that
     carries --xpa-sidebar-offset; the page beside the panel reads the same
     var via ContextualPanel.jsx PANEL_STYLES so the two keep tiling exactly. */
  .xpa-app-body {
    --xpa-context-panel-width: max(344px, calc(0.24 * (100vw - var(--xpa-sidebar-offset, 0px))));
    /* When the panel is open the page reclaims part of the main-content
       wrapper's right padding so content and panel sit close together.
       Measured empirically: the dead strip is ~32px, so reclaiming 16px
       leaves a ~16px gutter — raise/lower this to tighten/widen that gap. */
    --xpa-panel-page-gap-reclaim: 10px;
  }

  .page_haveContextPanel {
    transition: width 300ms ease 0s;
    will-change: width;
  }

  .xpa-context-panel {
    width: var(--xpa-context-panel-width, calc(0.22 * (100vw - var(--xpa-sidebar-offset, 0px)))) !important;
    transition: width 0.15s ease;
    position: fixed !important;
    top: 3.5rem !important;
    min-height: calc(100% - 62px) !important;
    max-height: calc(100% - 62px) !important;
    height: calc(100% - 62px) !important;
    margin: 0 5px 0 0;
    overflow: hidden !important;
    padding-bottom: 0 !important;
    /* flex column so children can fill remaining height */
    display: flex !important;
    flex-direction: column !important;
  }

  /* Active content wrapper stretches to fill the panel */
  .xpa-context-panel > .position-relative {
    flex: 1 !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .xpa-context-panel .xpa-context-panel_children {
    flex: 1 !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: auto !important;
    padding: 0.1rem 0.5rem 0 0.1rem !important;
    overflow-x: hidden !important;
  }

  .xpa-context-panel .xpa-context-panel_children .panel_profileBody .bx--tile {
    box-shadow: none !important;
  }


  .collapse-icon {
    background-color: var(--primary-strong) !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    color: #fff;
    cursor: pointer !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
  }

  .inactive-collapse-icon {
    position: fixed !important;
    top: 50% !important;
    right: -20px !important;
    justify-content: start !important;
  }

  .inactive-collapse-icon:hover {
    box-shadow: 0rem 0.4rem 2rem -0.1rem rgba(0, 0, 0, 0.7);
    transition:
      padding 0.5s,
      top 0.35s,
      box-shadow 0.4s;
  }

  .active-collapse-icon {
    background-color: var(--primary-strong) !important;
    color: #e5e5e5 !important;
    width: 40px !important;
    height: 40px !important;
  }

  .context-panel-container .bx--tile {
    min-width: 0 !important;
  }
}

@media screen and (min-width: 1280px) {
  /* style props go here */
  .custom-subLinks-container {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px !important;
    /* min 5rem but grow with content — fixed 5rem rows clipped long descriptions */
    grid-auto-rows: minmax(5rem, auto) !important;
  }
}

.prelogin_card {
  max-width: 375px !important;
}

.jobInfo-layout-container .sui-layout-header {
  border-bottom: none !important;
}

.react-sweet-progress {
  justify-content: start !important;
}

.applicant-score-card .react-sweet-progress-line {
  width: 100% !important;
}

.applicant-score-card .react-sweet-progress-symbol {
  width: auto !important;
}

/* .bx--tooltip__trigger.bx--tooltip__trigger--definition.bx--tooltip--top::before{
    border-top-color: whitesmoke !important;
} */

.xpa-tooltipDef {
  font-size: 12px !important;
}

.xpa-tooltipDef .bx--tooltip--definition .bx--assistive-text {
  background: whitesmoke !important;
  padding: 1.5rem !important;
  color: #000 !important;
}

.xpa-tooltipDef .tooltip__cvRelevance .bx--assistive-text,
.xpa-tooltipDef .tooltip__cvRelevance:hover .bx--assistive-text {
  min-width: 40rem !important;
  max-width: none !important;
}

.xpa-tooltipDef .tooltip__overallScore .bx--assistive-text,
.xpa-tooltipDef .tooltip__overallScore:hover .bx--assistive-text {
  min-width: 25rem !important;
  max-width: none !important;
}

.css-26l3qy-menu {
  z-index: 8000 !important;
}

.headerProfileContainer .profileAvatar,
.headerProfileContainer img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.headerProfileContainer .profile-sub-menu-wrap {
  position: absolute;
  top: 100%;
  right: 10%;
  min-width: 300px;
  max-width: 330px;
  max-height: 0px;
  overflow: hidden;
  margin: 10px;
  transition: max-height 0.5s;
  background: rgba(255, 255, 255, 0.38);
  border-radius: 2px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  -webkit-backdrop-filter: blur(var(--backdrop-blur-filter));
  backdrop-filter: blur(var(--backdrop-blur-filter));
}

.headerProfileContainer .profile-sub-menu-wrap {
  border-radius: var(--default-border-radius) !important;
}

.headerProfileContainer:hover .profile-sub-menu-wrap {
  max-height: 20rem;
}

.headerProfileContainer .profile-sub-menu-wrap hr {
  margin: 0 !important;
}

.headerProfileContainer .profile-sub-menu-wrap .user-info {
  padding: 1rem;
}

.headerProfileContainer .profile-sub-menu-wrap .profile-sub-menu {
  padding: 1rem;
  display: flex;
  justify-content: start;
  align-items: center;
  column-gap: 0.8rem;
}

.headerProfileContainer .profile-sub-menu-wrap .manage-profile {
  color: inherit !important;
}

.headerProfileContainer .profile-sub-menu-wrap .profile-sub-menu:hover {
  background: rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.bx--header-panel .bx--switcher__item-link:hover {
  color: var(--header-fg) !important;
  background: rgba(140, 140, 140, 0.12) !important;
}

.bx--table-toolbar .bx--toolbar-content,
.bx--toolbar-content {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Toolbar variant of the search field: 38px pill
   clean white fill, hairline border, subtle dark focus ring */
.bx--table-toolbar .bx--search-input {
  height: 38px !important;
  border-radius: 10px !important;
  background-color: #ffffff !important;
  border: 1px solid #D8E0E2 !important;
  font-size: 13px !important;
  color: #090B0C !important;
  opacity: 1 !important;
  visibility: visible !important;
  padding: 0 36px 0 38px !important;
  padding-left: 38px !important;
  padding-right: 36px !important;
  transition: border-color 150ms ease, box-shadow 150ms ease !important;
}

.bx--table-toolbar .bx--search-magnifier {
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 12px !important;
  right: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 16px !important;
  height: 100% !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

.bx--table-toolbar .bx--search-magnifier svg,
.bx--table-toolbar .bx--search-magnifier-icon {
  position: static !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  width: 16px !important;
  height: 16px !important;
  flex: 0 0 16px !important;
  fill: #879095 !important;
  margin: 0 !important;
}

.bx--table-toolbar .bx--search-input:hover {
  border-color: #879095 !important;
}

.bx--table-toolbar .bx--search-input:focus {
  border-color: #090B0C !important;
  box-shadow: 0 0 0 3px rgba(9, 11, 12, 0.06) !important;
  outline: none !important;
}

.bx--table-toolbar .bx--search .bx--search-close {
  height: 38px;
  width: 38px;
  border-radius: 10px;
}

.bx--table-toolbar,
section.bx--table-toolbar,
.xpa-app-body--with-sidebar section.bx--table-toolbar,
.xpa-app-body--with-sidebar .bx--table-toolbar {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 64px !important;
  height: auto !important;
  padding: 14px 24px !important;
  gap: 16px !important;
  background-color: var(--surface, #ffffff) !important;
  border-bottom: 1px solid rgba(20, 30, 35, 0.06) !important;
  box-sizing: border-box !important;
}

.bx--data-table td,
.bx--data-table tbody th {
  padding-top: 16px;
  padding-bottom: 16px;
  color: var(--text-primary);
  vertical-align: middle;
  transition: background-color 180ms ease;
}

.bx--data-table td {
  padding-inline: 20px;
}

/* Data workspace card: the table lives inside one elevated rounded
   container instead of sitting flat on the page */
.bx--data-table-container {
  /* overflow-x: auto, NOT hidden — hidden amputated wide tables' right edge;
     a scroll container still clips to the 20px radius */
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(20, 20, 20, 0.04);
}

/* Tinted header with quiet uppercase labels for stronger hierarchy */
.bx--data-table thead th {
  height: 56px;
  padding-inline: 20px;
  background-color: var(--bg-subtle) !important;
  border-bottom: 1px solid var(--border-color);
}

.bx--data-table thead th .bx--table-sort {
  background-color: transparent !important;
}

.bx--data-table thead th,
.bx--data-table thead th .bx--table-header-label {
  color: #7a746d !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.bx--data-table tbody tr td {
  border-top: none;
  border-bottom: 1px solid var(--divider-color);
}

/* Row hover: barely-there warm lift */
.bx--data-table tbody tr:hover td {
  background-color: #fcfbf9 !important;
}

.applyCustomChartCSS {
  width: 100% !important;
  min-height: 385px !important;
}

.cursor-default {
  cursor: default !important;
}

.no-body-tile .sui-layout-body {
  box-shadow: none !important;
}

.bx--select-input__wrapper[data-invalid] {
  outline: none !important;
  outline-offset: 0 !important;
}

.bx--tooltip__trigger.bx--tooltip__trigger--definition {
  border-bottom: none !important;
}

.bx--switcher .bx--switcher__item .bx--switcher__item-link {
  color: #29262b !important;
  border-radius: var(--btn-border-radius);
}

.bx--switcher .lang-active .bx--switcher__item-link,
.bx--switcher .lang-active .bx--switcher__item-link:hover {
  color: whitesmoke !important;
  background: var(--primary-strong) !important;
}

.bx--switcher .lang-inactive .bx--switcher__item-link:hover {
  color: #0e0e0e !important;
  background: rgba(10, 10, 10, 0.1) !important;
}

/* v2 search field (global): white surface, hairline border, quiet icons.
   Focus treatment (indigo ring + border) comes from the shared input rules. */
.bx--search-input {
  height: 40px;
  background-color: var(--surface, #ffffff) !important;
  color: var(--text-primary, #182230);
  font-size: 14px;
  transition:
    border-color 120ms ease-out,
    box-shadow 120ms ease-out;
}

.bx--search-input:hover:not(:focus):not(:disabled) {
  border-color: var(--border-focused, #d8dde7) !important;
}

.bx--search .bx--search-magnifier {
  fill: var(--text-muted, #98a2b3);
}

.bx--search .bx--search-close {
  border-radius: var(--inputField-border-radius, 8px);
}

.bx--search .bx--search-close:hover {
  background-color: var(--bg-hover, #f5f7fb) !important;
}

.bx--search .bx--search-close svg {
  fill: var(--text-secondary, #667085);
}

.bx--side-nav {
  background-color: var(--nav-bg) !important;
  border-bottom: 1px solid var(--divider-color) !important;
  border-right: 1px solid var(--divider-color);
}

.bx--side-nav svg,
.bx--side-nav__submenu svg,
.bx--side-nav__submenu-chevron,
.bx--side-nav__submenu-chevron svg,
.bx--side-nav__icon svg,
.bx--side-nav__icon,
.bx--side-nav__submenu-title svg {
  fill: #7a736b !important;
  color: #7a736b !important;
}

.bx--side-nav__submenu:hover svg,
.bx--side-nav__submenu[aria-expanded='true'] svg,
.bx--side-nav__submenu:hover .bx--side-nav__submenu-chevron,
.bx--side-nav__submenu[aria-expanded='true'] .bx--side-nav__submenu-chevron {
  fill: #23201c !important;
  color: #23201c !important;
}

.borderRadius-none {
  border-radius: 0 !important;
}

.nameLetterAvatar_styles {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Bot-footer only: stacked search layout for the chat input area.
   (Was global; it distorted Carbon's row-based search geometry elsewhere.) */
.botFooter .bx--search {
  flex-direction: column;
  row-gap: 0.5rem;
  align-content: space-between;
}

.botWindow {
  min-height: calc(100vh - 280px);
  max-height: calc(100vh - 280px);
  overflow-y: auto;
  padding-right: 0.5rem;
}

.chatCard {
  background-color: whitesmoke;
  border-radius: 10px;
  padding: 1rem;
  color: var(--color-black);
  width: -moz-fit-content;
  width: fit-content;
}

.botChat {
  background-color: #eadfdf;
}

.userChat {
  background-color: #5d5a5a;
  color: white;
}

.botFooter .userChatSendIcon {
  position: absolute;
  top: 4px;
  right: 5px;
  cursor: pointer;
}

.botFooter .bx--search-input,
.botFooter .bx--search .bx--search-close {
  height: 2.5rem !important;
}

.borderRadius-none {
  border-radius: 0 !important;
}

.beamer_defaultBeamerSelector {
  display: none !important;
}

/* .botContainer{
    padding: .5rem !important;
    border-radius: 5px !important;
    box-shadow: var(--tiles-box-shadow) !important;
} */

.rcb-toggle-button:focus {
  outline: none !important;
}

.botContainer {
  height: 100% !important;
}

.botContainer .rcb-chat-window,
.botContainer .rsc {
  width: 100% !important;
  height: 100% !important;
  box-shadow: none !important;
  border-radius: 0;
}

.botContainer .rsc-container {
  width: 100% !important;
  height: 100% !important;
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.botContainer .rsc-ts-bubble {
  width: 100% !important;
  max-width: 100% !important;
}

.botContainer .rsc-content {
  overflow-y: auto !important;
}

.magic-modal .react-chat-botify-interface {
  height: calc(100vh - 200px) !important;
}

.magic-modal .bx--modal-container .bx--modal-content {
  margin-bottom: 2px !important;
}

.botContainer .rcb-chat-input {
  border: none !important;
  padding: 4px 0px 0px 0px;
}

.botContainer .rcb-chat-input .rcb-chat-input-textarea,
.candBotContainer .rcb-chat-input .rcb-chat-input-textarea {
  overflow-y: auto;
  box-shadow: none !important;
  border-radius: var(--inputField-border-radius) !important;
  border: 1.5px solid var(--input-border-color) !important;
  padding: 0.3rem 1rem;
  min-height: 22px;
  font-size: 15px;
}

/* .candBotContainer .rcb-chat-input .rcb-chat-input-textarea{
    min-height: 3rem !important;
} */

.botContainer .rcb-chat-footer-container {
  height: 55px !important;
  background-color: transparent !important;
  border: none !important;
}

.botContainer .rcb-chat-footer-container > span,
.candBotContainer .rcb-chat-footer-container > span {
  display: none !important;
}

.botContainer .rcb-chat-header {
  align-items: center !important;
}

.botContainer .rcb-message-bot-avatar,
.rcb-message-user-avatar {
  width: 30px !important;
  height: 30px !important;
}

.botContainer .rcb-bot-message,
.botContainer .rcb-user-message {
  max-width: 84% !important;
}

.botContainer .rcb-bot-message {
  background-color: #dff3fb !important;
  margin-left: 0 !important;
  border-radius: 10px;
  padding: 0.45rem 1rem;
  color: var(--color-black) !important;
  width: -moz-fit-content;
  width: fit-content;
}

.botContainer .rcb-user-message {
  color: var(--color-black) !important;
  background-color: #fad8dd !important;
  border-radius: 10px;
  padding: 0.45rem 1rem;
  width: -moz-fit-content;
  width: fit-content;
}

.botContainer .rcb-message-bot-avatar {
  margin-left: 0 !important;
  border-radius: 0 !important;
  /* transform: scaleX(-1) !important; */
  /* margin-top: 15px !important; */
}

.botContainer .rcb-bot-message-container {
  column-gap: 1rem !important;
  /* align-items: center !important; */
}

/* .botContainer .custom-bot-msg-bubble{
    display: flex !important;
    column-gap: 1rem !important;
} */

.botContainer .botAvatar {
  transform: scaleX(-1) !important;
}

.bx--table-toolbar .bx--search,
.bx--table-toolbar > .bx--search {
  flex: 0 1 300px !important;
  width: 300px !important;
  max-width: 100% !important;
  min-width: 180px !important;
  margin: 0 !important;
}

.botContainer .coPilot-footer-btns {
  position: absolute !important;
  right: 10px;
  bottom: 5px;
}

.botContainer .rcb-send-button:hover {
  background-color: var(--bot-primary-color) !important;
}

.candBotContainer .rcb-chat-window {
  width: 445px;
  height: 625px;
}

@media (max-width: 42rem) {
  .candBotContainer .rcb-chat-window {
    right: 0px;
    bottom: 0px;
    border-radius: 0px;
    overflow: hidden;
    width: 100%;
    height: 100%;
  }
}

.candBotContainer .rcb-chat-body-container {
  scrollbar-width: thin !important;
}

/* .candBotContainer .rcb-message-bot-avatar{
    margin-top: 25px !important;
} */

.candBotContainer .rcb-bot-message,
.candBotContainer .rcb-user-message {
  border-radius: 10px;
  padding: 0.45rem 1rem;
  width: -moz-fit-content;
  width: fit-content;
}

.candBotContainer .rcb-toggle-button {
  width: 70px !important;
  height: 70px !important;
}

/* ── Alex contextual panel – typography + spacing modernisation ────────── */

.botContainer .rcb-chat-window {
  font-size: 13px !important;
  font-family: inherit !important;
}

/* Welcome / empty-state – shrink the oversized "Alex" branding display */
.botContainer .rcb-intro-header,
.botContainer [class*='rcb-intro'] {
  font-size: 1rem !important;
  font-weight: 600 !important;
  padding: 8px 0 4px !important;
}

/* Bot + user message bubbles – consistent font scale */
.botContainer .rcb-bot-message,
.botContainer .rcb-user-message {
  font-size: 13px !important;
  line-height: 1.55 !important;
  padding: 8px 12px !important;
  border-radius: 12px !important;
}

/* Slightly more neutral bot bubble */
.botContainer .rcb-bot-message {
  background-color: #f0f4ff !important;
  color: #1e293b !important;
}

/* User bubble */
.botContainer .rcb-user-message {
  background-color: #fce7eb !important;
  color: #1e293b !important;
}

/* Input textarea */
.botContainer .rcb-chat-input-textarea {
  font-size: 13px !important;
  line-height: 1.5 !important;
}

/* Avatar sizing – 26 px instead of 30 px */
.botContainer .rcb-message-bot-avatar,
.botContainer .rcb-message-user-avatar {
  width: 26px !important;
  height: 26px !important;
}

/* Tighten avatar-to-bubble gap */
.botContainer .rcb-bot-message-container {
  column-gap: 8px !important;
}

/* Chat body padding – less dead space on first load */
.botContainer .rcb-chat-body-container {
  padding-top: 8px !important;
}

/* Send button */
.botContainer .rcb-send-button {
  margin-bottom: 0 !important;
}

/* Hide scrollbar on the chat input textarea (it auto-resizes via JS) */
#chat-input {
  overflow-y: hidden !important;
}
#chat-input::-webkit-scrollbar {
  display: none !important;
}

/* Disclaimer text inside the panel */
.xpa-context-panel_children small {
  font-size: 10px !important;
  color: #94a3b8 !important;
}

/* ─────────────────────────────────────────────────────────────────────── */

.bx--breadcrumb {
  display: flex !important;
  flex-wrap: wrap !important;
}

.img_coPilotLogoWithName > img {
  width: 22px !important;
  height: 22px !important;
  max-width: 22px !important;
}

.modal-height-60vh .bx--modal-container {
  min-height: 60vh !important;
}

.modal-height-70vh .bx--modal-container {
  min-height: 70vh !important;
}

.divide-container {
  height: 100%;
  width: 100%;
}

.divide-left-section {
  position: fixed;
  left: 0px;
  top: 0px;
  height: 100%;
  width: 50vw;
}

.divide-right-section {
  position: absolute;
  right: 0;
  height: 100%;
  width: 100%;
}

.react-datepicker-popper[data-placement^='bottom'] .react-datepicker__triangle {
  margin-left: -10px !important;
}

.react-datepicker-popper[data-placement^='bottom'] .react-datepicker__triangle {
  margin-top: -7px !important;
}

.customPreTagStyles {
  overflow-x: auto !important;
  white-space: -moz-pre-wrap !important;
  white-space: -pre-wrap !important;
  white-space: -o-pre-wrap !important;
  white-space: pre-wrap !important;
  word-wrap: break-word !important;
  font-size: 14px !important;
}

.bx--table-toolbar .bx--batch-actions .bx--action-list .bx--btn {
  border-radius: 8px !important;
}

.candApplyJobFieldsGrid {
  display: grid !important;
  grid-template-columns: repeat(2, 5fr);
  gap: 1rem !important;
  grid-template-rows: auto !important;
}

.jobPostingApplyGridContainer {
  display: grid !important;
  grid-template-columns: 8fr 4fr;
  grid-template-rows: auto !important;
}

/* Tighten the top navbar at normal browser zoom */
.bx--header__menu-item {
  padding-left: 0.625rem !important;
  padding-right: 0.625rem !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
}

/* Clean top navbar header actions and buttons */
.bx--header {
  height: 3rem !important;
  background-color: var(--surface, #ffffff) !important;
  border-bottom: 1px solid var(--border-color, #e7e2dc) !important;
  padding: 0 0.75rem !important;
}

.bx--header__global {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  height: 100% !important;
}

.bx--header .bx--header__action,
.bx--header__global .bx--header__action,
.bx--header__global button.bx--header__action,
.bx--header__action.bx--header__action--active,
button.bx--header__action--active {
  width: auto !important;
  min-width: 2rem !important;
  height: 2rem !important;
  max-height: 2rem !important;
  padding: 0 0.5rem !important;
  background-color: #faf9f7 !important;
  border: 1px solid var(--border-color, #e7e2dc) !important;
  border-radius: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--text-primary, #23201c) !important;
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
  transition: all 120ms ease-out !important;
  box-shadow: none !important;
  outline: none !important;
}

.bx--header .bx--header__action:hover,
.bx--header__global .bx--header__action:hover,
.bx--header__global button.bx--header__action:hover {
  background-color: var(--bg-hover, #f2eee9) !important;
  border-color: #d8d2cb !important;
  color: #23201c !important;
}

.bx--header__global .bx--header__action svg {
  width: 15px !important;
  height: 15px !important;
  fill: #5f5a54 !important;
  color: #5f5a54 !important;
  transition: fill 120ms ease-out !important;
}

.bx--header__global .bx--header__action:hover svg {
  fill: #23201c !important;
  color: #23201c !important;
}

.bx--header__global .company-name-width {
  min-width: auto !important;
  max-width: 240px !important;
  height: 2rem !important;
  padding: 0 0.625rem !important;
  background-color: #faf9f7 !important;
  border: 1px solid var(--border-color, #e7e2dc) !important;
  border-radius: 6px !important;
  cursor: default !important;
}

.bx--header__menu-trigger {
  width: 2rem !important;
  height: 2rem !important;
  background-color: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.bx--header__menu-trigger:hover {
  background-color: var(--bg-hover, #f2eee9) !important;
}

.bx--header__menu-trigger svg {
  width: 16px !important;
  height: 16px !important;
  fill: #23201c !important;
}

.scorecardFormQuill .quill .ql-bubble .ql-editor {
  padding: 0 !important;
  /* min-height: 3rem !important; */
}

.registerPassShowIcon {
  position: absolute !important;
  top: 1.9rem !important;
  right: 0.5rem !important;
}

.hideEyeForEdge::-ms-reveal,
.hideEyeForEdge::-ms-clear {
  display: none !important;
}

.smoke-tooltip .bx--assistive-text,
.smoke-tooltip:hover .bx--assistive-text {
  background: whitesmoke !important;
  padding: 10px !important;
}

.room-metric-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background-color: #fff;
  border: 1px solid #ddd;
  vertical-align: top;
  border-radius: 5px;
}

.room-metric-table th {
  background-color: #f5f5f5;
  font-weight: bold;
  text-align: left;
  white-space: nowrap;
  border-bottom: 2px solid #ccc;
  padding: 0.5rem;
}

.room-metric-table td {
  white-space: normal;
  background-color: #fcfcfc;
}

.room-metric-table td {
  padding: 5px 0.5rem;
  border-bottom: 1px solid #ddd;
}

.public-DraftStyleDefault-ul li {
  list-style-type: circle !important;
}

.copilotKit_custom .copilotKitMessages,
.copilotKit_custom .copilotKitMessagesContainer {
  padding: 0 !important;
}

.copilotKit_custom .copilotKitChat, .copilotKitChat_welcome {
  height: calc(100vh - 9rem) !important;
}

.copilotKit_custom .copilotKitMessages {
  overflow-y: auto !important;
}

.copilotKit_custom .copilotKitInput {
  padding-left: 1rem !important;
}

.copilotKit_custom .copilotKitInput > textarea {
  max-height: none !important;
  /* min-height: 3rem !important; */
  height: auto !important;
}

.copilot-assistant-container .pilot-name {
  font-size: 2rem;
  font-weight: 600;
  background: -webkit-linear-gradient(45deg, #8179f6, #68cee8 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.copilotKit_custom .copilotKitMarkdown {
  overflow: auto !important;
  max-width: inherit !important;
}

.copilotKit_custom .copilotKitMessages footer .suggestions .suggestion {
  border: none !important;
  /* background: var(--primary-color) !important; */
}

.copilotKit_custom .copilotKitMessages footer .suggestions {
  margin: 0.5rem !important;
}

.dualaccount-role-modal .bx--modal-container {
  min-height: 15rem !important;
}

.z-modal {
  z-index: var(--z-index-modal) !important;
}

.material-icons {
  font-family: 'Material Icons' !important;
}

.jss_toolbar.jtoolbar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 199999;
}

.x-spreadsheet-modal .bx--modal-header {
  margin-bottom: 0;
}

.x-spreadsheet-modal .bx--modal-content {
  padding-top: 0;
}

.bx--body--with-modal-open .xpa-scroll-to-top {
  display: none;
}

.jss_worksheet > tbody > tr > td.readonly {
  color: initial !important;
  cursor: not-allowed;
  pointer-events: none;
}

.jss_content .jss_worksheet tr {
  height: initial !important;
  background-color: #fff;
}

.jss_worksheet > tbody > tr > td {
  background-color: #fff;
}

.xpa-zeus-accordion .bx--accordion__heading,
.xpa-zeus-accordion .bx--accordion__heading:hover,
.xpa-zeus-accordion .bx--accordion__heading:focus,
.xpa-zeus-accordion .bx--accordion__heading[aria-expanded='true'] {
  background-color: #eacda3 !important;
}

.xpa-zeus-accordion .bx--accordion__content {
  padding-right: 1rem;
}

.xpa-markdown h1,
.xpa-markdown h2,
.xpa-markdown h3,
.xpa-markdown h4,
.xpa-markdown h5,
.xpa-markdown h6,
.xpa-markdown .h1,
.xpa-markdown .h2,
.xpa-markdown .h3,
.xpa-markdown .h4,
.xpa-markdown .h5,
.xpa-markdown .h6,
.xpa-markdown p,
.xpa-markdown ul {
  padding-bottom: 10px !important;
  color: black !important;
}

.xpa-markdown h1,
.xpa-markdown h2,
.xpa-markdown h3,
.xpa-markdown h4,
.xpa-markdown h5,
.xpa-markdown h6,
.xpa-markdown .h1,
.xpa-markdown .h2,
.xpa-markdown .h3,
.xpa-markdown .h4,
.xpa-markdown .h5,
.xpa-markdown .h6 {
  font-weight: bold;
}

.xpa-sm-markdown h1,
.xpa-sm-markdown h2,
.xpa-sm-markdown .h1,
.xpa-sm-markdown .h2 {
  font-size: 1.2rem !important;
  font-weight: 600 !important;
}

.xpa-sm-markdown h3,
.xpa-sm-markdown .h3 {
  font-size: 1rem !important;
  font-weight: 500 !important;
}

.xpa-sm-markdown h4,
.xpa-sm-markdown .h4 {
  font-size: 0.9rem !important;
  font-weight: 400 !important;
}

.xpa-sm-markdown h5,
.xpa-sm-markdown h6,
.xpa-sm-markdown .h5,
.xpa-sm-markdown .h6 {
  font-size: 0.5rem !important;
  font-weight: 300 !important;
}

.xpa-sm-markdown ul {
  margin-bottom: 0.4rem !important;
}

.xpa-sm-markdown p {
  margin-bottom: 0 !important;
}

.roomAgent-intro {
  display: grid;
  justify-items: center;
  grid-template-columns: 1fr 1fr;
}

.roomAgent-img {
  width: 400px;
  border-radius: 50%;
}

.roomAgent-inlineLoading .bx--inline-loading__text {
  color: #000 !important;
}

::part(nap__select-timezone) {
  display: none !important;
}

.hide-close-btn .bx--modal-container .bx--modal-header .bx--modal-close {
  display: none;
}

.copilot_desk .copilotKitMessages {
  overflow-y: auto !important;
  padding: 1rem 2rem 0 1rem !important;
}

.copilot_desk {
  scroll-behavior: smooth;
  overflow-y: auto;
}

.custom-scrollbar::-webkit-scrollbar {
  width: 10px !important;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent !important;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background-color: #cbd5e1 !important;
  border-radius: 20px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background-color: #94a3b8 !important;
}

.bx--btn.bx--btn--ghost.bx--btn--icon-only[disabled] svg {
  opacity: 0.8 !important;
  fill: #393939de !important;
}

.bx--btn--green,
.btn-green {
  background-color: #22c55e !important;
  color: white !important;
}

/* JobCopilot specific chat wrapper styles */
.job-copilot-chat-wrapper {
  max-height: calc(100vh - 10rem) !important;
  /* height: calc(100vh - 11rem) !important; */
}

.job-copilot-chat-wrapper .copilot_desk2 .copilotKitChat {
  min-height: calc(100vh - 16rem) !important;
  max-height: calc(100vh - 16rem) !important;
}

.job-copilot-chat-wrapper .copilotKitMessagesContainer {
  padding: 0.5rem !important;
}

.job-copilot-chat-wrapper .copilot_desk2 .copilotKitMessages {
  padding: 0.5rem !important;
  overflow-y: auto;
}

/* Reduce font sizes and spacing for JobCopilot chat messages */
.job-copilot-chat-wrapper .tw-text-sm {
  font-size: 12px !important;
}

.job-copilot-chat-wrapper .tw-leading-relaxed {
  line-height: 1.4 !important;
}

.job-copilot-chat-wrapper .tw-whitespace-pre-wrap {
  line-height: 1.35 !important;
}

/* Target ReactMarkdown content in messages */
.job-copilot-chat-wrapper .tw-whitespace-pre-wrap p,
.job-copilot-chat-wrapper .tw-break-words p {
  margin-bottom: 0.15rem !important;
  margin-top: 0 !important;
  font-size: 12px !important;
}

.job-copilot-chat-wrapper .tw-whitespace-pre-wrap strong,
.job-copilot-chat-wrapper .tw-break-words strong {
  display: inline;
}

.job-copilot-chat-wrapper .tw-whitespace-pre-wrap ul,
.job-copilot-chat-wrapper .tw-whitespace-pre-wrap ol {
  margin-bottom: 0.35rem !important;
  padding-left: 1rem !important;
}

.job-copilot-chat-wrapper .tw-whitespace-pre-wrap li {
  margin-bottom: 0.15rem !important;
  font-size: 12px !important;
}

.job-copilot-chat-wrapper .tw-whitespace-pre-wrap h1,
.job-copilot-chat-wrapper .tw-whitespace-pre-wrap h2,
.job-copilot-chat-wrapper .tw-whitespace-pre-wrap h3,
.job-copilot-chat-wrapper .tw-whitespace-pre-wrap h4,
.job-copilot-chat-wrapper .tw-whitespace-pre-wrap h5 {
  font-size: 13px !important;
  margin-bottom: 0.1rem !important;
  margin-top: 0.5rem !important;
  font-weight: 600 !important;
}

.job-copilot-chat-wrapper .tw-whitespace-pre-wrap h1:first-child,
.job-copilot-chat-wrapper .tw-whitespace-pre-wrap h2:first-child,
.job-copilot-chat-wrapper .tw-whitespace-pre-wrap h3:first-child {
  margin-top: 0 !important;
}

/* Reduce message spacing */
.job-copilot-chat-wrapper .tw-mt-2 {
  margin-top: 0.5rem !important;
}

.job-copilot-chat-wrapper .tw-my-4 {
  margin-top: 0.5rem !important;
  margin-bottom: 0.5rem !important;
}

/* Reduce padding in message bubbles */
.job-copilot-chat-wrapper .tw-p-2 {
  padding: 0.4rem !important;
}

.job-copilot-chat-wrapper .tw-px-3 {
  padding-left: 0.6rem !important;
  padding-right: 0.6rem !important;
}

/* NewCopilot specific chat wrapper styles */
.new-copilot-chat-wrapper {
  max-height: calc(100vh - 6rem) !important;
  /* height: calc(100vh - 11rem) !important; */
}

.new-copilot-chat-wrapper .copilot_desk2 .copilotKitChat {
  min-height: calc(100vh - 12rem) !important;
  max-height: calc(100vh - 16rem) !important;
}

.new-copilot-chat-wrapper .copilotKitMessagesContainer {
  padding: 0.5rem !important;
}

.new-copilot-chat-wrapper .copilot_desk2 .copilotKitMessages {
  padding: 0.5rem !important;
  overflow-y: auto;
}

/* Font sizes for NewCopilot chat messages — match bot and user at 14px */
.new-copilot-chat-wrapper .tw-text-sm {
  font-size: 14px !important;
}

.new-copilot-chat-wrapper .tw-leading-relaxed {
  line-height: 1.4 !important;
}

.new-copilot-chat-wrapper .tw-whitespace-pre-wrap {
  line-height: 1.35 !important;
}

/* Target ReactMarkdown content in messages */
.new-copilot-chat-wrapper .tw-whitespace-pre-wrap p,
.new-copilot-chat-wrapper .tw-break-words p {
  margin-bottom: 0.15rem !important;
  margin-top: 0 !important;
  font-size: 14px !important;
}

.new-copilot-chat-wrapper .tw-whitespace-pre-wrap strong,
.new-copilot-chat-wrapper .tw-break-words strong {
  display: inline;
}

.new-copilot-chat-wrapper .tw-whitespace-pre-wrap ul,
.new-copilot-chat-wrapper .tw-whitespace-pre-wrap ol {
  margin-bottom: 0.35rem !important;
  padding-left: 1rem !important;
}

.new-copilot-chat-wrapper .tw-whitespace-pre-wrap li {
  margin-bottom: 0.15rem !important;
  font-size: 14px !important;
}

.new-copilot-chat-wrapper .tw-whitespace-pre-wrap h1,
.new-copilot-chat-wrapper .tw-whitespace-pre-wrap h2,
.new-copilot-chat-wrapper .tw-whitespace-pre-wrap h3,
.new-copilot-chat-wrapper .tw-whitespace-pre-wrap h4,
.new-copilot-chat-wrapper .tw-whitespace-pre-wrap h5 {
  font-size: 15px !important;
  margin-bottom: 0.1rem !important;
  margin-top: 0.5rem !important;
  font-weight: 600 !important;
}

.new-copilot-chat-wrapper .tw-whitespace-pre-wrap h1:first-child,
.new-copilot-chat-wrapper .tw-whitespace-pre-wrap h2:first-child,
.new-copilot-chat-wrapper .tw-whitespace-pre-wrap h3:first-child {
  margin-top: 0 !important;
}

/* Reduce message spacing */
.new-copilot-chat-wrapper .tw-mt-2 {
  margin-top: 0.5rem !important;
}

.new-copilot-chat-wrapper .tw-my-4 {
  margin-top: 0.5rem !important;
  margin-bottom: 0.5rem !important;
}

/* Reduce padding in message bubbles */
.new-copilot-chat-wrapper .tw-p-2 {
  padding: 0.4rem !important;
}

.new-copilot-chat-wrapper .tw-px-3 {
  padding-left: 0.6rem !important;
  padding-right: 0.6rem !important;
}

/* ===== Default CopilotKit Assistant Message — styled to match custom bubble ===== */

/* Assistant message row: flex layout with gap for avatar + bubble */
#chat-area .copilotKitMessage.copilotKitAssistantMessage,
.copilot_desk2 .copilotKitMessage.copilotKitAssistantMessage {
  display: flex !important;
  gap: 0.75rem !important;
  align-items: flex-start !important;
  max-width: 90% !important;
  margin: 0.5rem 0 !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* Avatar via ::before pseudo-element */
#chat-area .copilotKitMessage.copilotKitAssistantMessage::before,
.copilot_desk2 .copilotKitMessage.copilotKitAssistantMessage::before {
  content: '' !important;
  display: block !important;
  width: 2rem !important;
  height: 2rem !important;
  min-width: 2rem !important;
  border-radius: 50% !important;
  background-image: linear-gradient(60deg, #96deda 0%, #50c9c3 100%) !important;
  flex-shrink: 0 !important;
}

/* Markdown bubble */
#chat-area .copilotKitMessage.copilotKitAssistantMessage .copilotKitMarkdown,
.copilot_desk2 .copilotKitMessage.copilotKitAssistantMessage .copilotKitMarkdown {
  background: #fff !important;
  color: #334155 !important;
  font-size: 14px !important;
  line-height: 1.625 !important;
  padding: 0.5rem 0.75rem !important;
  border-radius: 1rem !important;
  border-top-left-radius: 0 !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05) !important;
  white-space: pre-wrap !important;
  overflow: visible !important;
  max-width: inherit !important;
}

/* Force consistent 14px on all inner markdown elements */
#chat-area .copilotKitMessage.copilotKitAssistantMessage .copilotKitMarkdown p,
#chat-area .copilotKitMessage.copilotKitAssistantMessage .copilotKitMarkdown span,
#chat-area .copilotKitMessage.copilotKitAssistantMessage .copilotKitMarkdown li,
#chat-area .copilotKitMessage.copilotKitAssistantMessage .copilotKitMarkdown .copilotKitMarkdownElement,
.copilot_desk2 .copilotKitMessage.copilotKitAssistantMessage .copilotKitMarkdown p,
.copilot_desk2 .copilotKitMessage.copilotKitAssistantMessage .copilotKitMarkdown span,
.copilot_desk2 .copilotKitMessage.copilotKitAssistantMessage .copilotKitMarkdown li,
.copilot_desk2 .copilotKitMessage.copilotKitAssistantMessage .copilotKitMarkdown .copilotKitMarkdownElement {
  font-size: 14px !important;
}

/* Markdown content spacing */
#chat-area .copilotKitMessage.copilotKitAssistantMessage .copilotKitMarkdown p,
.copilot_desk2 .copilotKitMessage.copilotKitAssistantMessage .copilotKitMarkdown p {
  margin-bottom: 0.25rem !important;
  margin-top: 0 !important;
}

#chat-area .copilotKitMessage.copilotKitAssistantMessage .copilotKitMarkdown p:last-child,
.copilot_desk2 .copilotKitMessage.copilotKitAssistantMessage .copilotKitMarkdown p:last-child {
  margin-bottom: 0 !important;
}

#chat-area .copilotKitMessage.copilotKitAssistantMessage .copilotKitMarkdown ul,
#chat-area .copilotKitMessage.copilotKitAssistantMessage .copilotKitMarkdown ol,
.copilot_desk2 .copilotKitMessage.copilotKitAssistantMessage .copilotKitMarkdown ul,
.copilot_desk2 .copilotKitMessage.copilotKitAssistantMessage .copilotKitMarkdown ol {
  margin-bottom: 0.35rem !important;
  padding-left: 1.25rem !important;
}

#chat-area .copilotKitMessage.copilotKitAssistantMessage .copilotKitMarkdown li,
.copilot_desk2 .copilotKitMessage.copilotKitAssistantMessage .copilotKitMarkdown li {
  /* margin-bottom: 0.15rem !important; */
}

/* Hide the default message controls (regenerate, copy, thumbs) */
#chat-area .copilotKitMessage.copilotKitAssistantMessage .copilotKitMessageControls,
.copilot_desk2 .copilotKitMessage.copilotKitAssistantMessage .copilotKitMessageControls {
  display: none !important;
}

/* Hide empty action/result message wrapper divs rendered by CopilotKit */
#chat-area .copilotKitMessagesContainer > div:empty,
.copilot_desk2 .copilotKitMessagesContainer > div:empty {
  display: none !important;
}

/* ── Custom loading indicator (no custom component needed) ── */

/* Loading icon wrapper — make it a flex row like assistant messages */
#chat-area .copilotKitMessagesContainer > span,
.copilot_desk2 .copilotKitMessagesContainer > span {
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.75rem !important;
  margin: 0.5rem 0 !important;
}

/* Avatar before the loading dots */
#chat-area .copilotKitMessagesContainer > span::before,
.copilot_desk2 .copilotKitMessagesContainer > span::before {
  content: '' !important;
  display: block !important;
  width: 2rem !important;
  height: 2rem !important;
  min-width: 2rem !important;
  border-radius: 50% !important;
  background-image: linear-gradient(60deg, #96deda 0%, #50c9c3 100%) !important;
  flex-shrink: 0 !important;
}

/* Dots container — styled as a bubble matching the assistant message */
#chat-area .copilotKitMessagesContainer > span > div,
.copilot_desk2 .copilotKitMessagesContainer > span > div {
  background: #fff !important;
  padding: 0.75rem 1rem !important;
  border-radius: 1rem !important;
  border-top-left-radius: 0 !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05) !important;
}

/* Custom dot styling */
#chat-area .copilotKitActivityDot,
.copilot_desk2 .copilotKitActivityDot {
  background-color: #50c9c3 !important;
  width: 7px !important;
  height: 7px !important;
}

/* ── Action progress indicator (inline in chat during API calls) ── */

/* Row layout matching assistant message: avatar + bubble */
.copilot-action-progress {
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.75rem !important;
  max-width: 90% !important;
  margin: 0.5rem 0 !important;
  animation: actionProgressFadeIn 0.3s ease;
}

/* Avatar circle — matches the assistant message avatar */
.copilot-action-progress-avatar {
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  border-radius: 50%;
  background-image: linear-gradient(60deg, #96deda 0%, #50c9c3 100%);
  flex-shrink: 0;
}

/* Bubble — matches the assistant markdown bubble */
.copilot-action-progress-bubble {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 1rem;
  border-top-left-radius: 0;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.copilot-action-progress-dots {
  display: flex;
  align-items: center;
  gap: 3px;
}

.copilot-action-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #50c9c3;
  animation: actionDotPulse 1.4s infinite ease-in-out both;
}

.copilot-action-dot:nth-child(1) {
  animation-delay: 0s;
}
.copilot-action-dot:nth-child(2) {
  animation-delay: 0.2s;
}
.copilot-action-dot:nth-child(3) {
  animation-delay: 0.4s;
}

.copilot-action-progress-text {
  font-size: 14px;
  color: #334155;
  font-style: italic;
}

@keyframes actionDotPulse {
  0%,
  80%,
  100% {
    transform: scale(0.6);
    opacity: 0.4;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes actionProgressFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   v2 auth surfaces (login chooser, credential forms, footer)
   .xpa-auth-btn / .xpa-auth-label are also used by
   TmiCandidateSignIn on invite/offer/reference pages, so this
   block must stay in a globally loaded stylesheet.
   ============================================================ */

.xpa-auth-card {
  background: var(--surface, #ffffff);
  border: 1px solid var(--border-color, #e6e9ef);
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow:
    0 1px 2px rgba(16, 24, 40, 0.04),
    0 8px 24px rgba(16, 24, 40, 0.06);
}

.xpa-auth-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--primary-soft, #f2f1ef);
  color: var(--primary-color, #111111);
  margin-bottom: 12px;
}

.xpa-auth-card__icon svg {
  color: var(--primary-color, #111111);
}

.xpa-auth-card h5.xpa-auth-card__title {
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: var(--text-primary, #182230);
  margin-bottom: 4px;
}

/* Form-page titles (Welcome back / Sign-up to get started) need real
   heading weight to read as a page title, not another field label */
.xpa-auth-card h1.xpa-auth-card__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  color: var(--text-primary, #182230);
  text-align: center;
  background: var(--primary-soft, #f2f1ef);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 32px;
}

/* Chooser cards center their content; form cards start-align */
.xpa-auth-card.flex-center-column .xpa-auth-card__title {
  text-align: center;
}

/* Neutralize the legacy grey strip around the form heading */
.xpa-auth-card .access-form .form-header {
  background: transparent;
  border-radius: 0;
  padding: 0;
  width: auto;
  margin-bottom: 20px;
}

/* --- Inputs --- */
.xpa-auth-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary, #182230);
  margin-bottom: 6px;
  text-align: start;
}

.xpa-auth-card .form-group {
  margin-bottom: 16px;
}

.xpa-auth-card .form-group .bx--label {
  margin-bottom: 12px;
}

.xpa-auth-card .form-group .form-control,
.xpa-auth-card .form-group .bx--text-input {
  height: 40px;
  width: 100% !important; /* legacy .access-form rule locks 310px !important */
  border: 1px solid var(--border-color, #e6e9ef);
  border-radius: 8px;
  background: var(--surface, #ffffff);
  font-size: 14px;
  color: var(--text-primary, #182230);
  padding: 0 12px;
  box-shadow: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.xpa-auth-card .form-group .form-control:hover,
.xpa-auth-card .form-group .bx--text-input:hover {
  border-color: var(--border-focused, #d8dde7);
}

.xpa-auth-card .form-group .form-control:focus,
.xpa-auth-card .form-group .bx--text-input:focus {
  border-color: var(--primary-strong, #111111);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.1);
  outline: none;
}

.xpa-auth-card .form-group .form-control::placeholder,
.xpa-auth-card .form-group .bx--text-input::placeholder {
  color: var(--text-muted, #98a2b3);
}

/* iOS zooms on focus when input text < 16px */
@media (max-width: 768px) {
  .xpa-auth-card .form-group .form-control,
  .xpa-auth-card .form-group .bx--text-input {
    font-size: 16px;
  }
}

/* Eye toggle: base.css pins it at top 1.1em for the old 50px
   inputs — center it in the 40px v2 field */
.xpa-auth-card .showpass-icon {
  top: 50% !important;
  transform: translateY(-50%);
  fill: var(--text-secondary, #667085);
}

/* --- Primary action button: fill/text/hover/focus come from the
       global .bx--btn--primary v2 theme above; this only sets the
       auth-form shape (full width, 40px, rounded) --- */
.xpa-auth-btn.bx--btn--primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 14px;
}

/* --- "Back" navigation links (reset-password, and anywhere else this
       pattern is reused): icon + text, muted until hovered --- */
.xpa-auth-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary, #667085) !important;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none !important;
  transition: color 0.15s ease;
}

.xpa-auth-back-link:hover {
  color: var(--text-primary, #182230) !important;
}

.xpa-auth-back-link svg {
  flex-shrink: 0;
}

/* --- Secondary links + tighter legacy spacing inside the card --- */
.xpa-auth-card .access-form .more-option {
  margin-bottom: 12px;
}

.xpa-auth-card .access-form .more-option a,
.xpa-auth-card .access-form .shortcut-login p a {
  font-size: 13px;
  font-weight: 500;
}

.xpa-auth-card .access-form .shortcut-login {
  margin-top: 12px;
}

.xpa-auth-card .access-form .shortcut-login p {
  font-size: 13px;
  color: var(--text-secondary, #667085);
}

/* --- Credential form wrapper (replaces unitless maxWidth bug) --- */
.xpa-auth-form-wrap {
  width: 400px;
  max-width: calc(100vw - 2rem);
  padding: 5rem 0 2rem 0;
}

/* --- Public footer: match header branding, v2 surface --- */
.xr-public-footer {
  background: var(--surface, #ffffff);
  border-top: 1px solid var(--border-color, #e6e9ef);
  padding: 12px 24px !important;
}

.xr-public-footer img.xpa-top-header--logo-room {
  height: 2.2rem; /* match the header logo cap (base.css .xpa-top-header--logo max-height) */
  width: auto;
  cursor: pointer;
}

.xr-public-footer a {
  font-size: 13px;
  color: var(--text-secondary, #667085) !important; /* main.css link-color bleed */
}

.xr-public-footer a:hover {
  color: var(--text-primary, #182230) !important;
}

.xr-public-footer b {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary, #667085);
}

/* Login chooser: compact the role cards so all three fit one viewport without scrolling.
   Replaces the old padding-top-90/padding-bottom-90 wrapper on Login.jsx. */
.xpa-auth-choose {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - 64px); /* keep the bg filling the viewport under the header */
  padding-top: 56px;
  padding-bottom: 32px;
}

.xpa-auth-choose > .h-100 {
  height: auto !important; /* stop the card column stretching to the top so justify-content can center it */
}

.prelogin_card .xpa-auth-card {
  padding: 20px 24px;
}

.prelogin_card .xpa-auth-card__icon {
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
}

.prelogin_card .xpa-auth-card .xpa-auth-btn {
  margin-top: 0.5rem !important; /* bootstrap mt-3 (1rem !important) is too tall for the compact card */
}

.prelogin_card .xpa-auth-card .shortcut-login {
  margin-top: 8px;
}

/* --- Typography: Blinker for headings, Sora everywhere else (body font is
   set via --font-family-base). !important beats component-level font stacks;
   icon fonts are unaffected (they set font-family on the icon element). --- */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-family-heading, 'Blinker', sans-serif) !important;
}

/* --- Link focus: mouse clicks shouldn't leave the Carbon-blue focus
   rectangle around clickable text. Keyboard navigation (Tab) keeps a
   visible ring, restyled to the theme instead of #0f62fe. --- */
a:focus:not(:focus-visible) {
  outline: none !important;
  box-shadow: none !important;
}

a:focus-visible {
  outline: 2px solid var(--border-strong, #d8d2cb) !important;
  outline-offset: 2px;
}

/* Admin > Application Settings > Configure Basic Details Section Fields:
   Carbon's default fixed table-layout squeezes the "External Field Name"
   header (and the input values below it) down to a sliver, truncating
   both. Content here matters more than even column widths. */
.xpa-basic-details-fields-table .bx--data-table {
  table-layout: auto;
}

.xpa-basic-details-fields-table .bx--table-header-label {
  overflow: visible;
  white-space: normal;
}
