.login-page {
  overflow: auto;
  height: 100vh;
}
.login-page .bg-img {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
}
.login-header {
  background: #ffff;
  box-shadow: 0px 0px 17px 0px;
  padding: 27px 0px;
  display: flex;
  justify-content: center;
}

.login-header img {
  width: 25%;
  max-height: 53px;
}
.login-form-container {
  padding: 100px 0px;
  max-width: 420px;
  margin: auto;
}

.login-form-container .ant-input-affix-wrapper {
  border-radius: 27px;
  padding: 2px 16px;
}

.login-form-container .ant-input {
  height: 43px;
}

.login-form-container .login-btn {
  width: 100%;
  border-radius: 4rem !important;
  height: 46px;
  font-size: 18px;
}

.login-reset {
  color: #725bb4 !important;
  text-align: center;
  margin-top: 10px;
}

.google-btn {
  width: 100%;
  border-radius: 4rem !important;
  height: 46px !important;
  font-size: 18px !important;
  color: #767676 !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffff !important;
}

.google-btn span:last-child,
.okta-btn span:last-child,
.azure-btn span:last-child {
  text-align: center;
  width: 95%;
}
.saml-btn span:last-child {
  text-align: center;
  width: 95%;
}
.okta-btn .ant-btn {
  width: 100%;
  border-radius: 4rem !important;
  height: 46px !important;
  font-size: 18px !important;
  background-color: #00297a !important;
  color: #ffff !important;
  margin-top: 10px;
}

.azure-btn .ant-btn {
  width: 100%;
  border-radius: 4rem !important;
  height: 46px !important;
  font-size: 18px !important;
  background-color: #337bb6 !important;
  color: #ffff !important;
  margin-top: 10px;
}

.saml-btn .ant-btn {
  width: 100%;
  border-radius: 4rem !important;
  height: 46px !important;
  font-size: 18px !important;
  background-color: #ffab40 !important;
  color: #595959 !important;
  margin-top: 10px;
}

.login-form-container .ant-input-prefix {
  margin: 0px 5px;
}

.login-form-container .ant-input-affix-wrapper > input.ant-input {
  padding: 0 5px;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
  border-bottom: 1px solid #e1e1e1dd;
}

/* Main app header: center nav stays viewport-centered when left/right widths differ (e.g. chat button) */
.navbar-container.navbar-container--app {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  justify-content: unset;
  background: #fff;
}

.navbar-container--app .navbar-container__left {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
  min-width: 0;
}

.navbar-container--app .navbar-container__center {
  justify-self: center;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  /* When Menu overflow is disabled, allow horizontal scroll instead of a “…” dropdown */
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.navbar-container--app .navbar-container__right {
  justify-self: end;
}

.navbar-container__right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.navbar-container .ant-menu-horizontal {
  border-bottom: unset;
}

.navbar-container .ant-menu {
  width: 50%;
  text-transform: uppercase;
  font-weight: 400;
  display: flex;
  justify-content: center;
}

.navbar-container.navbar-container--app .ant-menu {
  width: auto;
  max-width: 100%;
  flex: 1 1 auto;
  justify-content: center;
}

.mfa-sent-msg {
  width: 95%;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #af7f18;
  background: floralwhite;
  border: 1px solid #ffebd7;
  margin: 0px auto;
  margin-bottom: 20px;
}

.login-error-msg {
  width: 95%;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cf1322;
  background: #fff1f0;
  border: 1px solid #ffa39e;
  margin: 0px auto;
  margin-bottom: 20px;
}

/* Task Manager */

.table-column-filter .ant-form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow-x: auto;
  position: relative;
  width: 100%;
  padding-right: 0px !important;
}

.table-column-filter .ant-input,
.table-column-filter
  .ant-select:not(.ant-select-customize-input)
  .ant-select-selector,
.table-column-filter .ant-picker,
.table-column-filter .ant-input-number {
  border: 1px solid #d9d9d978;
}

.txn-panel-container {
  width: 100%;
}
.txn-panel-left {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
}

.txn-panel-right {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
}

