:root {
  --primary-50: #e8ebfa;
  --primary-100: #b6c0ef;
  --primary-200: #93a2e7;
  --primary-300: #6277dc;
  --primary-400: #435dd5;
  --primary-500: #1434cb;
  --primary-600: #122fb9;
  --primary-700: #0e2590;
  --primary-800: #0b1d70;
  --primary-900: #081655;

  --secondary-50: #fff9e8;
  --secondary-100: #feebb6;
  --secondary-200: #fee293;
  --secondary-300: #fdd562;
  --secondary-400: #fdcd44;
  --secondary-500: #fcc015;
  --secondary-600: #e5af13;
  --secondary-700: #b3880f;
  --secondary-800: #8b6a0c;
  --secondary-900: #6a5109;

  --info-50: #e8f1ff;
  --info-100: #b7d5fe;
  --info-200: #94c0fe;
  --info-300: #63a3fd;
  --info-400: #4591fd;
  --info-500: #1676fc;
  --info-600: #146be5;
  --info-700: #1054b3;
  --info-800: #0c418b;
  --info-900: #09326a;
  --info-1000: #1434cb33;

  --success-50: #eef9e8;
  --success-100: #c9edb8;
  --success-200: #afe496;
  --success-300: #8bd766;
  --success-400: #75d048;
  --success-500: #52c41a;
  --success-600: #4bb218;
  --success-700: #3a8b12;
  --success-800: #2d6c0e;
  --success-900: #22520b;

  --danger-50: #fdeded;
  --danger-100: #f8c6c6;
  --danger-200: #f5aaab;
  --danger-300: #f18484;
  --danger-400: #ee6c6d;
  --danger-500: #ea4748;
  --danger-600: #d54142;
  --danger-700: #a63233;
  --danger-800: #812728;
  --danger-900: #621e1e;

  --neutral-10: #ffffff;
  --neutral-20: #fafafa;
  --neutral-30: #f4f4f4;
  --neutral-40: #ededed;
  --neutral-50: #e1e1e1;
  --neutral-60: #d2d2d2;
  --neutral-70: #c3c3c3;
  --neutral-80: #b5b5b5;
  --neutral-90: #a6a6a6;
  --neutral-100: #959595;
  --neutral-200: #888888;
  --neutral-300: #6b6b6b;
  --neutral-400: #4d4d4d;
  --neutral-500: #3e3e3e;
  --neutral-600: #2e2e2e;
  --neutral-700: #1f1f1f;
  --neutral-800: #171717;
  --neutral-900: #0f0f0f;

  /* secondary color*/
  --primary-color: #274ecb;

  /* secondary color*/
  --secondary-color: #f5bf13;

  /* ligher shade of blue */
  --light-blue-color: #f6f8fe;

  /* darker shade of blue */
  --dark-blue-color: #aebaf4;

  /* green color used for success */
  --dark-green-color: #008000;

  /* border color */
  --border-color: #dbdcdf;

  /* form background color */
  --form-color: #f5f5f5;

  /* used for edit button color */
  --blue-color: #3d5ccb;

  /* used for delete button color */
  --red-color: #ff4d4f;

  --red-color-400: #ff7172;

  --red-color-300: #ff9495;

  /* used for title color */
  --midnight-blue: #27303c;

  --white-color: #ffffff;

  --black-color: #000000;

  --subheading: #e6e6e6;
  --titleColor: #858585;
  --menuTitleColor: #333333;
  --selectPlaceholder: #908c89;
  --table-header-bg-color: #4e75d9;
  --blue-link-color: #1677ff;
  --sider-menu-color: #3d5ccb;
  --light-cream-color: #fef9ed;
  --bagde-background: #ffe7b7;
  --badge-border-color: #1434cb;
  --table-row-color: #f9fafb;
  --table-header-color: #f4f4f4;
  --table-body-text-color: #374151;
}

body {
  font-size: 16px;
}

/* start noto-sans font-family heading size */
h1 {
  font-size: 60px;
  line-height: 78px;
}

h2 {
  font-size: 48px;
  line-height: 64px;
}

h3 {
  font-size: 36px;
  line-height: 48px;
}

h4 {
  font-size: 24px;
  line-height: 34px;
}

h5 {
  font-size: 20px;
  line-height: 30px;
}

h6 {
  font-size: 18px;
  line-height: 28px;
}

p {
  font-size: 16px;
  line-height: 140%;
}

/* end noto-sans font family heading size */

