.bg-brand {
  background-color: #fff;
}

.bg-brand-two {
  background-color: #009245;
}

.form-input-icon {
  display: flex !important;
}

.form-input-mb {
  margin-bottom: 0px !important;
}

ul.nav-main > li.nav-expanded > a {
  background: var(--merchant-default-color, #243f90);
}

.ant-checkbox-wrapper > span {
  font-family: 'Poppins', Arial, sans-serif !important;
}

.ant-checkbox-wrapper .ant-typography {
  font-family: 'Poppins', Arial, sans-serif !important;
}

.ant-layout {
  font-family: 'Poppins', Arial, sans-serif !important;
}

.ant-layout .ant-layout-sider {
  background: var(--merchant-default-color, #243f90);
}

.ant-layout .ant-layout-sider .ant-menu {
  background: var(--merchant-default-color, #243f90);
}

.ant-layout .ant-layout-sider-trigger {
  background: #2e50b8;
}

.ant-layout .ant-layout-sider-zero-width-trigger {
  background: #2e50b8;
  z-index: 1111;
  position: absolute;
  top: 0px;
  height: 50px;
}

#root .ant-layout .ant-layout-sider-zero-width-trigger {
  width: 40px;
  inset-inline-end: -40px;
  color: white;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-start-start-radius: 0;
  border-start-end-radius: 6px;
  border-end-end-radius: 6px;
  border-end-start-radius: 0px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.ant-menu-submenu-open div.ant-menu-submenu-title span.ant-menu-title-content {
  color: #00b7b0 !important;
}

.ant-menu-light > .ant-menu {
  background: var(--merchant-default-color, #243f90);
}

.ant-menu.ant-menu-submenu-popup > .ant-menu {
  background-color: #2e50b8;
}

.ant-menu {
  font-family: 'Poppins', Arial, sans-serif !important;
}

.ant-menu li span.ant-menu-title-content a {
  text-decoration: none !important;
}

.ant-menu-light > .ant-menu .ant-menu-submenu-title {
  color: #fff;
}

.ant-menu-submenu-hidden .ant-menu-vertical span.anticon {
  color: #fff !important;
  font-size: 16px !important;
}

.ant-menu li.ant-menu-item span {
  color: #fff;
  font-size: 0.8rem;
}

.ant-menu li.ant-menu-submenu span {
  color: #fff;
  font-size: 0.8rem;
}

.ant-menu li.ant-menu-item span.anticon {
  color: #fff !important;
  font-size: 20px !important;
}

.ant-menu li.ant-menu-submenu span.anticon {
  color: #fff;
  font-size: 20px;
}

.ant-menu li.ant-menu-submenu i.ant-menu-submenu-arrow {
  color: #fff;
}

.nav-admin .ant-menu .ant-menu-item-selected {
  background-color: #e6f4ff;
}

.ant-menu .ant-menu-item-selected {
  background-color: #2e50b8;
}

.ant-modal-header {
  padding-bottom: 1.3em !important;
}

.ant-modal-title {
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 1.3em !important;
  font-weight: 400 !important;
  line-height: 27px !important;
}

.home-title {
  background-color: #009245;
  margin-bottom: 60px;
  overflow: hidden;
  padding: 38.4px 0;
  padding: 2.4rem 0;
  position: relative;
  text-align: left;
  letter-spacing: -0.5px;
}

.home-title p {
  color: #fff;
  display: inline-block;
  font-size: 2.4em;
  font-weight: 600;
  margin-bottom: 0;
}

html .text-color-dark,
html .text-dark {
  color: var(--merchant-default-color, #243f90) !important;
}

.icon-featured {
  color: var(--merchant-default-color, #243f90) !important;
}

.sectionSpacing {
  padding: 50px 0;
}

.deptModalStyle .ant-modal-content {
  background-color: #e9ecef !important;
}

.deptModalStyle .ant-modal-content {
  background-color: #e9ecef !important;
}

.deptModalStyle .ant-modal-content .ant-modal-header {
  background: #e9ecef !important;
}

.text-color-brand {
  color: #024681;
}

.alertRedBorder {
  border-color: #ff4d4f;
}
.alertRedBorder:focus {
  border-color: #ff4d4f;
}

.alertDiv {
  display: flex;
  flex-wrap: nowrap;
  color: #ff4d4f;
}

.alertHide {
  display: none;
}

.alert {
  font-size: 0.9em !important;
}

.alert [class*='fa-'],
.alert .icons {
  margin-right: 0px;
  font-size: 0.9em !important;
}

.modalRow-mbt {
  margin-bottom: 7px !important;
  margin-top: 7px !important;
  padding-top: 5px !important;
}

.modalRow-top {
  border-top: 1px solid #f3f3f3 !important;
}

.modalRow-bot {
  border-bottom: 1px solid #f3f3f3 !important;
  padding-bottom: 7px !important;
}

.parent-loader {
  display: flex;
  justify-content: center; /* Center horizontally */
  align-items: center; /* Center vertically */
  height: 15vh; /* Set height to viewport height */
  margin: 2rem;
}

/* Style for the child element */
.child-loader {
  /* background-color: lightblue; */
  padding: 20px;
  border-radius: 5px;
}
.child-loader-dp {
  margin: 1rem;
  display: flex;
  justify-content: center;
}

.child-loader-m1 {
  margin: 1rem;
}

.loading-text {
  letter-spacing: 3px;
  margin-top: 1rem;
  font-weight: 900;
  font-size: x-large;
  z-index: 111;
}
.loading-text span {
  display: inline-block;
  opacity: 0;
  animation: fadeIn 1s infinite alternate;
  color: #007bff;
}

.loading-spinner-container {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.65);
  z-index: 2000;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}
@keyframes fadeLetter {
  0%,
  100% {
    opacity: 0.3;
    transform: translateY(1px);
  }
  50% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Smooth fade transitions */
.loading-spinner-container.fade-in {
  opacity: 1;
  pointer-events: all;
}

.loading-spinner-container.fade-out {
  opacity: 0;
  pointer-events: none;
}

.spinner-box {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.spinLoading-text {
  margin-top: 3rem;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 6px;
  color: #1677ff;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
}

.spinLoading-text span {
  display: inline-block;
  opacity: 0.4;
  transform: translateY(10px);
  animation: waveFade 1.5s ease-in-out infinite;
}

@keyframes waveFade {
  0% {
    opacity: 0.2;
    transform: translateY(10px);
  }
  50% {
    opacity: 1;
    transform: translateY(0);
    text-shadow: 0 0 10px rgba(22, 119, 255, 0.5);
  }
  100% {
    opacity: 0.4;
    transform: translateY(-5px);
  }
}

.spinLoading-text-old {
  letter-spacing: 10px;
  margin-top: 6rem;
  font-weight: 900;
  font-size: xx-large;
  z-index: inherit;
}
.spinLoading-text-old span {
  display: inline-block;
  opacity: 0;
  animation: fadeIn 1s infinite alternate;
  color: #ffffff;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.loading-text span:nth-child(1) {
  animation-delay: 0s;
}

.loading-text span:nth-child(2) {
  animation-delay: 0.5s;
}

.loading-text span:nth-child(3) {
  animation-delay: 0.75s;
}

.loading-text span:nth-child(4) {
  animation-delay: 1s;
}

.loading-text span:nth-child(5) {
  animation-delay: 1.25s;
}

.loading-text span:nth-child(6) {
  animation-delay: 1.5s;
}

.loading-text span:nth-child(7) {
  animation-delay: 1.75s;
}
.loading-text span:nth-child(8) {
  animation-delay: 2s;
}
.loading-text span:nth-child(9) {
  animation-delay: 2.25s;
}
.loading-text span:nth-child(10) {
  animation-delay: 2.75s;
}

.spinLoading-text span:nth-child(1) {
  animation-delay: 0s;
}

.spinLoading-text span:nth-child(2) {
  animation-delay: 0.5s;
}

.spinLoading-text span:nth-child(3) {
  animation-delay: 0.75s;
}

.spinLoading-text span:nth-child(4) {
  animation-delay: 1s;
}

.spinLoading-text span:nth-child(5) {
  animation-delay: 1.25s;
}

.spinLoading-text span:nth-child(6) {
  animation-delay: 1.5s;
}

.spinLoading-text span:nth-child(7) {
  animation-delay: 1.75s;
}
.spinLoading-text span:nth-child(8) {
  animation-delay: 2s;
}
.spinLoading-text span:nth-child(9) {
  animation-delay: 2.25s;
}
.spinLoading-text span:nth-child(10) {
  animation-delay: 2.75s;
}

.ant-table-content .even-row {
  background-color: #f5f5f5; /* Define your even row background color */
}

.ant-table-content .odd-row {
  background-color: #ffffff; /* Define your odd row background color */
}

.ant-table-content .even-row .ant-table-cell-fix-right {
  background: #f5f5f5; /* Define your even row background color */
}

.ant-table-content .odd-row .ant-table-cell-fix-right {
  background: #ffffff; /* Define your odd row background color */
}

.card-footer button span {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 0.85rem;
}

.card-footer .btn.btn-lg {
  font-size: 0.85rem;
}

.card-actions .btn span {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 0.85rem;
}

form.ant-form .card-body .form-group {
  margin-top: 5px;
  margin-bottom: 5px;
  padding-bottom: 5px;
  padding-top: 10px;
}

form.ant-form .card-body .form-group .ant-form-item {
  margin-bottom: 0px;
}

.form-group .ant-picker {
  font-family: 'Poppins', Arial, sans-serif;
}

.form-group .ant-picker .ant-picker-input input {
  font-size: 0.8rem;
}

.form-group .ant-select .ant-select-selector span {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 0.7rem;
}

.ant-select-item .ant-select-item-option-content {
  font-family: 'Poppins', Arial, sans-serif;
}

.ant-float-btn-primary .ant-float-btn-body {
  background-color: var(--merchant-default-secondary-color, #1677ff) !important;
}

.generic-float-button span.anticon {
  color: var(--merchant-default-secondary-color, #0088cc) !important;
}

.card-actions .ant-btn span {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 0.85rem;
}

.card-actions button span.anticon {
  color: #0088cc;
}

.card-actions button.btn-primary span.anticon {
  color: #ffffff;
}

.ant-modal-content .ant-modal-footer button span.anticon {
  color: #0088cc;
}

.ant-modal-content .ant-modal-footer button.ant-btn-primary span.anticon {
  color: #ffffff;
}

section .card-body-header {
  padding: 1rem;
}

header .input-group span.input-group-text {
  color: #0088cc;
}

header.card-header span.anticon {
  color: #0088cc;
}

header.header .userbox .profile-info span.role {
  color: #0088cc;
}

header.header .userbox ul li a i {
  color: #0088cc;
}

footer.merchant-footer-pos .footer-copyright .row p a i {
  color: #0088cc;
}

form.ant-form .card-body .text-end button i {
  color: #0088cc;
}

form.ant-form .card-body .form-group .ant-upload-select button span.anticon {
  color: #0088cc;
}

.tab-content .card-body h4 span.anticon {
  color: #0088cc;
}

.ant-table-content .ant-table-cell span.ant-tag {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 0.55rem;
  margin-bottom: 2px;
}

.ant-table-content .ant-table-cell span.anticon {
  color: #0088cc;
}

.ant-form-item-label label {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 13px !important;
}

.ant-pagination-item {
  font-family: 'Poppins', Arial, sans-serif !important;
  font-size: 13px !important;
}

.ant-radio-button-wrapper span {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 13px;
}

/* styles.css */
/* Thin scrollbar track */
::-webkit-scrollbar {
  width: 9px; /* Adjust the width to make it thinner */
}

/* Thin scrollbar thumb */
::-webkit-scrollbar-thumb {
  background-color: #888; /* Color of the scrollbar thumb */
  border-radius: 4px; /* Round the corners of the scrollbar thumb */
}

/* Thin scrollbar track on hover */
::-webkit-scrollbar-track:hover {
  background-color: #f0f0f0; /* Change the background color on hover */
}

/* Thin scrollbar thumb on hover */
::-webkit-scrollbar-thumb:hover {
  background-color: #555; /* Change the thumb color on hover */
}

/* styles.css */
.header-image-container {
  float: left;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 170px; /* Adjust the width of the container as needed */
  height: 56px; /* Adjust the height of the container as needed */
  /* border-right: 1px solid #ededed; Optional: add a border */
  padding: 0px 10px 0px 10px;
}

.header-child-image {
  width: 125px; /* Set the width of the child image */
  height: auto; /* Maintain the aspect ratio of the image */
}

.header.header-nav-menu .header-nav-main nav > ul > li ul.admin-menu li a {
  text-transform: uppercase !important;
  text-decoration: none !important;
  font-family: 'Poppins', Arial, sans-serif !important;
  font-weight: 600 !important;
}

.header-right-admin {
  width: 30%;
  min-width: 350px;
  padding-top: 5px;
}

.header-alignment {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.text-end-button {
  margin-top: 24px;
}

.custom-select-currency {
  height: 38.4px;
}

.custom-select-currency .ant-select-selection-item {
  font-size: 0.8rem !important;
}

.paymentlink-inner-wrapper {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.paymentlink-custom-width {
  width: 90%;
  /* background-color: #f8f9fa; */
}

.paymentlink-full-height {
  height: 100vh;
}

.p-main-container {
  position: relative;
  /* width: 80%; Example width */
  /* height: 80vh; /* Example height */
  margin: 0 auto; /* Center the container horizontally */
  /* background-color: lightgrey;  Just for visual reference */
}

.p-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2); /* Black background with 20% opacity */
  z-index: 1; /* Layer it below the content */
}

.p-overlay-2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Black background with 20% opacity */
  z-index: 1; /* Layer it below the content */
}

.page-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* Layer it below the content */
}

.p-content {
  position: relative;
  z-index: 2; /* Ensure content is above the overlay */
}

.p-box {
  margin: 20px;
  padding: 20px;
  background-color: white;
  border: 1px solid #ccc;
}

.p-custom-trans-background {
  background: transparent !important;
}
/*
.p-text-label {
  font-size: 15px !important;
}

.p-text-color {
  color: white;
}

.p-text-color {
  color: white;
}
*/
.alert .ql-align-center {
  margin: 0 0 0px;
}

.custom-zIndex {
  z-index: 1111 !important;
}

.custom-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 10px;
}

.dash-text-secondary {
  color: rgb(0, 136, 204) !important;
}

.page-header h2 {
  font-size: 1rem;
  border-bottom-color: var(
    --merchant-default-secondary-color,
    #00b7b0
  ) !important;
}

/* Add here all your CSS customizations */
footer.branding-background {
  background-color: var(--merchant-default-color, #243f90);
}
.nano-content {
  right: -80px !important;
}

/* Popup Styles */
.popup-slide-in {
  position: fixed;
  bottom: -100%; /* Start off-screen */
  left: 0;
  width: 100%;
  height: 400px; /* Adjust height as needed */
  background-color: #f8f9fa;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  transition: bottom 0.3s ease-in-out;
  z-index: 1000;
}

.popup-slide-in.active {
  bottom: 170px; /* Slide in to visible */
}
.card-featured {
  margin: 20px;
}

/* Button to open popup */
#openPopup {
  position: fixed;
  bottom: 45px;
  right: 70px;
  z-index: 999;
}
.popover-div {
  text-align: center;
}
.popover-label {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 12px;
}

.custom-button-size {
  min-height: 38px;
  min-width: 100px;
}

.header-admin > ul.ant-menu {
  height: 0px;
}

.header-admin
  > ul.ant-menu
  > li.ant-menu-item
  > span.ant-menu-title-content
  > a.nav-link {
  color: var(--merchant-default-color, #243f90);
}

.header-admin {
  display: flex;
  justify-content: space-evenly;
  background: #ffffff;
}

.header-admin .userbox {
  min-width: 15rem;
  margin: 0px 10px 0px 0px;
}

.header-admin .header-right {
  display: flex;
  justify-content: right;
  align-items: center;
  height: 56px;
  border-left: 1px solid #ededed;
  min-width: 17rem;
}

.header-admin .separator {
  margin: 0 15px 0;
}

.nav-admin {
  width: 70%;
}

div.nav-admin > ul.ant-menu li span {
  color: var(--merchant-default-color, #243f90);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 6px;
  padding: 5px;
  text-transform: uppercase;
  white-space: nowrap;
}

div.nav-admin > ul.ant-menu li.ant-menu-submenu span.anticon-ellipsis {
  margin-top: 15px;
}

div.nav-admin > ul.ant-menu li.ant-menu-submenu span.anticon {
  color: black;
  font-size: 20px;
}

.header-admin .ant-menu-submenu > li.ant-menu-item span.ant-menu-title-content {
  text-transform: uppercase;
}

.ant-menu-submenu
  li.ant-menu-submenu
  div.ant-menu-submenu-title
  span.ant-menu-title-content
  a.nav-link {
  color: #ffffff;
}

.ant-menu-submenu
  li.ant-menu-item.ant-menu-item-only-child
  span.ant-menu-title-content {
  text-transform: uppercase;
}

.ant-menu-submenu
  li.ant-menu-submenu
  div.ant-menu-submenu-title
  span.ant-menu-title-content {
  text-transform: uppercase;
}

.header-admin
  .ant-menu.ant-menu-horizontal
  > li.ant-menu-item-selected
  span::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 7px;
  top: -3px;
  left: 0px;
  background: #0088cc;
  z-index: 1; /* Ensure it appears above the background */
}

.header-admin
  .ant-menu.ant-menu-horizontal
  > li.ant-menu-submenu-selected
  span::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 7px;
  top: -3px;
  left: 0px;
  background: #0088cc;
}

div.ant-menu.ant-menu-submenu.ant-menu-submenu-hidden.ant-menu-submenu-popup
  > ul.ant-menu.ant-menu-sub.ant-menu-vertical
  > li.ant-menu-item
  span.ant-menu-title-content
  a.nav-link {
  text-transform: uppercase;
}

div.ant-menu.ant-menu-submenu.ant-menu-submenu-hidden.ant-menu-submenu-popup
  > ul
  li
  span
  a {
  text-transform: uppercase;
}

.ant-menu-submenu-popup .ant-menu-sub .ant-menu-item-selected {
  background-color: #0088cc;
}

div.nav-admin
  > .ant-menu-light.ant-menu-horizontal
  > .ant-menu-item-selected::after {
  border-bottom-color: #fff;
}
div.nav-admin
  > .ant-menu-light.ant-menu-horizontal
  > .ant-menu-submenu-selected::after {
  border-bottom-color: #fff;
}

header.header .userbox ul li span i {
  color: #0088cc;
}

.userbox-div-select {
  display: flex;
}

.userbox-select {
  display: flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--bs-body-color);
  text-align: center;
  white-space: nowrap;
}

.userbox-select-span {
  color: #7d7d7d;
  font-size: 0.75rem;
  padding: 0px 7px;
}

header.header .userbox ul li select.form-control {
  color: #7d7d7d;
  font-size: 0.75rem;
}

.admin-nav-item {
  white-space: nowrap;
  cursor: pointer;
}
.css-1fdsijx-ValueContainer {
  padding-right: 0px !important;
}

.css-1xc3v61-indicatorContainer {
  padding: 4px !important;
}
.css-1u9des2-indicatorSeparator {
  background-color: transparent !important;
}

/* 
START

END
*/
/* 

div.nav-admin > ul.ant-menu li.ant-menu-submenu-horizontal span {
  color: #ffffff;
}

div.ant-menu.ant-menu-submenu-popup > ul.ant-menu-sub li span {
  color: #ffffff;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 6px;
  padding: 5px;
  text-transform: uppercase;
  white-space: initial;
}

div.ant-menu.ant-menu-submenu-popup > ul.ant-menu-sub li span a.nav-link {
  color: #ffffff;
}


.admin-nav-item {
  display: inline-block;
  padding: 10px 20px; 
  white-space: nowrap;
  cursor: pointer;
}

.header-admin > ul > li > span.ant-menu-title-content {
  color: var(--merchant-default-color, #243f90);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 6px;
  padding: 10px;
  text-transform: uppercase;
  white-space: initial;
}

.header-admin > ul.ant-menu {
  height: 0px;
}

.header-admin
  > ul
  > li
  > div.ant-menu-submenu-title
  > span.ant-menu-title-content {
  color: var(--merchant-default-color, #243f90);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 6px;
  padding: 10px;
  text-transform: uppercase;
  white-space: initial;
}

.header-admin > ul > li.ant-menu-item {
  top: 0px !important;
  margin-top: 0px !important;
}

.header-admin > ul > li.ant-menu-submenu {
  top: 0px !important;
  margin-top: 0px !important;
}

.header-admin > ul > li.ant-menu-item-selected {
  color: #0088cc !important;
}

.header-admin > ul > li.ant-menu-item-active {
  color: #0088cc !important;
}

.header-admin
  > ul
  > li
  > div.ant-menu-submenu-title
  > span.ant-menu-title-content
  > a.nav-link {
  color: var(--merchant-default-color, #243f90);
} */

@media (min-width: 993px) and (max-width: 1199px) {
  .slider-contact-form-wrapper .ant-form .form-group .ant-form-item {
    width: fit-content;
  }

  .slider-contact-form-wrapper .ant-form .form-group .col-sm-9 {
    flex: 0 0 auto;
    width: 57%;
  }

  .slider-contact-form-wrapper
    .ant-form
    .ant-form-item
    .ant-row
    .ant-form-item-control-input-content
    .text-end {
    text-align: justify !important;
  }

  .section .container .row .col-lg-6 .d-flex .text-14 {
    font-size: 4.4em !important;
  }
}

.update-modal-top-right .ant-modal {
  top: 20px !important;
  right: 20px !important;
  margin: 0;
  position: absolute;
  transform: none !important; /* Remove centering */
}

.update-modal-top-right .ant-modal-content {
  border-radius: 12px;
}

.inner-wrapper .content-body {
  display: flow !important;
}

.custom-spin-wrapper {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
}

.custom-spin .ant-spin-dot {
  font-size: 96px; /* ~1 inch */
}

.custom-spin .ant-spin-dot i {
  width: 24px;
  height: 24px;
}

.fullscreen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.55); /* darker overlay */
  z-index: 1300;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader-container {
  text-align: center;
  color: white;
}

.custom-fullscreen-spin .ant-spin-dot {
  font-size: 96px; /* about 1 inch */
}

.custom-fullscreen-spin .ant-spin-text {
  color: white; /* ensure tip is visible */
  font-size: 20px;
  margin-top: 20px;
}

.ant-spin-fullscreen .ant-spin-text {
  font-size: 24px; /* Make the tip text larger */
  margin-top: 30px; /* Add spacing below spinner */
  color: white; /* Optional: improve visibility on dark background */
  font-weight: 500;
  letter-spacing: 0.2rem;
}

.hover-container {
  display: inline-block;
  position: relative;
  cursor: pointer;
  font-family: Arial, sans-serif;
}

.hover-container .tooltip-box {
  visibility: hidden;
  width: 250px;
  background-color: #f9f9f9;
  color: #333;
  text-align: left;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 12px;
  position: absolute;
  z-index: 1000;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.hover-container:hover .tooltip-box {
  visibility: visible;
}

.tooltip-box .row {
  display: flex;
  justify-content: space-between;
  padding: 2px 0;
}

.tooltip-box .rowAdminTable {
  margin-left: 0px;
  margin-right: 0px;
}

.tooltip-box .rowAdmin:before,
.rowAdmin:after {
  content: none;
}

.tooltip-box .row.total {
  font-weight: bold;
  border-top: 1px solid #ccc;
  margin-top: 8px;
  padding-top: 6px;
}

.tooltip-box .row .details1 {
  width: 60%;
}

.tooltip-box .row .details2 {
  width: 40%;
}

/* styles.css or a global CSS file */
#transactionReports .ant-table-content {
  min-height: 150px;
  overflow-y: auto !important;
}

#dashboard .card-body hr {
  margin: 15px 0 15px 0 !important;
}

.ant-tooltip .ant-tooltip-inner {
  background-color: #00b7b0;
}

.ant-tooltip-content {
  width: fit-content !important;
}

.merchant-login
  .ant-form
  .ant-form-item
  .ant-form-item-control-input
  input.ant-input-lg {
  border-start-start-radius: 3px !important;
  border-end-start-radius: 3px;
  height: 50px;
}

.merchant-login
  .ant-form
  .ant-form-item
  .ant-form-item-control-input
  .login-password
  span.ant-input-affix-wrapper {
  border-start-start-radius: 3px !important;
  border-end-start-radius: 3px;
}

.merchant-login
  .ant-form
  .ant-form-item
  .ant-form-item-control-input
  span.ant-input-group-addon {
  border-end-end-radius: 3px !important;
  border-start-end-radius: 3px;
}

.merchant-login
  .ant-form
  .ant-form-item
  .ant-form-item-control-input
  #userpass.ant-input-lg,
#pswUserpassword.ant-input-lg,
#pswUserConfirmPassword.ant-input-lg {
  border-start-start-radius: 3px !important;
  border-end-start-radius: 3px;
  height: 35px;
}

.merchant-login .ant-form .ant-form-item span.login-password {
  height: 50px;
  border-start-start-radius: 3px;
  border-end-start-radius: 3px;
  border-start-end-radius: 3px !important;
  border-end-end-radius: 3px;
  padding-left: 18px;
  padding-right: 18px;
  font-size: 1.25rem;
}

.merchant-login .ant-form .captcha-form-result .ant-form-item-additional {
  position: relative;
  top: -15px;
}

.section-login-admin .ant-form .captcha-form-result .ant-form-item-additional {
  position: relative;
  top: -15px;
}

.locale-select-dropdown {
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.locale-selector-container select:focus {
  outline: none;
  border-color: var(--merchant-default-color, #243f90);
  box-shadow: 0 0 0 2px rgba(36, 63, 144, 0.3);
}

.merchant-spin .ant-spin-dot-holder {
  color: #1677ff !important;
}

.merchant-spin div.ant-spin-text {
  color: #1677ff !important;
}

.empty-value-option {
  background-color: #fff;
  transition: border-color 0.3s ease;
}

.empty-value-option:focus {
  border-color: var(--merchant-default-color, #243f90);
  box-shadow: 0 0 0 2px rgba(36, 63, 144, 0.2);
}

.logo-cell:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: #e6f4ff;
  background: #ffffff;
}

/* Title */
.txn-modal-title-main {
  font-size: 18px;
  font-weight: 600;
}

.txn-modal-title-sub {
  font-size: 12px;
  color: #8c8c8c;
}

/* Make your rows breathe */
.txn-section .form-group {
  margin-bottom: 12px;
  min-height: 43px;
}

.txn-section .form-group .modalLabel-mbt {
  font-size: 11px;
}

.txn-section .form-group .form-control-sm {
  font-size: 11px;
}

/* Sections */
.txn-section {
  background: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 14px;
  padding: 16px 14px 6px;
  margin-bottom: 16px;
}

.txn-section-title {
  font-size: 14px;
  font-weight: 600;
  color: #262626;
  margin-bottom: 12px;
}

/* Inputs read-only style */
.txn-section input[readonly] {
  background-color: #fafafa;
  border: 1px solid #f0f0f0;
  cursor: default;
}

.txn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.txn-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.txn-bottom-row {
  margin-top: 10px;
  border-top: 1px dashed #e5e7eb;
  padding-top: 20px;
}

.txn-summary-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: linear-gradient(135deg, #f8fafc, #eef2ff);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

.txn-summary-item {
  text-align: center;
}

.txn-summary-item .label {
  font-size: 12px;
  color: #64748b;
}

.txn-summary-item .value {
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
}

.txn-summary-item.highlight .value {
  font-size: 22px;
  color: #2563eb;
}

.txn-summary-item .value .ant-tag {
  font-size: 18px;
  padding: 5px 10px 5px 10px;
  margin: 5px 10px 5px 10px;
}

.txn-qr-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.qr-caption {
  font-size: 12px;
  color: #64748b;
}

.section-info {
  padding: 12px 8px;
}

.section-info h5 {
  font-weight: 600;
  margin-top: 12px;
}

.section-info p {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 0;
}

.section-icon {
  font-size: 26px;
  color: #1677ff;
}

.section-icon.home {
  color: #10b981;
}

.soft-card {
  border-radius: 16px;
  background: linear-gradient(180deg, #fafcff, #ffffff);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

#notfound {
  position: relative;
  height: 74vh;
}

#notfound .notfound {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.notfound {
  max-width: 520px;
  width: 100%;
  line-height: 1.4;
  text-align: center;
}

.notfound .notfound-404 {
  position: relative;
  height: 240px;
}

.notfound .notfound-404 h1 {
  font-family: montserrat, sans-serif;
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  font-size: 252px;
  font-weight: 900;
  margin: 0;
  /* color: #262626; */
  color: #0088cc;
  text-transform: uppercase;
  letter-spacing: -40px;
  margin-left: -20px;
}

.notfound .notfound-404 h1 > span {
  text-shadow: -8px 0 0 #fff;
}

.notfound .notfound-404 h3 {
  font-family: cabin, sans-serif;
  position: relative;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: #262626;
  margin: 0;
  letter-spacing: 3px;
  padding-left: 6px;
}

.notfound .notfound-404 .h3-home {
  color: #0088cc;
}

.notfound h2 {
  font-family: cabin, sans-serif;
  font-size: 20px;
  font-weight: 400;
  text-transform: uppercase;
  color: #000;
  margin-top: 0;
  margin-bottom: 25px;
}

#notfound {
  position: relative;
  height: 74vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, #f5f9ff, #ffffff);
}

#notfound .notfound {
  max-width: 560px;
  width: 100%;
  text-align: center;
  padding: 50px 40px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  animation: fadeUp 0.6s ease;
}

.notfound-404 {
  position: relative;
  height: 200px;
  margin-bottom: 10px;
}

.notfound-404 h3 {
  font-family: 'Inter', 'Cabin', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #6b7280;
  margin-bottom: 8px;
}

.notfound-404 h1 {
  font-family: 'Montserrat', sans-serif;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 200px;
  font-weight: 900;
  margin: 0;
  color: transparent;
  background: linear-gradient(135deg, #0088cc, #00c6ff);
  -webkit-background-clip: text;
  background-clip: text;
  letter-spacing: -22px;
}

.notfound h2 {
  font-family: 'Inter', 'Cabin', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 30px;
}

.notfound-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

.notfound-actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.notfound-actions .primary {
  background: linear-gradient(135deg, #0088cc, #00c6ff);
  color: white;
  box-shadow: 0 8px 20px rgba(0, 136, 204, 0.3);
}

.notfound-actions .primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0, 136, 204, 0.4);
}

.notfound-actions .secondary {
  border: 1px solid #e5e7eb;
  color: #374151;
  background: white;
}

.notfound-actions .secondary:hover {
  background: #f9fafb;
}

/* subtle entrance animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media only screen and (max-width: 767px) {
  .notfound .notfound-404 {
    height: 200px;
  }

  .notfound .notfound-404 h1 {
    font-size: 200px;
  }
}

@media only screen and (max-width: 480px) {
  .notfound .notfound-404 {
    height: 162px;
  }

  .notfound .notfound-404 h1 {
    font-size: 162px;
    height: 150px;
    line-height: 162px;
  }

  .notfound h2 {
    font-size: 16px;
  }
}

.purepayment-title .pure {
  margin-right: 0.85rem; /* spacing */
}

@media (max-width: 535px) {
  .purepayment-title .pure,
  .purepayment-title .payment {
    display: block;
  }

  .purepayment-title .payment {
    margin-top: 0.55rem; /* spacing */
  }
}

/* DYNAMIC BANNER SECTION */
.dynBanner {
  position: relative;
  overflow: hidden;
  border-radius: var(--banner-radius, 14px);
  background: #0b0f1a;
  min-height: var(--minH-mobile, 260px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

@media (min-width: 992px) {
  .dynBanner {
    min-height: var(--minH-desktop, 380px);
  }
}

/* Each layer is a composited unit (image + overlay) */
.dynBanner__layer {
  position: absolute;
  inset: 0;

  background-size: cover;
  background-repeat: no-repeat;
  background-position: var(--focal-desktop, center);

  opacity: 1;
  transition: opacity var(--transition-ms, 2000ms) var(--timing-fn, ease-in-out);
  will-change: opacity;
}

@media (max-width: 991.98px) {
  .dynBanner__layer {
    background-position: var(--focal-mobile, top);
  }
}

/* Next starts hidden */
.dynBanner__layer--next {
  opacity: 0;
}

/* Fade states */
.dynBanner__layer--active.isFadingOut {
  opacity: 0;
}

.dynBanner__layer--next.isFadingIn {
  opacity: 1;
}

/* Overlay INSIDE each layer
   IMPORTANT: disable transitions to prevent "pulse" from global CSS rules */
.dynBanner__layerOverlay {
  position: absolute;
  inset: 0;
  pointer-events: none;

  transition: none !important;
  filter: none !important;
  opacity: 1 !important;
}

/* Foreground */
.dynBanner__content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 20px;
}

@media (min-width: 992px) {
  .dynBanner__content {
    padding: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dynBanner__layer {
    transition: none;
  }
}

/* NEW INPUT LOGIN CSS ANT */
.merchantCardBody .ant-input,
.merchantCardBody .ant-input-affix-wrapper {
  border-radius: 10px;
  height: 46px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  transition:
    box-shadow 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

/* Base styles for AntD inputs (including Password wrapper) */
.paymentCardBody .ant-input,
.paymentCardBody .ant-input-affix-wrapper {
  border-radius: 10px;
  height: 40px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;

  /* IMPORTANT: keep border visible even when background changes */
  background-clip: padding-box;

  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.merchantCardBody .ant-input,
.merchantCardBody .ant-input-affix-wrapper {
  border-radius: 10px;
  height: 46px;
  border: 1px solid #e5e7eb;
  background: #f8fafc;

  /* IMPORTANT: keep border visible even when background changes */
  background-clip: padding-box;

  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

/* For Input.Password: make inner input transparent so wrapper controls visuals */
.merchantCardBody .ant-input-password input.ant-input {
  background: transparent !important;
}

/* Hover: apply hover styles to wrapper (Password) and normal input */
.merchantCardBody
  .ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover,
.merchantCardBody .ant-input:not(.ant-input-disabled):hover {
  border-color: #cbd5e1;
  background-color: #ffffff; /* use background-color (not shorthand background) */
}

/* Prevent inner password input hover from painting its own background */
.merchantCardBody .ant-input-password input.ant-input:hover {
  background: transparent !important;
}

/* Focus ring (clean, professional) */
.merchantCardBody .ant-input:focus,
.merchantCardBody .ant-input-affix-wrapper-focused {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
  background-color: #ffffff;
}

/* Optional: ensure suffix icon area matches (eye icon / user icon) */
.merchantCardBody .ant-input-affix-wrapper .ant-input-suffix,
.merchantCardBody .ant-input-affix-wrapper .ant-input-prefix {
  color: #94a3b8;
}

.adminCardBody .btn-primary,
.merchantCardBody .btn-primary {
  background-color: var(--merchant-default-color, #243f90) !important;
  border-color: #243f90 #ccc #b3b2b2;
}

.merchantCardBody .btn-primary:hover {
  background-color: #00b7b0 !important;
  border-color: #00b7b0 !important;
  transform: translateY(-1px);
  transition: all 0.2s ease;
}

.merchantCardBody .btn-primary {
  display: inline-flex; /* ensures flex layout */
  align-items: center; /* vertical centering */
  justify-content: center; /* horizontal centering */
  line-height: 1; /* prevents text baseline offsets */
}

/* Optional: ensure the span doesn't introduce extra line-height */
.merchantCardBody .btn-primary > span {
  display: inline-flex;
  align-items: center;
}

.clickable-div {
  cursor: pointer; /* Changes mouse to the hand icon */
  transition: all 0.3s ease; /* Smooth transition for hover effects */
  user-select: none; /* Prevents text highlighting when clicking rapidly */

  /* Link-like colors (optional) */
  color: var(
    --merchant-default-secondary-bk-color,
    #00b7b0
  ) !important; /* Standard Ant Design Blue */
}

.clickable-div:hover {
  color: var(
    --merchant-default-secondary-bk-color,
    #00b7b0
  ) !important; /* Lighter blue on hover */
  text-decoration: underline; /* Mimics standard <a> behavior */
  /* background-color: rgba(0, 0, 0, 0.02); Subtle highlight */
}

.clickable-div:active {
  transform: scale(0.98); /* Visual "click" feedback */
}