.txn-panel-center {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.txn-panel-container .ant-col > span {
  margin-right: 10px;
}

.data-table .ant-input-affix-wrapper {
  padding: 5px 11px !important;
  border-radius: 4px;
  margin-right: 10px;
  border: 1px solid #eeeeee !important;
}

.data-table
  .txn-panel-container
  .ant-select-single:not(.ant-select-customize-input)
  .ant-select-selector {
  height: 34px !important;
  padding: 1px 11px !important;
  width: 115px;
  border: 1px solid #eeeeee !important;
}
.data-table .ant-select:not(.ant-select-customize-input) .ant-select-selector {
  border-radius: 4px !important;
}

.txn-panel-center > .ant-btn {
  margin-right: 5px;
  text-align: center;
}

.txn-panel-container .ant-row {
  background-color: #f1effb;
  padding: 10px;
  margin: 10px 0px;
  border-radius: 10px;
}

/* .txn-panel-center > .ant-btn:last-child {
  color: #d46b08 !important;
  background: #fff7e6 !important;
  border-color: #ffd591 !important;
} */

.txn-panel-right .ant-btn {
  margin-left: 5px;
}
.table-column-filter {
  border-radius: 5px;
  margin-bottom: 15px;
  background: #f1f0f8;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.table-column-filter .ant-form-item {
  margin: 0 2px 0px !important;
}

.table-column-filter .ant-input,
.table-column-filter .ant-select-selector,
.table-column-filter .ant-picker,
.table-column-filter .ant-input-number {
  min-width: 200px;
  width: 100%;
}
.data-table .table-column-filter .ant-input-number-input {
  text-align: left !important;
}

.global-filter-panel-container {
  margin-bottom: 15px;
}
.global-filter-panel-container .ant-btn {
  margin-right: 7px;
}

.glb-filter-right {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
}
.data-table-action .ant-btn {
  border: none;
  background: none !important;
  box-shadow: none;
  padding: 0px;
  padding-left: 8px;
  color: #000 !important;
}

.text-align-right {
  text-align: right;
}

.data-table td .ant-form-item {
  margin: unset !important;
}

.txn-manager-container .data-table .ant-table-body {
  max-height: calc(100vh - 455px) !important;
}
.parent-txn-ctr .data-table .ant-table-body {
  max-height: calc(100vh - 235px) !important;
}
.data-table .ant-input-number {
  width: unset !important;
}

.data-table .ant-input-number-input {
  text-align: right !important;
}

.filter-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f1f0f8;
  padding: 10px !important;
  border-radius: 5px;
  margin-bottom: 10px;
}

.filter-wrapper .ant-form-item {
  margin: 0px 5px 0px 0px;
}

.filter-wrapper .ant-form-item:last-child {
  margin-right: 0px;
}

.filter-wrapper .ant-row {
  width: 100%;
}

.filter-wrapper .ant-select-selector {
  min-width: 100px;
}

.table-action svg {
  color: #725bb5 !important;
  margin-right: 10px;
}

.table-action svg:hover {
  cursor: pointer;
}

.table-action {
  display: flex;
}

.table-action .disabled-item svg {
  color: #b9b9b9dd !important;
  cursor: not-allowed;
}

.table-tag {
  border-radius: 12px;
  padding: 2px 8px;
  font-size: 12px;
  text-align: center;
}
.data-table-action .g-btn-default:hover,
.data-table-action .g-btn-default:active,
.data-table-action .g-btn-default:focus {
  color: #000000d9 !important;
  background: #eee !important;
}

.parent-txn-ctr .table-column-filter .ant-input,
.parent-txn-ctr .table-column-filter .ant-select-selector,
.parent-txn-ctr .table-column-filter .ant-picker,
.parent-txn-ctr .table-column-filter .ant-input-number {
}

.table-column-filter .ant-picker-range {
  padding: 5px 11px;
}

.parent-txn-ctr .table-column-filter .ant-form-item {
  width: 25%;
}

.result-modal-btn {
  display: flex;
  justify-content: center;
  width: 100%;
}

.txn-line-actions > * {
  margin-right: 5px;
}

.txn-lines-container .ant-table-body {
  max-height: calc(84vh - 353px) !important;
}

.txn-parent-info div:first-child {
  color: #000000d9;
  font-size: 17px;
  font-weight: 500;
}

.txn-parent-info {
  padding-bottom: 10px;
  font-size: 13px;
  color: #7a7a7a;
  font-weight: 500;
}

.txn-lines-action-tabs {
}

.history-list-cont {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* width: 70%; */
  padding: 8px 0px;
  font-size: 13px;
  border-bottom: 1px solid #ededed;
}
.history-item {
  display: flex;
  align-items: center;
  width: 80%;
}

.history-item div:first-child {
  width: 30%;
}

.history-item div:first-child span {
  background-color: #f1effb;
  padding: 8px;
  border-radius: 50%;
  color: #725bb4;
  margin-right: 5px;
}

.history-item span:nth-child(3) {
  font-weight: 500;
}