.a8-show-button {
  color: var(--dark-green-color) !important;
  border-color: var(--dark-green-color) !important;
}

.a8-edit-button {
  color: var(--blue-color) !important;
  border-color: var(--blue-color) !important;
}

.a8-disabled-button {
  /* border-color: #d9d9d9 !important; */
  color: rgba(0, 0, 0, 0.25) !important;
  /* background: rgba(0, 0, 0, 0.04) !important; */
  /* background-color: #f5f5f5 !important; */
  box-shadow: none !important;
}

.a8-delete-button {
  color: var(--red-color) !important;
  border-color: var(--red-color) !important;
}

.a8-failed-button {
  color: var(--red-color) !important;
  border-color: var(--red-color) !important;
}

.a8-error {
  color: var(--red-color) !important;
  border-color: var(--red-color) !important;
}

.a8-title {
  color: var(--midnight-blue) !important;
  font-size: 24px !important;
  text-align: center;
  font-weight: 600;
}

.a8-bg-white {
  background: var(--white-color) !important;
}

.a8-subheading {
  color: var(--subheading-color) !important;
}

.a8-black {
  color: var(--black-color);
}

.a8-action-table .ant-table-tbody > tr:nth-child(odd) {
  background-color: var(--table-row-color);
}

.a8-action-table table tr > th:last-child,
.a8-action-table table tr > td:last-child {
  /* width: 200px; */
}

/* Moved required asterick from left to right for fields */
.ant-form-item-required {
  position: relative;
}

.ant-form-item
  .ant-form-item-label
  > label.ant-form-item-required:not(
    .ant-form-item-required-mark-optional
  )::before {
  position: absolute;
  right: -3px;
}

h1.a8-page-title,
h2.a8-page-title {
  background: var(--midnight-blue) !important;
  font-size: 24px !important;
  text-align: center;
  font-weight: 600;
  padding: 18px 36px;
  color: var(--white-color);
  border-radius: 50px;
}

.ant-page-header .ant-page-header-heading {
  padding: 8px 16px;
  background: #e5ecfc;
  border-radius: 8px;
  margin-bottom: 12px;
  border: 1px solid var(--neutral-60);
}

.query-btn-group .ant-btn {
  background-color: #274ecb;
  border-radius: 8px !important;
  color: white;
  padding: 10px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}

.ant-btn.ant-btn-lg.ant-btn-icon-only {
  background: var(--white-color);
  /* border-radius: 8px; */
}

.ant-page-header-back-button .ant-btn.ant-btn-lg.ant-btn-icon-only:hover {
  background: var(--secondary-color);
  border-radius: 24px;
}

.ant-page-header-heading-title {
  color: var(--white-color) !important;
}

.floating-label {
  /* position: absolute; */
  top: 0;
  z-index: 10;
  background: var(--white-color);
  /* margin-left: 16px; */
  margin-top: -12px;
  padding: 0px 4px;
  font-weight: 600;
  color: var(--black-color);
}

.floating-label-custom {
  /* position: absolute; */
  top: 0;
  z-index: 10;
  background: var(--white-color);
  /* margin-left: 16px; */
  margin-top: -25px;
  padding: 0px 4px;
  font-weight: 600;
  color: var(--black-color);
}

.custom-dropdown .ant-select-selector {
  padding: 25px 12px !important;
  border-radius: 8px !important;
}

.custom-dropdown .ant-form-item-control-input-content {
  padding-bottom: 0.75rem !important;
}

.multi-custom-dropdown .ant-select-selector {
  padding: 6px 6px !important;
  border-radius: 8px !important;
}

.multi-custom-dropdown-full-width .ant-select-selector {
  width: 100%;
  padding: 6px 6px !important;
  border-radius: 8px !important;
}

.refine-create-button {
  /* background: var(--primary-500) !important; */
  border-radius: 24px !important;
}

.refine-edit-button {
  background: var(--white-color) !important;
  color: var(--black-color) !important;
}

.bg-badge {
  background: var(--bagde-background);
  color: var(--menuTitleColor);
  border: 1px solid var(--badge-border-color);
  height: 45px;
  width: 45px;
  text-align: center;
  font-size: larger;
  font-weight: 600;
}

.badge-label {
  border: 1px solid #e2e2e2;
  padding-top: 3px;
  padding-bottom: 3px;
  padding-right: 3px;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  border-left: none;
}

/* 
.ant-table-thead > tr th {
  background-color: var(--table-header-bg-color) !important;
  color: var(--white-color) !important;
  font-size: 17px;
 
} */

