@font-face {
  font-family: 'Circular';
  src: url('./lineto-circular-book.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Circular';
  src: url('./lineto-circular-bookItalic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'Circular';
  src: url('./lineto-circular-medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Circular';
  src: url('./lineto-circular-mediumItalic.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
}

@font-face {
  font-family: 'Circular';
  src: url('./lineto-circular-bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Circular';
  src: url('./lineto-circular-boldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
}


/* Force font everywhere with higher specificity */
body,
html,
p,
h1,
h2,
h3,
h4,
h5,
h6,
div,
a {
  font-family: 'Circular', sans-serif !important;
  line-height: 1.2 !important;
}

a.show,
a.dropdown-toggle.show,
a.dropdown-item,
ul.dropdown-menu.show {
  background-color: #FEFEFE !important;
}

a.dropdown-item:hover,
a.dropdown-item:active {
  background: #6CFFD1 !important;
  color: #3A404A !important;
}

ul.dropdown-menu.show {
  padding: 0px 8px !important;
  height: 48px !important;
  border-radius: 0px !important;
  border: 1px solid #E2E1DE !important;
}

a.dropdown-item {
  height: 46px !important;
  width: 290px !important;
}

.dropdown-menu>li>a {
  align-content: center !important;

}

.crmEntityFormView {
  background-color: #FEFEFE !important;
  border-width: 0px !important;
}

.form-control {
  background-color: #FEFEFE !important;
}

input.form-control {
  background-color: #FEFEFE !important;
  height: 48px !important;
  border-radius: 0 !important;
  border: 1px solid var(--grey-300, #8E9293) !important;
}

textarea.form-control {
  background-color: #FEFEFE !important;
  border-radius: 0 !important;
  border: 1px solid var(--grey-300, #8E9293) !important;
  resize: vertical;
}

input.form-control:focus, textarea.form-control:focus {
  border: 3px solid #06D7A8 !important;
}

input.form-control:hover, textarea.form-control:hover {
  border: 2px solid var(--grey-300, #8E9293) !important;
}

input.form-control:active, textarea.form-control:active {
  border: 2px solid #028365 !important;
}

input.form-control:disabled, textarea.form-control:disabled {
  background-color: #F3F3F1 !important;
  border: 1px solid var(--grey-300, #8E9293) !important;
}

input.form-control[readonly],
input.form-control[readonly]:focus,
input.form-control[readonly]:hover,
input.form-control[readonly]:active {
  background-color: #FEFEFE !important;
  height: 20px !important;
  border-radius: 0 !important;
  color: #202425 !important;
  border: 0px !important;
}

input.form-control.error, textarea.form-control.error {
  border: 2px solid #C4500E !important;
}

.crmEntityFormView .cell div.table-info.required label:after {
  color: #C4500E !important;
}

div.control {
  height: 20px !important;
}

div.control a.text-primary {
  text-decoration: none;
  color: #202425 !important;
}

.actions {
  display: flex;
  justify-content: space-between;
}

.crmEntityFormView select {
  /* background: #FFFFFF; */
  height: 48px;
  border-radius: 0;
}

label {
  color: #202425 !important;
  background-color: #FEFEFE !important;
  margin-bottom: 8px;
  font-weight: 500;
}

label[readonly] {
  color: #195258 !important;
  background-color: #FEFEFE !important;
  margin-bottom: 8px;
}

.btn {
  font-family: 'Circular', sans-serif !important;
  font-weight: 500 !important;
  padding-top: 8px !important;
  padding-right: 24px !important;
  padding-bottom: 8px !important;
  padding-left: 24px !important;
  height: 48px !important;
}

/* Hover state */
.btn-primary:hover,
.button1:hover {
  background: var(--primary-400, #287780) !important;
  box-shadow: 0px 1px 2px 0px #1018281A !important;
  box-shadow: 0px 1px 3px 0px #1018281A !important;
  color: #ffffff !important;
}

/* Pressed (active) state */
.btn-primary:active,
.button1:active {
  background: var(--primary-700, #031316) !important;
  color: #ffffff !important;
}

/* Focused state (e.g., tab focus) */
.btn-primary:focus,
.button1:focus {
  background: #195258 !important;
  border: 3px solid #06D7A8 !important;
  color: #ffffff !important;
}

/* Disabled state */
.btn-primary:disabled,
.btn-primary[disabled],
.button1:disabled,
.button1[disabled] {
  background: var(--grey-400, #6A6D6E) !important;
  color: #DCDFE0 !important;
}

/* Hover state */
.btn-secondary:hover,
.button2:hover {
  border: 2px solid #06D7A8 !important;
  color: var(--primary-600, #0B2F33) !important;
  background: #ffffff !important;
}

/* Pressed (active) state */
.btn-secondary:active,
.button2:active {
  border: 2px solid var(--senary-400, #028365) !important;
  color: var(--primary-700, #031316) !important;
  background: #ffffff !important;
}

/* Focused state (e.g., tab focus) */
.btn-secondary:focus,
.button2:focus {
  border: 3px solid #06D7A8 !important;
  color: var(--primary-600, #0B2F33) !important;
  background: #ffffff !important;
}

/* Disabled state */
.btn-secondary:disabled,
.btn-secondary[disabled],
.button2:disabled,
.button2[disabled] {
  border: 2px solid var(--grey-400, #6A6D6E) !important;
  color: var(--grey-400, #6A6D6E) !important;
}

/* Default state (normal) */
.btn-tertiary {
  color: #195258;
  border: 1px solid #6A6D6E;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Hover state */
.btn-tertiary:hover {
  border: 1px solid var(--primary-600, #0B2F33);
  color: #0B2F33;
}

/* Pressed (active) state */
.btn-tertiary:active {
  border: 1px solid var(--primary-700, #031316);
  color: #031316;
}

/* Focused state (e.g., tab focus) */
.btn-tertiary:focus {
  border: 3px solid #06D7A8;
  color: #6A6D6E;
}

/* Disabled state */
.btn-tertiary:disabled,
.btn-tertiary[disabled] {
  border: 1px solid var(--grey-400, #6A6D6E);
  color: #6A6D6E;
}

/* Default state (normal) */
.btn-destructive {
  color: #8C3707;
  border: 2px solid #C4500E;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Hover state */
.btn-destructive:hover {
  border: 2px solid var(--quinary-500, #8C3707);
  color: #581F03;
}

/* Pressed (active) state */
.btn-destructive:active {
  border: 2px solid var(--quinary-600, #581F03);
  color: var(--quinary-700, #280A01);

}

/* Focused state (e.g., tab focus) */
.btn-destructive:focus {
  border: 3px solid var(--quinary-400, #C4500E);
  color: #8C3707;
}

/* Disabled state */
.btn-destructive:disabled,
.btn-destructive[disabled] {
  border: 2px solid var(--grey-400, #6A6D6E);
  color: #6A6D6E;
}


body {
  font-size: 16px;
  font-style: normal;
  font-weight: normal;
  line-height: 1.2;
  background-color: #f6f6f6;
}

.footer-portal {
  opacity: 1;
  border-top: 1px solid #DCDFE0;
}

.footer-content {
  left: 20px;
  padding-top: 20px;
  padding-right: 32px;
  padding-bottom: 20px;
  padding-left: 32px;
  gap: 10px;
  min-height: 97px !important;
}

.layout-box {
  width: 946px;
  max-height: 800px;
  height: 764px !important;
  margin: 118px auto 0 auto;
  display: flex;
  flex-direction: column;
  opacity: 1;
}

.centered-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 265px;
  width: 552px;
  margin: 0 auto;
  text-align: center;
  gap: 32px;
}

.white-box-content {
  padding-top: 32px;
  padding-right: 40px;
  padding-bottom: 48px !important;
  padding-left: 40px;
  gap: 32px;
  opacity: 1;
  background: #FEFEFE;
  border: 1px solid #DCDFE0 !important;
}

.div-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.main-content-header {
  padding-top: 40px;
  padding-left: 156px;
  gap: 8px;
  margin-bottom: 50px;
}

@media (max-width: 768px) {
  .main-content-header {
    padding-left: 50px;
  }
}

@media (max-width: 480px) {
  .main-content-header {
    padding-left: 20px;
  }
}

.custom-toast {
  display: flex;
  align-items: flex-start;
  position: fixed;
  right: 15px;
  background-color: #CAFFEF;
  border: 1px solid var(--senary-100, #6CFFD1);
  color: #333;
  padding-top: 24px;
  padding-right: 16px;
  padding-bottom: 24px;
  padding-left: 16px;
  gap: 10px;
  z-index: 9999;
  min-width: 320px;
  max-width: 500px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(20px);
  font-family: 'Circular', sans-serif !important;
}

.custom-toast.info {
  display: flex;
  align-items: flex-start;
  position: fixed;
  right: 15px;
  background-color: #FFF0E8;
  border: 1px solid #FADAC8;
  color: #3F260D;
  padding-top: 24px;
  padding-right: 16px;
  padding-bottom: 24px;
  padding-left: 16px;
  gap: 10px;
  z-index: 9999;
  min-width: 320px;
  max-width: 500px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(20px);
  font-family: 'Circular', sans-serif !important;
}

.custom-toast.error {
  display: flex;
  align-items: flex-start;
  position: fixed;
  right: 15px;
  background-color: #FEE1DC;
  border: 1px solid #FEAB98;
  color: #581F03;
  padding-top: 24px;
  padding-right: 16px;
  padding-bottom: 24px;
  padding-left: 16px;
  gap: 10px;
  z-index: 9999;
  min-width: 320px;
  max-width: 500px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(20px);
  font-family: 'Circular', sans-serif !important;
}

.custom-toast.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.toast-icon {
  font-size: 24px;
  margin-right: 15px;
  margin-top: 4px;
}

.toast-content {
  flex-grow: 1;
}

.toast-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.toast-title {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 4px;
}

.toast-subtitle {
  font-size: 14px;
  color: #666;
}

.toast-close {
  background: none;
  border: none;
  font-size: 18px;
  color: #999;
  cursor: pointer;
  margin-left: 10px;
  line-height: 1;
}

.toast-close:hover {
  color: #333;
}


/* Container for the file upload box */
.file-upload-box {
  width: 584px;
  height: 273px;
  border-width: 1px;
  border-style: solid;
  border-image: repeating-linear-gradient(45deg,
      black 0,
      black 5px,
      transparent 5px,
      transparent 11px) 1;
  border-color: #8D9096;
  border-image-slice: 1;
  opacity: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  user-select: none;
  position: relative;
  text-align: center;
  cursor: pointer;
}

/* The icon (you can replace with any SVG or icon font) */
.file-upload-box .icon {
  font-size: 48px;
  color: #666;
}

/* The text below the icon */
.file-upload-box .upload-text,
.upload-text-error {
  font-size: 18px;
  color: #333;
}

.upload-disabled {
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
}

/* The actual hidden file input */
input[type="file"] {
  display: none;
}

.file-info-container {
  width: 584px;
  height: 100px;
  border: 1px solid #ccc;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  background: #f9f9f9;
  margin-top: 12px;
}

.file-details-left,
.file-details-right {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.file-details-left {
  align-items: flex-start;
}

.file-details-left h5 {
  margin: 0;
  font-weight: 400;
  color: #2E333B;
}

.file-details-right {
  align-items: flex-end;
}

.remove-file {
  margin-top: 8px;
  color: #d9534f;
  cursor: pointer;
  text-decoration: underline;
  font-size: 14px;
  user-select: text;
}

#filesContainer {
  width: 584px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 12px;
}

.custom-checkbox {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  font-size: 24px;
  color: #333;
  gap: 12px;
}

/* Hide the native checkbox */
.custom-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Custom box */
.checkmark {
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--grey-300, #8E9293);
  border-radius: 0px;
  box-sizing: border-box;
  position: relative;
  transition: border-color 0.2s, background-color 0.2s;
}

/* The checkmark */
.custom-checkbox input[type="checkbox"]:checked+.checkmark::after {
  content: "";
  position: absolute;
  left: 8px;
  /* position inside box */
  top: 5px;
  width: 7px;
  height: 14px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

/* Hover on label changes border color */
.custom-checkbox:hover .checkmark {
  border-color: #195258;
}

/* Focus outline */
.custom-checkbox input[type="checkbox"]:focus+.checkmark {
  outline: 3px solid #6CFFD1;
  outline-offset: 2px;
}

/* Checked state - show a checkmark */
.custom-checkbox input[type="checkbox"]:checked+.checkmark {
  background-color: #195258;
  border-color: #195258;
}

.custom-checkbox input[type="checkbox"]:checked+.checkmark::after {
  content: "";
  position: absolute;
  top: 1px;
  width: 6px;
  height: 16px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Disabled state */
.custom-checkbox input[type="checkbox"]:disabled+.checkmark {
  background-color: #ffffff;
  border-color: #aaa;
  cursor: not-allowed;
}

.custom-checkbox input[type="checkbox"]:checked:disabled+.checkmark::after {
  content: "";
  position: absolute;
  top: 1px;
  width: 6px;
  height: 16px;
  border: solid #8E9293;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.custom-checkbox input[type="checkbox"]:disabled~.label-text {
  color: #aaa;
  cursor: not-allowed;
}

.custom-checkbox.error .checkmark {
  border: 2px solid #C4500E !important;
}

.custom-checkbox.error p.label-text {
  color: var(--quinary-500, #8C3707) !important;
  font-weight: 500 !important;
}

.custom-checkbox p.label-text {
  font-weight: 500 !important;
}

.label-text {
  user-select: none;
}

.custom-checkbox p.label-text {
  display: inline-block;
  margin: 0;
}

.info-panel-modified {
  border: 2px solid #DCDFE0 !important;
  box-shadow: 0px 1px 2px 0px #1018281A;
}

.info-panel {
  height: 154px;
  padding: 32px 40px 48px 40px;
  border: 2px solid #6CFFD1;
  opacity: 1;
  display: flex;
  gap: 36px;
  box-sizing: border-box;
  justify-content: space-between;
  margin-top: 20px;
  margin-bottom: 32px;
}

.info-panel-stack,
.info-panel-stack-right {
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  gap: 12px;
  flex: 1;
}

.info-panel-stack:last-child {
  align-items: flex-end;
}

.info-panel-title {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0%;
  color: #195258;
  margin: 0;
  text-align: left;
}

.info-panel-item {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0%;
  color: #444444;
  margin: 0;
  text-align: left;
}

#WebFormControl_9bf46c0bd57849fea972695ea3df42a3_ProgressIndicator ol.progress,
.custom-progress-indicator ol.progress {
  display: flex;
  padding-left: 0;
  list-style: none;
  justify-content: space-between;
  position: relative;
  margin: 40px 0 20px;
  background: #F6F6F6;
}

/* Each step */
#WebFormControl_9bf46c0bd57849fea972695ea3df42a3_ProgressIndicator li.list-group-item,
.custom-progress-indicator li.list-group-item {
  background: none;
  color: #195258;
  flex: 1;
  text-align: center;
  position: relative;
  padding-top: 60px;
  cursor: default;
}

/* Circle with icon */
#WebFormControl_9bf46c0bd57849fea972695ea3df42a3_ProgressIndicator li.list-group-item::before,
.custom-progress-indicator li.list-group-item::before {
  content: attr(data-icon);
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 28px;
  line-height: 1;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid #ccc;
  color: #ccc;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.3s ease;
}

/* Connecting line between circles */
#WebFormControl_9bf46c0bd57849fea972695ea3df42a3_ProgressIndicator li.list-group-item:not(:last-child)::after,
.custom-progress-indicator li.list-group-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 24px;
  left: 50%;
  width: calc(100% - 74px);
  background: #DCDFE0;
  z-index: 1;
  height: 4px;
  border-radius: 4px;
  /* transform: translateX(24px); */
  transform: translateX(calc(24px + 15px))
}

/* Step title */
#WebFormControl_9bf46c0bd57849fea972695ea3df42a3_ProgressIndicator li.list-group-item,
.custom-progress-indicator li.list-group-item {
  margin-top: 8px !important;
  font-weight: 500;
  font-size: 16px;
  line-height: 140%;
  border: 0px;
}

/* Active step circle filled & colored */
#WebFormControl_9bf46c0bd57849fea972695ea3df42a3_ProgressIndicator li.list-group-item.active::before,
.custom-progress-indicator li.list-group-item.active::before {
  background-color: #195258;
  border-color: #195258;
  color: white;
}

/* Completed step circle filled & colored */
#WebFormControl_9bf46c0bd57849fea972695ea3df42a3_ProgressIndicator li.list-group-item.text-muted.list-group-item-success::before,
.custom-progress-indicator li.list-group-item.text-muted.list-group-item-success::before {
  background-color: #195258;
  border-color: #195258;
  color: white;
}

/* Future step circle outlined only */
#WebFormControl_9bf46c0bd57849fea972695ea3df42a3_ProgressIndicator li.list-group-item.incomplete::before,
.custom-progress-indicator li.list-group-item.incomplete::before {
  background-color: #F6F6F6;
  border: 1.5px solid #8E9293;
  color: #8E9293;
}

/* Default/future step text color */
#WebFormControl_9bf46c0bd57849fea972695ea3df42a3_ProgressIndicator li.list-group-item,
.custom-progress-indicator li.list-group-item {
  color: #8E9293;
}

/* Completed step text color */
#WebFormControl_9bf46c0bd57849fea972695ea3df42a3_ProgressIndicator li.list-group-item.list-group-item-success,
.custom-progress-indicator li.list-group-item.list-group-item-success {
  color: #195258;
}

/* Active step text color */
#WebFormControl_9bf46c0bd57849fea972695ea3df42a3_ProgressIndicator li.list-group-item.active,
.custom-progress-indicator li.list-group-item.active {
  color: #195258;
}

.entity-form-dual-column tr td.cell:nth-of-type(2) {
  padding-left: 32px !important;
}


.entity-form-dual-column .cell {
  padding: 0px;
  padding-bottom: 28px;
}

#validations .validation-header {
  font-size: 20px;
  margin: 0px !important;
}

.special-field-label {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  color: #195258 !important;
}

.special-field-label-display {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  margin: 0;
  color: #195258 !important;
}

input.form-control::placeholder,
textarea.form-control::placeholder {
  color: #8E9293;
  font-weight: 400;
  opacity: 1;
}

.custom-table th {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  vertical-align: middle;
  padding-bottom: 24px;
}

.custom-table th a {
  font-weight: 700 !important;
  font-size: 18px !important;
  color: #333333 !important;
  line-height: 1.2;
  vertical-align: middle;
  /* padding-bottom: 24px; */
}


.custom-table tbody tr td {
  vertical-align: middle;
  height: 61px;
  font-weight: 500;
}

.custom-input-field {
  padding: 16px 12px;
  height: 48px;
  border: 1px solid #8E9293;
  background: #FFFFFF;
}

.pill {
  display: flex;
  align-items: center;
  height: 40;
  border-radius: 20px;
  opacity: 1;
  gap: 16px;
  padding-top: 8px;
  padding-right: 16px;
  padding-bottom: 8px;
  padding-left: 16px;
  background: #195258;
  color: #ffffff;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
}

.pill-outlined {
  display: flex;
  align-items: center;
  height: 40;
  border-radius: 20px;
  opacity: 1;
  gap: 16px;
  padding-top: 8px;
  padding-right: 16px;
  padding-bottom: 8px;
  padding-left: 16px;
  background: #F6F6F6;
  color: #6A6D6E;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  border: 1px solid #6A6D6E;
}

.pill-outlined-green {
  display: flex;
  align-items: center;
  height: 40;
  border-radius: 20px;
  opacity: 1;
  gap: 16px;
  padding-top: 8px;
  padding-right: 16px;
  padding-bottom: 8px;
  font-weight: 500;
  padding-left: 16px;
  background: #BBFEA1;
  color: #202425;
  border: 0;
}

.pill-outlined-grey {
  display: flex;
  align-items: center;
  height: 40;
  border-radius: 20px;
  opacity: 1;
  gap: 16px;
  padding-top: 8px;
  font-weight: 500;
  padding-right: 16px;
  padding-bottom: 8px;
  padding-left: 16px;
  background: #DCDFE0;
  color: #202425;
  border: 0;
}

.selectable-search-results li {
  padding: 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  align-content: center;
  height: 54px;
  color: #3A404A;
  background-color: #FEFEFE;
  font-weight: 400;
}

.selectable-search-results li:hover {
  background-color: #CAFFEF;
  color: #3A404A;
  font-weight: 400;
}

.selectable-search-results li:active {
  background-color: #6CFFD1;
  color: #3A404A;
  font-weight: 500;
}

.search-result-item {
  padding: 10px 15px;
}

.search-item-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.no-results {
  text-align: center;
  padding: 20px 15px !important;
  background-color: #FEFEFE !important;
  border: 1px solid #E2E1DE !important;
  height: 195px !important;
  cursor: default !important;
}

.no-results-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.remove-selected-result-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: #C4500E;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.2s ease;
}

.remove-selected-result-btn:hover {
  color: #a71d2a;
}

.input-icon-wrapper {
  position: relative;
}

.input-icon-wrapper input {
  width: 100%;
  padding-right: 30px;
  box-sizing: border-box;
}

.input-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #888;
}

.search-item-right-text {
  max-width: 910px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
  flex-shrink: 0;
}

.report-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.left-column {
  flex: 6;
}

.right-column {
  flex: 4;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  padding-top: 4px;
}

.meta-row {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.white-box-content.collapsed {
  height: 60px;
  padding: 40px;
}


.collapsed-view {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 15px;
  gap: 20px;
}

.collapsed-view h5 {
  flex: 2;
  margin: 0;
  font-weight: 700;
}

.collapsed-view p {
  flex: 1;
  margin: 0;
  font-weight: 500;
}

.collapsed-view a {
  flex: 0;
  text-decoration: underline;
  cursor: pointer;
}

.hide {
  display: none !important;
}

.requiredVal {
  color: #C4500E;
}

.custom-select {
  border: 1px solid #8E9293 !important;
  background-color: white !important;
}

.search-item-container-four-cols {
  display: flex;
  align-items: center;
  max-width: 1038px;
}

.search-item-container-four-cols span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-item-container-four-cols span:nth-child(1) {
  width: 100px;
  flex-shrink: 0;
}

.search-item-container-four-cols span:nth-child(2) {
  flex: 1 1 auto;
  min-width: 0;
}

.search-item-container-four-cols span:nth-child(3),
.search-item-container-four-cols span:nth-child(4) {
  width: 50px;
  flex-shrink: 0;
  text-align: right;
}

.container-column {
  display: flex;
  flex-direction: column;
  padding: 0;
}


/* Modal overlay */
.custom-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

/* Modal box */
.custom-modal-content {
  background: #fefefe;
  border: 1px solid #E2E1DE;
  width: 640px;
  height: 504px;
  display: flex;
  flex-direction: column;
  box-shadow: 0px 1px 8px 0px #2E333B4F;
  position: relative;
  padding: 28px;
  box-sizing: border-box;
}

/* Header */
.custom-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.custom-modal-header h3 {
  margin: 0;
}

/* Body */
.custom-modal-body {
  flex: 1;
  padding-top: 32px;
  padding-bottom: 32px;
  gap: 20px;
  display: flex;
  flex-direction: column;
}

/* Footer */
.custom-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: auto;
}

.cancel-link {
  text-decoration: none;
  color: #666;
  padding: 8px 12px;
  cursor: pointer;
}

.cancel-link:hover {
  text-decoration: underline;
}

.successPanelHeader {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}

.alert-warning {
  background-color: #FFF0E8;
  border: 1px solid #FADAC8;
  display: flex;
  flex-direction: row;
  padding-top: 20px;
  padding-right: 24px;
  padding-bottom: 20px;
  padding-left: 24px;
  gap: 16px;
  margin-top: 24px;
}

.alert-warning span {
  color: #6A431C;
  font-size: 32px;
}

.alert-warning p {
  color: #3F260D;
  margin: 0;
}

.alert-error {
  background-color: #FEE1DC;
  border: 1px solid #FEAB98;
  display: flex;
  flex-direction: row;
  padding-top: 20px;
  padding-right: 24px;
  padding-bottom: 20px;
  padding-left: 24px;
  gap: 16px;
  margin-top: 24px;
  margin-bottom: 12px;
}

.alert-error span {
  color: #8C3707;
  font-size: 32px;
}

.alert-error p {
  color: #8C3707;
  margin: 0;
}

.alert-error li {
  color: #8C3707;
  margin: 0;
}

.subtitle {
  font-family: 'Circular', sans-serif !important;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2%;
  vertical-align: middle;
  margin: 0;
}

.field-error {
  display: flex;
  flex-direction: row;
  gap: 6px;
  margin-top: 8px;
}

.field-error span {
  color: #C4500E;
  font-size: 18px;
}

.field-error p {
  color: #C4500E;
  font-weight: 400;
  font-size: 16px;
}

/* Scope styles to .radio-group only */
.radio-group input[type="radio"] {
  position: absolute !important;
  opacity: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  border: 0 !important;
}


.radio-group label {
  position: relative;
  padding-left: 30px;
  margin-right: 20px;
  cursor: pointer;
  user-select: none;
}

.radio-group label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border: 1.5px solid #8E9293;
  border-radius: 50%;
  background: white;
  box-sizing: border-box;
  transition: border-color 0.2s, background-color 0.2s;
}

/* resting */
.radio-group input[type="radio"]:checked+label::before {
  background-color: white;
  border: 1.5px solid #8E9293;
}

/* resting selected dot */
.radio-group input[type="radio"]:checked+label::after {
  content: "";
  position: absolute;
  left: 7.5px;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  background: #195258;
  border-radius: 50%;
}

.radio-group label:hover::before {
  border: 2px solid #8E9293;
}

.radio-group label:active::before {
  border: 3px solid #8E9293;
}

.radio-group input[type="radio"]:focus+label::before {
  border: 4.5px solid #6CFFD1;
  /* outline: 2px solid #005a9e;
  outline-offset: 2px; */
}

.radio-group input[type="radio"]:disabled+label {
  color: #aaa;
  cursor: not-allowed;
}

.radio-group input[type="radio"]:disabled+label::before {
  border-color: #ccc;
  background: #eee;
}

.custom-dropdown {
  position: relative;
  width: 100%;
  user-select: none;
  height: 48px;
}

.custom-dropdown__selected {
  position: relative;
  padding: 15px 30px 15px 10px;
  /* keep right padding for arrow */
  height: 48px;
  line-height: 28px;
  border: 1px solid #8E9293;
  border-radius: 0;
  background-color: white;
  cursor: pointer;
  user-select: none;
  box-sizing: border-box;
}

.custom-dropdown__selected.error {
  border: 2px solid #C4500E !important;
}

.custom-dropdown__selected:focus {
  outline: 2px solid #0078d4;
}

.custom-dropdown__list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  border: 1px solid #ccc;
  border-top: none;
  background-color: #FEFEFE;
  max-height: 384px;
  overflow-y: auto;
  z-index: 100;
  display: none;
}

.custom-dropdown__list.open {
  display: block;
}

.custom-dropdown__option {
  padding: 16px;
  cursor: pointer;
  font-weight: 400;
  color: #3A404A;
  background: #FEFEFE;
  height: 56px;
}

.custom-dropdown__option:hover {
  background-color: #CAFFEF;
  color: #3A404A;
  font-weight: 400;
}

.custom-dropdown__option[aria-selected="true"] {
  background-color: #6CFFD1;
  color: #3A404A;
  font-weight: 500;
}

.custom-dropdown__option[aria-disabled="true"] {
  color: #aaa;
  cursor: not-allowed;
}

.custom-dropdown__selected::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  border-style: solid;
  border-width: 6px 5px 0 5px;
  /* creates a downward-pointing arrow */
  border-color: #333 transparent transparent transparent;
  pointer-events: none;
  transition: transform 0.3s ease;
}

/* Rotate arrow when dropdown is open */
.custom-dropdown[aria-expanded="true"] .custom-dropdown__selected::after {
  transform: translateY(-50%) rotate(180deg);
}

.readonly-like-p {
  border: none !important;
  background-color: transparent !important;
  pointer-events: none;
  color: inherit !important;
  font-family: inherit !important;
  font-size: inherit !important;
  padding: 0 !important;
  margin: 0 !important;
  width: auto !important;
}

.readonly-like-p::placeholder {
  color: transparent !important;
}

.otb-view-custom {
  background-color: #FEFEFE !important;
}

input::placeholder {
  color: #8E9293 !important;
  opacity: 1;
}

.custom-tabs {
  display: flex;
  border-bottom: 2px solid #E2E1DE;
  border-top: 2px solid #E2E1DE;
  height: 72px;
}

.custom-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s ease;
  color: #333;
}

.custom-tab:hover:not(:disabled):not(.active) {
  font-weight: 700;
  color: #2E333B;
  border-bottom: 6px solid #195258;
}

.custom-tab:focus {
  border: 3px solid #6CFFD1;
  color: #202425;
  font-weight: 400;
}

.custom-tab.active {
  border-bottom: 6px solid #6CFFD1;
  font-weight: 700;
  color: #202425;
}

.custom-tab:disabled {
  color: #202425;
  font-weight: 400;
  border-bottom: 2px solid #DCDFE0;
  cursor: not-allowed;
}

.custom-tab-panels {
    position: relative;
    overflow: hidden;
    transition: height 0.3s ease;
}

.custom-tab-panel {
  display: none;
  padding: 1rem 0;
}

.custom-tab-panel.active {
  display: block;
}

.validation-summary {
  flex-direction: column !important; 
  background-color: #FEE1DC !important;
  border: 1px solid #FEAB98 !important;
  display: flex;
  padding: 16px !important;
  gap: 0;
}