.history-list-cont > div:last-child {
  color: #a9a9a9;
  font-size: 12px;
  font-weight: 500;
}

.history-list-cont:last-child {
  border: none;
}

.flex-left {
  display: flex;
  justify-content: flex-end;
}
.comments-list-cont {
  font-size: 13px;
  border-bottom: 1px solid #dddddd5c;
  padding: 10px 0px;
  position: relative;
}
.comments-list-cont:last-child {
  border-bottom: none;
}

.comments-list-cont div:first-child span:first-child {
  background-color: #f1effb;
  padding: 6px;
  border-radius: 50%;
  color: #725bb4;
  margin-right: 5px;
}
.comments-list-cont div:first-child span:nth-child(2) {
  color: #725bb4;
  margin-right: 5px;
}
.comments-list-cont div:first-child span:nth-child(3) {
  font-size: 11px;
  color: #a9a9a9;
}

.comments-list-cont div:first-child span:last-child {
  font-size: 11px;
  color: #229173;
}

.comments-list-cont div:nth-child(2) {
  padding-left: 30px;
}

.comment-actions {
  position: absolute;
  top: 10px;
  right: 0px;
  color: #725bb4;
  cursor: pointer;
  display: none;
  transition: display 2s;
}

.comments-list-cont:hover .comment-actions {
  display: flex;
}

.scale-up-center {
  animation: scale-up-center 0.3s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}

