html, body {
  overflow-x: hidden;
}

@media (max-width: 768px)  {
  body {
    margin-bottom: 60px;
  }
}

body {
  background-color: #f8f9fa;
}

/* For WebKit browsers */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 10px;
  border: 2px solid #f0f0f0;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

/* Firefox only */
* {
  scrollbar-width: thin; /* or auto / none */
  scrollbar-color: #888 #f0f0f0; /* thumb color, track color */
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #1e1e1e;
}
::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #666;
}



.sidebar {
position: sticky;
top: 0px; /* Distance from the top of the viewport */
background-color: white;
padding: 20px;
height: fit-content; /* Only as tall as its content */
}

.sidebar {
  width: 250px;
  background-color: white;
  padding: 20px;
  height: 100vh;
}

.sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  color: #000;
  text-decoration: none;
  border-radius: 10px;
}

.sidebar a.active {
  background-color: #afe4ff;
  font-weight: 500;
}

.sidebar a:hover {
  background-color: #f1f1f1;
}



.sidebar-mobile {
  position: sticky;
  top: 20px; /* Distance from the top of the viewport */
  background-color: white;
  padding: 20px;
  height: fit-content; /* Only as tall as its content */
  }

.sidebar-mobile {
  width: 100%;
  background-color: white;
  padding: 20px;
  height: 100vh;
}
.sidebar-mobile a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  color: #000;
  text-decoration: none;
  border-radius: 10px;
}
.sidebar-mobile a.active {
  background-color: #afe4ff;
  font-weight: 500;
}
.sidebar-mobile a:hover {
  background-color: #f1f1f1;
}



.submenu {
  padding-left: 30px;
}

.transaction-icon {
  width: 40px;
  height: 40px;
  background-color: #f1f1f1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.transaction-item {
  border-bottom: 1px solid #eaeaea;
  padding: 15px 0;
}
.amount-lg {
  font-weight: bold;
}
.amount-sm {
  color: gray;
  font-size: 0.9rem;
}

.currency-box {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 15px;
}
.exchange-icon {
  font-size: 1.5rem;
  cursor: pointer;
}
.send-btn {
  background-color: #b7f397;
  border: none;
  border-radius: 30px;
  padding: 10px 40px;
  font-size: 1.2rem;
}
.info-box {
  background-color: #f1f1f1;
  border-radius: 10px;
  padding: 10px;
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
}

/* Change the primary color to #006397 */
:root {
--bs-primary: #006397 !important;
}

/* Override Bootstrap’s primary color button styles */
.btn-primary {
  background-color: #006397;
  border-color: #006397;
}

.btn-primary:hover {
  background-color: #005b7f;
  border-color: #005b7f;
}

.btn-primary:focus, .btn-primary.focus {
  box-shadow: 0 0 0 0.25rem rgba(0, 99, 151, 0.5);
}

/* Override primary color links */
a.text-primary {
  color: #006397 !important;
}

a.text-primary:hover {
  color: #005b7f !important;
}

/* Override navbar primary color */
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
  color: #006397;
}

/* Override other instances of primary color in Bootstrap components */
.carousel-control-prev-icon, .carousel-control-next-icon {
  background-color: #006397;
}

/* Override primary color for input buttons */
input[type="submit"].btn-primary,
button[type="submit"].btn-primary {
  background-color: #006397;
  border-color: #006397;
}

input[type="submit"].btn-primary:hover,
button[type="submit"].btn-primary:hover {
  background-color: #005b7f;
  border-color: #005b7f;
}

/* Override alert primary color */
.alert-primary {
  background-color: #006397;
  border-color: #006397;
  color: white;
}

/* Override badge primary color */
.badge-primary {
  background-color: #006397 !important;
  color: white !important;
}

/* Override progress bar primary color */
.progress-bar.bg-primary {
  background-color: #006397 !important;
}

.bg-primary {
  background-color: #006397 !important;
}