.ant-table-container {
  /* border: none !important; */
  border-inline-start: 1px solid var(--neutral-60) !important;
  border-top: 1px solid var(--neutral-60) !important;
  border-inline-end: 1px solid var(--neutral-60) !important;
  border-bottom: 1px solid var(--neutral-60) !important;
}

.ant-table-thead > tr th {
  /* background-color: var(--table-header-color) !important; */
  /* color: var(--black-color) !important; */
  font-size: 14px;
  padding: 12px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
  font-weight: 500 !important;
}

.ant-table-tbody > tr > td {
  font-size: 14px !important;
  color: var(--neutral-700);
}

.ant-table-container {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.ant-table-tbody > tr:last-child > td:first-child {
  border-bottom-left-radius: 8px;
}

.ant-table-tbody > tr:last-child > td:last-child {
  border-bottom-right-radius: 8px;
}

.secondary-btn {
  background-color: white;
  border-radius: 8px !important;
  border: 1px solid var(--table-header-bg-color) !important;
  color: var(--table-header-bg-color);
}

.ant-segmented-item {
  height: 45px !important;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ant-segmented-item .ant-segmented-item-selected {
  height: 45px !important;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  text-align: center;
  justify-content: center;
}

.border-radius-20 {
  border-radius: 20px;
}

.add-custom-column .ant-space-item > button > span {
  font-size: 16px !important;
}

.card-style {
  /* padding: 0px !important; */
  /* padding: 20px 0px !important; */
  background-color: #e5ecfc;
  /* height: 65px; */
  border: unset;
}

.unified-card-style {
  padding: 0px !important;
  /* border: 1px solid var(--neutral-60); */
  /* background-color: var(--header-bg); */
}

.ant-card.unified-card-style .ant-card-body {
  padding: 24px !important;
  /* border-radius: 0 0 8px 8px; */
}

.ant-btn.ant-btn-lg {
  border-radius: 4px !important;
  font-size: 16px;
  font-weight: 400;
  padding: 8px 12px;
}

/* file upload list delete icon css start */
.ant-btn-icon .anticon.anticon-delete {
  color: var(--red-color) !important;
  font-size: 24px !important;
}

/* list delete icon disabled */
.a8-disabled-button .ant-btn-icon .anticon.anticon-delete {
  color: rgba(0, 0, 0, 0.25) !important;
  font-size: 20px !important;
}

.ant-upload-list-item-actions.picture {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* file upload list delete icon css end */

/* join column table header background first child css */
.join-column-table-parent .ant-table-container .ant-table-thead td {
  background-color: var(--primary-color) !important;
  color: var(--white-color) !important;
}

.delete-icon-size {
  font-size: 20px !important;
}

.custom-dropdown .ant-select-arrow {
  margin-top: 0px !important;
}

.ant-picker {
  width: 100%;
}

.isActive-button-parent .ant-select-selector {
  padding: 12px 12px !important;
  border-radius: 20px !important;
}

.isActive-button-parent .ant-select-arrow {
  margin-top: -5px !important;
}

.custom-border .ant-input-affix-wrapper {
  border-radius: 8px !important;
}

.multilingual.ant-dropdown-trigger {
  /* border: 1px solid var(--subheading); */
  padding: 8px;
  border-radius: 8px;
  margin: 0px 4px;
  color: var(--menuTitleColor) !important;
  font-size: 18px;
}

.org-select .ant-select-arrow {
  margin-top: -5px !important;
}

/* ant spinner */
.ant-spin.ant-spin-spinning {
  background-color: rgba(189, 189, 189, 0.2);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

aside {
  border-right: unset !important;
}

/* cancel btn css */
.cancel-button.ant-btn.ant-btn-default {
  border: 1px solid var(--primary-200);
  color: var(--primary-500) !important;
}

.cancel-button.ant-btn.ant-btn-default:hover {
  border: 1px solid var(--primary-200);
  background-color: var(--primary-50) !important;
}

/* pagination active css */
.ant-pagination .ant-pagination-item-active {
  border-color: var(--primary-color);
  color: var(--white-color);
  background-color: var(--primary-500);
}

.ant-pagination .ant-pagination-item-active a {
  color: var(--white-color);
}

.ant-table-cell::before {
  background-color: unset !important;
}

.ant-select-selection-placeholder {
  color: var(--selectPlaceholder) !important;
}

.unified-seperator {
  font-size: 24px;
  font-weight: 300;
  padding: 0px 14px;
  color: var(--titleColor);
}

.floating-disabled .floating-label {
  background: transparent !important;
}

.floating-disabled .ant-input-disabled,
.floating-disabled .bodmas-input,
.floating-disabled .ant-select-selector {
  border: unset !important;
}

.custom-textarea-input {
  padding-top: 10px !important;
}

/* Arithmetic icons */
.arithmetic-icons {
  height: 36px;
  width: 36px;
  font-size: 20px;
  border-radius: 25px;
  border: 2px solid var(--titleColor);
  background: var(--form-color);
  cursor: move;
  text-align: center;
}

.formula-container div:first-child span:first-child,
.formula-container div:last-child span:first-child {
  border: none !important;
  border-color: unset !important;
  background-color: unset !important;
}

.arithmetic-delete-icon {
  background-color: var(--form-color);
  display: none;
}

.feel-expression-drop-area:hover .arithmetic-delete-icon {
  display: block;
}

.feel-expression-select-input {
  border: 2px solid var(--titleColor);
  background: var(--form-color);
  cursor: move;
  margin-left: 16px;
  text-align: center;
  border-radius: 25px;
  padding: 8px 24px;
}

.feel-expression-select-variable {
  cursor: move;
  margin-left: 16px;
  border-radius: 25px;
  padding: 8px 24px;
  border: 2px solid var(--titleColor);
  background: var(--form-color);
}

.checkbox-parent.select-all-checkbox .ant-checkbox .ant-checkbox-inner:after {
  border: 2px solid var(--primary-color);
  border-top: 0;
  border-left: 0;
}

.checkbox-parent.select-all-checkbox .ant-checkbox-checked .ant-checkbox-inner {
  background-color: var(--white-color);
  border-color: var(--white-color);
}

.custom-textarea-input {
  color: var(--black-color) !important;
}

.card-title {
  margin: 0px;
  font-weight: 700;
  color: var(--menuTitleColor);
  font-size: 22px;
}

.ant-card.card-style .ant-card-body {
  padding: 12px 24px !important;
  /* border-radius: 0 0 8px 8px; */
  width: 100%;
}

.card-style .ant-btn-primary {
  /* background: var(--white-color); */
  /* color: var(--primary-color); */
  /* border: 1px solid var(--primary-color); */
}

.ant-card {
  border: 1px solid var(--neutral-60);
  border-radius: 8px;
}

/* 
for noticaition */

#messages {
  animation: 1s fadeIn;
  animation-fill-mode: forwards;
  visibility: hidden;
}

@keyframes fadeIn {
  50% {
    visibility: hidden;
  }

  60% {
    visibility: visible;
    opacity: 0.5;
  }

  100% {
    visibility: visible;
    opacity: 1;
  }
}

.floating-label + .ant-form-item {
  margin-top: 8px;
}

.input-http .floating-label + .ant-form-item {
  margin-bottom: 0px !important;
}

.element-sm .floating-label {
  font-size: 14px;
}

.ant-form-item
  .ant-input-affix-wrapper.ant-input-affix-wrapper-sm
  > input.ant-input {
  font-size: 14px;
}

.ant-form-item .ant-form-item-explain .ant-form-item-explain-error,
.ant-form-item .ant-form-item-extra .ant-form-item-explain-error {
  font-size: 14px;
}

.auth-error-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 100px;
  text-align: center;
  background-color: white;
  height: 100vh;
}

.notification .notification-arrow {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid var(--white-color);
  top: -10px;
  right: 42%;
}

.avatar-icon {
  color: #805bd9;
}

.avatar-icon-bg {
  color: #d8d8d8;
}

.custom-header {
  background-color: #e5ecfc !important;
  border-radius: 8px !important;
}

.custom-header .ant-card-body {
  padding: 8px 16px !important;
}

.custom-header .ant-btn-text:hover {
  background: var(--secondary-color) !important;
}

.file-upload-modal .ant-modal-content {
  max-width: 1000px;
  min-width: 500px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.sync-frequency .custom-dropdown .ant-select-selector {
  border-radius: 8px 0px 0px 8px !important;
}

.sync-frequency-value .custom-border .ant-input-affix-wrapper {
  border-radius: 0px 8px 8px 0px !important;
}

.sync-frequency-value .floating-label {
  visibility: hidden !important;
}

.checkDedupe .ant-form-item .ant-form-item-feedback-icon {
  visibility: inherit !important;
}

.a8-error {
  color: var(--red-color) !important;
  border-color: var(--red-color) !important;
  font-size: 14px !important;
}

.source-form-view .ant-input-disabled {
  background-color: transparent !important;
  /* color: inherit !important; */
}

/* Alternate row background color */
.a8-alter-row-table .ant-table-tbody > tr:nth-child(odd) {
  background-color: var(--table-row-color);
  /* even rows */
}

.table-row-error > .ant-table-cell,
.uni-table-row-error {
  background-color: var(--red-color-300) !important;
}

.table-row-error > .ant-table-cell.ant-table-cell-row-hover,
.uni-table-row-error:hover {
  background-color: var(--red-color-400) !important;
}

.table-row-deleted > .ant-table-cell {
  color: var(--deactive-color);
}

.rc-virtual-list-scrollbar.rc-virtual-list-scrollbar-vertical.rc-virtual-list-scrollbar-visible {
  right: -9px !important;
}

.multi-custom-dropdown-full-width .ant-select-selector {
  width: 100%;
  padding: 10px 11px !important;
  border-radius: 8px !important;
}

.multi-custom-dropdown-full-width .ant-select-selection-placeholder {
  margin-left: -6px !important;
}

.floating-label + .ant-select-multiple,
.floating-label + .ant-select {
  margin-top: 8px;
}

/* ant list  */
.ant-list {
  background-color: var(--white-color);
  border: 1px solid var(--neutral-60);
  border-radius: 8px;
  padding: 24px;
}

.form-section-title {
  color: var(--neutral-700);
  font-weight: 400 !important;
  padding-bottom: 8px;
  margin-bottom: 24px !important;
  border-bottom: 1px solid var(--neutral-70);
}

.ant-divider {
  border-color: var(--neutral-70) !important;
  /* margin-top: 0 !important; */
}

.form-card {
  border-color: var(--neutral-60) !important;
}

.form-title {
  color: var(--neutral-700) !important;
}

.custom-form .ant-card-actions {
  display: none !important;
}

/* only on finished steps */
/* .ant-steps-item.ant-steps-item-finish .ant-steps-item-tail::before,
.ant-steps-item.ant-steps-item-finish .ant-steps-item-tail::after {
  background-color: var(--success-300) !important;
  left: 0;
  width: 6px;
} */
.refine-delete-button,
.a8-edit-button,
.a8-show-button,
.a8-delete-button {
  border: unset;
  padding: 0px !important;
  outline: unset !important;
  background: unset !important;
  padding: 0px !important;
  /* width: 0px !important; */
  box-shadow: unset !important;
  border-radius: unset !important;
}

.a8-edit-button,
.a8-show-button {
  color: var(--primary-500) !important;
}

.a8-edit-button:hover,
.a8-show-button:hover {
  color: var(--primary-200) !important;
}

.refine-delete-button:hover {
  color: var(--danger-200) !important;
}

.a8-show-button svg {
  font-size: 24px !important;
}

.ant-picker {
  border-radius: 8px !important;
  color: var(--neutral-800) !important;
}

.ant-select:not(.ant-select-disabled) .ant-select-selector {
  background-color: var(--neutral-10) !important;
}

.ant-upload.ant-upload-select {
  width: 100%;
  border: 1px solid var(--neutral-60);
  border-radius: 8px;
  padding: 12px;
  pointer-events: none;
}

.ant-card .ant-card-actions {
  border-top: unset;
}

.ant-card .ant-card-actions li {
  margin-top: unset !important;
  margin-bottom: 24px;
}

.ant-input-disabled textarea,
.custom-textarea-input.ant-input-disabled {
  color: var(--neutral-100) !important;
}

.ant-tooltip-inner {
  background-color: var(--white-color) !important;
  color: var(--neutral-800) !important;
  border: 1px solid var(--neutral-60) !important;
  border-radius: 8px;
}

.back-arrow.ant-btn-icon-only {
  background: var(--neutral-30) !important;
  border: 1px solid var(--neutral-60) !important;
}

.back-arrow.ant-btn-icon-only:hover {
  background: var(--neutral-60) !important;
}

.ant-pagination.ant-table-pagination {
  margin: 24px 0px 0px 0px !important;
}

.undoable-container {
  display: 'flex';
  align-items: 'center';
  justify-content: 'space-between';
  margin-top: '-7px';
}

.undoable-span {
  margin-left: 8;
  width: '100%';
}

.undoable-button {
  flex-shrink: 0;
}

.btn-width {
  width: 80px;
}