@keyframes scale-up-center {
  0% {
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

.action-btn {
  color: #000000d9 !important;
}

.data-table-action {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.action-pop {
  padding: 0px !important;
  left: 47px !important;
}

.action-pop .ant-popover-inner-content {
  padding: 5px 0px !important;
}

.action-pop .ant-popover-arrow {
  display: none;
}

.action-btn {
  border-radius: unset !important;
  width: 100%;
  padding: 5px 12px !important;
  justify-content: start !important;
}
.action-btn:hover {
  background-color: #f5f5f5 !important;
  color: #000000d9 !important;
}

.action-btn > svg {
  margin-right: 10px;
}

.status-text {
  text-transform: lowercase;
  margin-bottom: 0px;
}

.status-text::first-letter {
  text-transform: uppercase;
}

.qje-column {
  display: flex;
  align-content: center;
  justify-content: space-between;
}

.view-details-modal .ant-row {
  padding: 10px 5px;
  border-bottom: 1px solid #dddddd63;
}

.view-details-modal .ant-row:nth-child(odd) {
  background-color: #f9f9f9;
}

.view-details-link {
  color: #725bb4;
  cursor: pointer;
}

.view-details-link:hover {
  font-weight: 500;
}

.tracker-item .ant-row {
  padding: 10px 5px;
  border-bottom: 1px solid #dddddd63;
}
.tracker-item .ant-row:hover {
  background-color: #f9f9f9;
}
.tracker-item .ant-row .ant-col:last-child {
  justify-content: flex-end;
  display: flex;
  align-items: center;
}

.tracker-time {
  text-align: right;
  color: #a9a9a9;
  font-size: 12px;
  font-weight: 500;
  display: flex !important;
  align-items: end;
  justify-content: right;
}

.tracker {
  width: 10px;
  height: 10px;
  background: #ddd;
  border-radius: 50%;
  cursor: pointer;
}

.read {
  background: #45c613;
}

.txn-lines-action-tabs .ant-upload.ant-upload-drag {
  height: 140px;
}

.upload-item {
  position: relative;
  cursor: pointer;
}

.upload-item .upload-item-delete {
  position: absolute;
  right: 7px;
  top: 5px;
}

.upload-item .ant-upload-list-item-card-actions-btn {
  display: none;
}

.upload-item .ant-upload-list-item-progress {
  display: none;
}

.upload-item .ant-upload-list-item-name {
  margin-bottom: 0px !important;
}

.filter-btn-wrapper {
  display: flex;
  padding: 10px;
  padding-left: 0px;
}

.filter-btn-wrapper .ant-btn-round {
  border-radius: 5px !important;
  margin-left: 10px;
}

.btn-amount {
  width: 100%;
  padding: 0px !important;
}

.btn-amount:hover {
  border: none;
}

.btn-amount > div {
  width: 100%;
  text-align: right;
}

.data-table {
  margin-top: 15px;
}

.data-table .ant-select {
  width: 100%;
}

.table-tag {
  width: 100%;
}
.filter-wrapper .ant-input {
  border: 1px solid #d9d9d978 !important;
}

.filter-wrapper
  .ant-select:not(.ant-select-customize-input)
  .ant-select-selector {
  border: 1px solid #d9d9d978 !important;
  border-radius: 4px;
}

.data-table .ant-table-body {
  max-height: calc(100vh - 311px) !important;
}

.filter-items {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.filter-items > span {
  z-index: 99;
}

.filter-pop {
  top: 325px !important;
}

.filter-pop .ant-popover-arrow {
  display: none;
}

.options-menu .ant-dropdown-menu {
  max-height: 300px;
  overflow-y: auto;
}

.options-menu .anticon svg {
  color: #725bb4;
}

.filter-items > div {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 180px;
  padding-right: 10px;
}

.calc-modal .ant-modal-body {
  max-height: calc(100vh - 215px);
}

#table-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.created-column {
  align-items: center;
}

.navbar-container
  .ant-menu-horizontal:not(.ant-menu-dark)
  > .ant-menu-item-selected {
  color: #222630 !important;
}

.trd-lines-table .data-table .ant-table-body {
  max-height: calc(100vh - 303px) !important;
}

.txn-panel-container .ant-input-affix-wrapper {
  border: 1px solid #d9d9d978 !important;
  border-radius: 4px;
}

.txn-panel-container
  .ant-select:not(.ant-select-customize-input)
  .ant-select-selector {
  border: 1px solid #d9d9d978 !important;
  border-radius: 4px;
}

.history-modal .ant-modal-body .ant-table-body {
  max-height: calc(100vh - 397px) !important;
}

.qje-pagination {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  padding-top: 20px;
}

.dynamic-tbl-cell {
  width: 100%;
  position: relative;
}

.dynamic-tbl-cell .edit-tbl-icon {
  color: #725bb4;
  position: absolute;
  right: -17px;
  top: 3px;
  display: none;
  text-decoration: none;
}

.dynamic-tbl-cell:hover .edit-tbl-icon {
  /* transition: display 2s; */
  display: flex;
}

.data-table.edit-mode-active .ant-table-cell:not(:has(.data-table-action)):not(:has(.actions-column-test)) > div {
  min-width: 100% !important;
  max-width: 100% !important;
}

.data-table.edit-mode-active .ant-table-cell:has(.show-edit-icon):not(:has(.data-table-action)):not(:has(.actions-column-test)) > div {
  border: 1px dotted #b4a7d6 !important;
  border-radius: 4px !important;
  padding:4px 18px!important;
  background-color: white;
}

.data-table.edit-mode-active .ant-table-cell:not(:has(.show-edit-icon)):not(:has(.data-table-action)):not(:has(.actions-column-test)) > div {
  padding:2px 17px !important;
}

.data-table.edit-mode-active .ant-table-cell:has(.show-edit-icon):not(:has(.data-table-action)):not(:has(.actions-column-test)):hover > div {
  border: 1.5px solid #7c5cdb !important;
  border-radius: 4px !important;
}

.data-table.edit-mode-active .ant-select-selector {
  width: 100% !important;
}

.ant-table-cell:has(.edited-field) {
  background-color: #d9d2f9 !important;
}
.ant-table-cell:hover:has(.edited-field) {
  background-color: #d9d2f9 !important;
}

.tbl-edited-row > td:first-child {
  border-left: 5px solid #725bb4;
}

.criteria-box {
  display: flex;
  justify-content: space-between;
  border: 1px solid #ddd;
  align-items: center;
  padding: 15px;
  margin-bottom: 25px;
  border-radius: 3px;
}
.criteria-label {
  font-size: 15px;
  font-weight: 500;
}
.criteria-box .ant-form-item {
  margin: 0px 5px !important;
}

.criteria-box .ant-select-selector {
  max-height: 100px;
  overflow-y: auto;
}

.accrual-top-btns {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 10px;
}

.aut-rules-modal .ant-form-item-label > label:after {
  display: none;
}
.aut-rules-modal .ant-form-item-label {
  margin-right: 15px;
}

.set-values-box {
  display: block;
}

.set-values-box .ant-form-item-label {
  width: 20%;
  text-align: left !important;
}

.set-values-box .ant-row {
  margin: 6px 0px;
}

.ellipsis-div {
  max-height: 200px; /* Adjust the maximum height as needed */
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* Limit to three lines */
  -webkit-box-orient: vertical;
}

.user-modal .ant-form-item-label {
  width: 30%;
  text-align: left !important;
}

.user-label {
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
}

.user-select-label .ant-form-item-label {
  width: 15%;
}

.roles-label .ant-form-item-label {
  visibility: hidden;
}

.user-modal .ant-select:not(.ant-select-customize-input) .ant-select-selector {
  max-height: 200px;
  overflow-y: auto;
}
.user-activation-content-wrapper {
  position: relative;
  padding: 100px 0px;
  max-width: 1170px;
  margin: auto;

  @media (max-width: 425px) {
    max-width: 290px;
  }
  @media (width: 768px) {
    max-width: 700px;
  }

  @media (width: 1024px) {
    max-width: 900px;
  }
}

.user-activation-content-wrapper .form {
  display: flex;
  gap: 30px;
  margin-top: 20px;

  @media (max-width: 768px) {
    flex-direction: column;
  }

  @media (max-width: 450px) {
    /* background-color: #fff; */
    height: '100%';
    padding: 5px;
    /* gap: 0px; */
  }
}

.user-activation-content-wrapper .submit-button {
  position: absolute;
  bottom: 20px;
  left: 0px;

  @media (max-width: 450px) {
    left: 5px;
  }
}

.user-activation-content-wrapper
  .ant-d-form-padding
  .ant-col-24.ant-form-item-label,
.my-form-item .ant-col-xl-24.ant-form-item-label,
.my-form-item .ant-form-vertical .ant-form-item-label {
  padding: 0px;
  /* This is to override the excess padding from ant-d form item */
}

.user-activation-content-wrapper .form .firstWrapper {
  height: 178px;
  background-color: #fff;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid #e6e6e6;

  @media (max-width: 450px) {
    padding: 0 10px;
    height: 250px;
    /* background-color: transparent; */
    border: none;
  }

  @media (min-width: 768px) {
    gap: 10px;
  }
}

.user-activation-content-wrapper .form .firstWrapper .form-item {
  width: 100%;
  margin: 0px;
  padding: 0px;
  height: 45px;

  @media (max-width: 450px) {
    height: 90px;
  }
}

.user-activation-content-wrapper .form .firstWrapper .label-span {
  white-space: normal;

  @media (max-width: 450px) {
    white-space: nowrap;
  }
}

@media (max-width: 575px) {
  .user-activation-content-wrapper
    .form
    .firstWrapper
    .form-item
    .ant-form-item-label {
    padding: 0 !important;
  }
}

.user-activation-header-container {
  background-color: #f4f8fa;
  padding: 20px;
  height: 95px;
  border-left: 3px solid #2ec1cc;
  display: flex;
  align-items: center;

  @media (max-width: 425px) {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0px;
    height: 150px;
  }
}

.user-activation-header-container .title {
  font-size: 24px;
  color: #1c7ebb !important;
  text-transform: uppercase;
  font-weight: bold;
  font-family: Lato, Helvetica, Arial, sans-serif;

  @media (max-width: 425px) {
    font-size: 15px;
  }
}

.user-activation-header-container .subtitle {
  color: #999999 !important;
  font-size: 14px;
  font-style: italic;
  font-family: Lato, Helvetica, Arial, sans-serif;
  margin-left: 100px;

  @media (max-width: 425px) {
    margin-left: 0px;
    font-size: 12px;
    text-align: center;
  }
}

.user-activation-content-wrapper .submitButton {
  width: 89.72px;
  height: 45.94px;
  background-color: #1c7ebb !important;
  color: #fff !important;
  border: none !important;
}

.submitButton:hover {
  background-color: #1b5582 !important;
  color: #fff !important;
}

.login-audit-trail-export-wrapper {
  text-align: right;
  margin-bottom: 1em;
}

.password-rules-title-wrapper {
  display: flex;
  align-items: center;
  gap: 2px;
}

.password-rules-width {
  width: 100%;
}
.user-dash-header {
  margin-bottom: 20px;
  justify-content: space-between;
  align-items: center;
}

.user-dash-header .ant-space-horizontal .ant-space-item > span {
  display: inline-block;
  width: 54px;
}

.user-dash-header .ant-select-multiple .ant-select-selector {
  max-height: 64px;
  overflow-y: auto;
}

.login-audit-trail-export-wrapper {
  text-align: right;
  margin-bottom: 1em;
}

/* .child-row {
  color:#a797d1
} */

.txn-lines-action-tabs .ant-tabs-content-holder {
  padding-bottom: 70px;
}

.ai-insights-label {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  width: 106px;
}

.ai-insights-text {
  color: #2a4dd0;                   /* Blue text */
  font-weight: 700;
  font-size: 14px;
}

.ai-insights-pill {
  background: #7c5cff;              /* Purple background */
  color: #fff;                      /* White text */
  font-weight: 600;
  border-radius: 16px;
  padding: 2px 14px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
}