.btn-outline-primary {
  color: #006397 !important;
  border-color: #006397 !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary.active,
.show > .btn-outline-primary.dropdown-toggle {
  color: #fff !important;
  background-color: #006397 !important;
  border-color: #006397 !important;
}


/* Override modal header primary color */
.modal-header .btn-close {
  color: #006397;
}

.card {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  background-color: #f8f9fa;
}

.card-header {
  background-color: #f8f9fa;
  padding: 10px 15px;
  gap: 10px;
}

.flag {
  width: 28px !important;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.ngn-text {
  font-weight: bold;
  font-size: 18px;
  color: #006397;
}



.wallet-info {
  font-size: 14px;
  color: #333;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.wallet-info i {
  margin-right: 10px;
}

.amount {
  font-size: 18px;
  font-weight: bold;
  color: #000;
}

.owl-prev, .owl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: #000;
  background: #fff;
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.owl-prev {
  left: -20px;
}

.owl-next {
  right: -20px;
}

.carousel-card {
  padding: 10px;
}

.owl-carousel .owl-item {
  padding: 0 5px;
}

.circle-avatar {
  width: 60px;
  height: 60px;
  background-color: #e6e6e6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
  position: relative;
}
.flag-icon {
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #fff;
}
.contact-name {
  font-size: 0.9rem;
}
.card-feature {
  background-color: #afe4ff;
  color: #006397;
  border: none;
  border-radius: 1rem;
  text-align: center;
  padding: 1rem;
  height: 100%;
}

.card-feature:hover {
  background-color: #006397;
  color: #afe4ff;
  border: none;
  border-radius: 1rem;
  text-align: center;
  padding: 1rem;
  height: 100%;
}

.card-feature img {
  height: 50px;
  margin-bottom: 1rem;
}


.card-soft {
  background-color: #f0f2ec;
  border: none;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
}

.rounded-icon {
  background: #e3e6dd;
  border-radius: 50%;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

@media (max-width: 768px) {
  .rounded-icon {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }
}

.section-title {
  font-weight: 600;
  font-size: 18px;
  margin-top: 30px;
  margin-bottom: 15px;
}

.list-group-item {
  background-color: transparent;
  border: none;
  padding-left: 0;
  padding-right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.list-group-item:hover {
  background-color: #f0f2ec;
  border: none;
  padding-left: 0;
  padding-right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.list-icon {
  background: #ecefed;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  font-size: 16px;
}

.open-business {
  background: #f3f5f1;
  border: 2px dashed #ccc;
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  font-weight: 500;
}

.btn-logout {
  background-color: #e4e7dc;
  border: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
}

.list-description {
  font-size: 13px;
  color: #6c757d;
}

.feedback {
  font-size: 13px;
  color: #6c757d;
  text-align: center;
  margin-top: 20px;
}

.feedback a {
  font-weight: 600;
  color: #375a3c;
}


.balance-item {
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}

.transaction-icon {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #f2f2f2;
}
#backToTop {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
}

.currency-card { display: none; }
.currency-card.visible { display: block; }
@media (min-width: 768px) {
  .currency-col { flex: 0 0 50%; max-width: 50%; }
}
@media (max-width: 767.98px) {
  .currency-col { flex: 0 0 100%; max-width: 100%; }
}

a {
  cursor: pointer;
}


#walletid {
  cursor: pointer;
  user-select: all;
}


.position-toggle {
  position: absolute;
  right: 10px;
  top: 38px;
  cursor: pointer;
  color: #6c757d;
}
.captcha-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

.scaled-recaptcha {
  transform: scale(1);       /* Default scale */
  transform-origin: 0 0;
}

/* Optional: Make responsive */
@media (max-width: 400px) {
  .scaled-recaptcha {
    transform: scale(0.85);  /* Scale down for small screens */
  }
}

:root {
  --bs-primary: #0473aa;
  --bs-primary-rgb: 4, 115, 170;
  --bs-primary-text-emphasis: #033c5c;
  --bs-primary-bg-subtle: #cce7f3;
  --bs-primary-border-subtle: #99cfea;
}

/* Buttons */
.btn-primary,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:disabled {
  background-color: #0473aa !important;
  border-color: #0473aa !important;
  color: #fff !important;
}

.btn-primary:hover {
  background-color: #03587a !important;
  border-color: #03587a !important;
}

/* Text */
.text-primary {
  color: #0473aa !important;
}

.text-primary:hover,
.text-primary:focus {
  color: #034b66 !important;
}

/* Background */
.bg-primary {
  background-color: #0473aa !important;
  color: #fff !important;
}

/* Borders */
.border-primary {
  border-color: #0473aa !important;
}

/* Badges */
.badge-primary {
  background-color: #0473aa !important;
  color: #fff !important;
}

/* Alerts */
.alert-primary {
  background-color: #cce7f3 !important;
  border-color: #99cfea !important;
  color: #033c5c !important;
}

/* Pagination */
.page-item.active .page-link {
  background-color: #0473aa !important;
  border-color: #0473aa !important;
  color: #fff !important;
}

.page-link {
  color: #0473aa !important;
}

.page-link:hover {
  color: #034b66 !important;
}

/* Accordion */
.accordion-button:not(.collapsed) {
  background-color: #cce7f3 !important;
  color: #033c5c !important;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(3, 88, 122, 0.35) !important;
}

/* Navs */
.nav-link.active,
.nav-pills .nav-link.active {
  background-color: #0473aa !important;
  color: #fff !important;
}

.nav-link:hover {
  color: #034b66 !important;
}

/* List group */
.list-group-item.active {
  background-color: #0473aa !important;
  border-color: #0473aa !important;
  color: #fff !important;
}

/* Progress bar */
.progress-bar.bg-primary {
  background-color: #0473aa !important;
}

/* Form switches & checks */
.form-check-input:checked {
  background-color: #0473aa !important;
  border-color: #0473aa !important;
}

/* Range input */
.form-range::-webkit-slider-thumb {
  background-color: #0473aa !important;
}

.form-range::-moz-range-thumb {
  background-color: #0473aa !important;
}

/* Toasts */
.toast-header {
  background-color: #cce7f3 !important;
  color: #033c5c !important;
}

/* Spinners */
.spinner-border.text-primary,
.spinner-grow.text-primary {
  color: #0473aa !important;
}

/* Table */
.table-primary {
  background-color: #cce7f3 !important;
  color: #033c5c !important;
}
.table-primary > th,
.table-primary > td {
  background-color: #cce7f3 !important;
}

/* Tooltip / Popover */
.bs-popover-auto[data-popper-placement^="top"] > .popover-arrow::before {
  border-top-color: #0473aa !important;
}

/* Custom scrollbar (optional themed) */
::-webkit-scrollbar-thumb {
  background-color: #0473aa !important;
}
