@import url("variables.css");
@import url("auth.css");
@import url("responsive-fonts.css");
@import url("common-fonts.css");
@import url("select2-custom-style.css");

*,
::after,
::before {
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-body);
  opacity: 1;
  overflow-y: auto;
  margin: 0;
  background: #fafafa;
}

.ellipsis-2{
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bg-light{
  background-color: #F5F7FA !important;
}

.w-fit{
	width: fit-content !important;
}
a {
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-family);
}

li {
  list-style: none;
}

h4 {
  font-family: var(--font-family);
  font-size: var(--font-size-h4);
  color: var(--emphasis-color);
}

.w-fit{
  width: fit-content !important;
}

.btn-soft-success {
  color: #34c38f;
  background-color: rgba(52, 195, 143, 0.1);
  border-color: transparent;
  transition: all 0.5s ease;
}
.btn-soft-success:hover, .btn-soft-success:focus, .btn-soft-success:active {
  color: #fff;
  background-color: #34c38f;
  border-color: transparent;
}
.btn-soft-danger {
  color: #f46a6a;
  background-color: rgba(244, 106, 106, 0.1);
  border-color: transparent;
  transition: all 0.5s ease;
}
.btn-soft-danger:hover, .btn-soft-danger:focus, .btn-soft-danger:active {
  color: #fff;
  background-color: #f46a6a;
  border-color: transparent;
}
.btn-soft-info {
  color: #50a5f1;
  background-color: rgba(80, 165, 241, 0.1);
  border-color: transparent;
  transition: all 0.5s ease;
}
.btn-soft-info:hover, .btn-soft-info:focus, .btn-soft-info:active {
  color: #fff;
  background-color: #50a5f1;
  border-color: transparent;
}

.form-check-input:checked {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.slick-slide {
  height: auto;
}

.aspect-sq{
  aspect-ratio: 1/1;
}

.wrapper {
  align-items: stretch;
  display: flex;
  width: 100%;
}

#sidebar {
  max-width: var(--sidebar-width);
  min-width: var(--sidebar-width);
  transition: all var(--transition-speed) ease-in-out;
  border-right: 1px solid transparent;
  border-image-source: linear-gradient( 180deg, rgba(0, 0, 0, 0) 0%, #343434 50.5%, rgba(102, 102, 102, 0) 100% );
  border-image-slice: 1;
}

@media (max-width: 1199px) {
  #sidebar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 2;
    background: white;
  }
}
@media (min-width: 1200px) {
  #sidebar-toggle{
    display: none;
  }
  #sidebar-close{
    display: none;
  }
}

.main {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-width: 0;
  overflow: hidden;
  transition: all var(--transition-speed) ease-in-out;
  width: 100%;
  background: var(--background-color-dark-subtle);
}

.sidebar-logo {
  padding: var(--spacing-large);
  display: flex;
  /* background-color: yellowgreen; */
  justify-content: center;
}
.sidebar-logo a {
  color: var(--primary-color);
  font-size: var(--font-size-sidebar-logo);
  font-weight: var(--font-weight-sidebar-logo);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
  list-style: none;
  margin-bottom: 0;
  padding-left: 0;
  margin-left: 0;
  padding: 0 20px;
}

.sidebar-header {
  color: var(--primary-color);
  font-size: var(--font-size-sidebar-header);
  padding: 1.5rem var(--sidebar-padding) var(--spacing-small);
}

a.sidebar-link {
  padding: var(--spacing-medium) var(--sidebar-padding);
  color: var(--primary-color);
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 5px;
  font-size: var(--font-size-sidebar-link);
}

.sidebar-item:hover{
  color: var(--white);
  background-color: var(--primary-bg-subtle);
  border-radius: 5px;
}

.sidebar-item .active{
  color: var(--white);
  background-color: var(--primary-color);
}

a.sidebar-link[data-bs-toggle=collapse]::after {
  border: solid;
  border-width: 0 0.075rem 0.075rem 0;
  content: "";
  display: inline-block;
  padding: 2px;
  position: absolute;
  right: 1.5rem;
  top: 1.4rem;
  transform: rotate(-135deg);
  transition: all 0.2s ease-out;
}
a.sidebar-link[data-bs-toggle=collapse].collapsed::after {
  transform: rotate(45deg);
  transition: all 0.2s ease-out;
}


/* BootStrap Default Colors Change */
.btn-primary {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  min-height: 38px;
}

.btn-primary:hover {
  background-color: var(--primary-color-hover) !important;
  border-color: var(--primary-color-hover) !important; 
}

.btn-secondary {
  background-color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
}

.btn-secondary:hover {
  background-color: var(--secondary-color-hover) !important;
  border-color: var(--secondary-color-hover) !important;
}

.text-primary{
  color: var(--primary-color) !important;
}

.text-secondary{
  color: var(--secondary-color) !important;
}

.register-form-container .nav-link,.register-form-container .nav-link:focus,.register-form-container .nav-link:hover{
  color: var(--primary-color);
  border: 1px solid var(--gray-color)
}
.register-form-container .nav-pills .nav-link.active,.register-form-container .nav-pills .show>.nav-link{
  color: var(--white);
  background-color: var(--primary-color);
  border: 1px solid var(--primary-color)
}

.register-form-container{
  /* margin-top: 10%;
  margin-bottom: 10%; */
  /* background-color: yellowgreen; */
}
@media (min-width: 700px) and (max-width: 900px) {
  .register-form-container {
    /* margin-top: 10%;
    margin-bottom: 10%; */
    /* background-color: yellowgreen; */
    margin-top: 0px;
    margin-bottom: 0px;
    justify-items: center;
  }
}


.bg_overlay_3{
  background-image: url('../image/overlays/bg-auth-top-overlay.svg');
  height: 100%;
  width: 40%;
  top: 0;
  right: 0;
  background-size: contain;
  position: absolute;
  background-repeat: no-repeat;
  background-position: top;
  object-fit: cover;
  z-index: -1;
}
.bg_overlay_4{
  background-image: url('../image/overlays/bg-auth-bottom-overlay.svg');
  height: 100%;
  width: 40%;
  background-size: contain;
  position: absolute;
  background-repeat: no-repeat;
  background-position: bottom;
  left: 0;
  bottom: 0;
  object-fit: cover;
  z-index: -1;
}


.avatar-xs {
  height: 22px;
  width: 22px;
}
.avatar-sm {
  height: 30px;
  width: 30px;
}

.avatar {
  height: var(--avatar-size);
  width: var(--avatar-size);
}
.avatar-2xl {
  height: 9.5rem;
  width: 9.5rem;
}

.navbar-expand .navbar-nav {
  margin-left: auto;
}

.content {
  flex: 1;
  max-width: 100vw;
  width: 100vw;
}



.card {
  box-shadow: var(--box-shadow-card);
  margin-bottom: 24px;
}

.illustration {
  background-color: var(--primary-bg-subtle);
  color: var(--emphasis-color);
}
.illustration .illustration-img {
  max-width: 150px;
  width: 100%;
}

#sidebar.collapsed {
  margin-left: calc(-1 * var(--sidebar-width));
}



.step-container {
  position: relative;
  text-align: center;
  transform: translateY(-43%);
}

.step-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #fff;
  border: 2px solid var(--secondary-color);
  line-height: 30px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  cursor: pointer; /* Added cursor pointer */
}

.progress, .progress-stacked{
  --bs-progress-bar-bg: var(--secondary-color);
}

.step-line {
  position: absolute;
  top: 16px;
  left: 50px;
  width: calc(100% - 100px);
  height: 2px;
  background-color: var(--secondary-color);
  z-index: -1;
}

#multi-step-form{
  overflow-x: hidden;
}

.home-banner-carousel .img-fluid {
  min-width: 100%;
  max-height: 40dvh;
  object-fit: cover;
  border: 0.75px solid var(--theme-border-color);
  border-radius: var(--dash-border-radius);
}

.qr-container {
  border-radius: var(--dash-border-radius);
  padding: 0.3rem;
  background-color: var(--white);
}
.qr-container .qr-code{
  max-width: 400px;
  margin: auto;
  width: 100%;
}
.qr-container .qr-code svg{
  width: 100%;
  height: 100%;
}
.qt-slick-slider .slick-next, .qt-slick-slider .slick-prev{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  aspect-ratio: 1/1;
}
.qt-slick-slider .slick-next{
  right: 0;
}
.qt-slick-slider .slick-prev{
  left: 0;
}

/* Setting Section Css Start*/
.setting-section .nav-underline .nav-link {
  color: var(--primary-color);
  border-bottom-width: 3px;
}
.setting-section .nav-link:focus, .nav-link:hover {
	color: var(--primary-color);
}
.setting-section .nav-underline{
  border-bottom: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color)!important;
}
.setting-section .nav-underline .nav-link.active, .nav-underline .show>.nav-link,.setting-section .nav-underline .nav-link:focus,.setting-section .nav-underline .nav-link:hover {
  border-bottom-color: var(--secondary-color);
}

.accordion-button:not(.collapsed){
  background: #acbacf45 !important;
}

.edit-icon{
  cursor: pointer;
  height: 24px;
  width: 24px;
  padding: 3px;
  display: flex;
  justify-content: center;
  position: absolute;
  top: 0;
  right: 0;
  margin: 9px;
}

.default-input{
  background: #acbacf45 !important;
  border: none;
}

.text-soft-white{ color: #ffffff8c; }

.spinner-border{
    height: 18px;
    width: 18px;
    font-size: 10px;
}

.btn-grey{ background: #acbacf45; }
.btn-grey:hover{ background: #acbacf86; }

.kyc-status{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 12px;
  font-size: 12px;
  text-transform: capitalize;
}

.kyc-success{ color: #3CD91D; }
.kyc-pending{ color: #F7B500; }
.kyc-failed{ color: #fd1e1e; }

.input-search-icon{
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
  left: 18px;
  font-size: 18px;
  text-transform: capitalize;
  color: #74788d;
}
/* Setting Section Css End*/

/* Add Money CSS Start */
.add-money-section .nav-pills{
  background-color: var(--secondary-soft-color);
  width: fit-content;
  padding: 5px;
  border-radius: 7px;
}
.add-money-section .nav-pills .nav-link.active,.add-money-section .nav-pills .show>.nav-link{
  color: var(--white);
  background-color: var(--primary-color);
}
.add-money-section .nav-link {
  color: var(--primary-color);
}
.mobile-number::-webkit-inner-spin-button,
.mobile-number::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.mobile-number {
  -moz-appearance: textfield;
  appearance: textfield;
}
/* Add Money CSS End */

/* Footer CSS Start*/
.footer{
  border-top: 1px solid transparent;
  border-image-source: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #343434 50.5%, rgba(102, 102, 102, 0) 100%);
  border-image-slice: 1;
}

/* Footer CSS End*/

/* Modal CSS Start */
.form-control:focus {
  box-shadow:none !important;
  border-color: var(--secondary-color) !important;
}
.form-control::placeholder {
  color: #99999985 !important;
}
.modal .form-control {
  -webkit-appearance: auto;
  -moz-appearance: auto;
}
/* Modal CSS End */

/* International Airtime CSS Start */
.international-airtime-section .nav-pills{
  width: fit-content;
}
.international-airtime-section .nav-pills .nav-link.active,.international-airtime-section .nav-pills .show>.nav-link{
  color: var(--primary-color);
  background-color: transparent;
  font-weight: 600;
}
.international-airtime-section .nav-link {
  color: var(--light-gray);
  font-weight: 600;
}

.plan-tabs .plan{
  max-width: 175px;
  min-width: 175px;
  min-height: 100px;
  flex: 1;
}

.plan-tabs .nav-link:focus-visible {
  outline: 0;
  box-shadow: none;
}

.plan-tabs .plan .card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Align card content evenly */
}

.plan-container{
  display: flex;
  scrollbar-width: thin;
}
/* International Airtime CSS End */










@media (min-width: 992px) {
  .border-linear-right{
    border-right: 1px solid transparent;
    border-image-slice: 1;
    border-image-source: linear-gradient( 180deg, rgba(0, 0, 0, 0) 0%, #343434 50.5%, rgba(102, 102, 102, 0) 100% );
  }
}



@media (min-width: 768px) {
  .content {
    max-width: auto;
    width: auto;
  }
}


@media (max-width: 1199px) {
  .register-form-container{
    /* margin-top: 10%; */
    align-content: center;
  }
  .js-sidebar {
    margin-left: calc(-1 * var(--sidebar-width));
  }
  #sidebar.collapsed {
    margin-left: 0;
  }
  .navbar,
  footer {
    width: 100vw;
  }
}


/* Scrollbar Styles */
.wrapper {
  max-height: 100vh;
  overflow-y: auto;
}
/* Style the scrollbar */
.wrapper::-webkit-scrollbar {
  width: 8px;
}

/* Style the background of the scrollbar) */
.wrapper::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

/* Style the scrollbar thumb (the part you can drag) */
.wrapper::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 10px;
}

/* Style the scrollbar thumb on hover */
.wrapper::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

.kyc-page{
  background-image: url('../image/overlays/kyc-bg.png');
  background-size: cover;
}

/* Doc Upload Css Start */
.image_upload_form__container {
  position: relative;
  width: 100%;
  height: 200px;
  border: 1px dashed silver;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  color: silver;
  margin-bottom: 5px;
  border-radius: 5px;
}
.image_upload_form__container.active {
  background-color: rgba(192, 192, 192, 0.2);
}
.form__file {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  cursor: pointer;
  opacity: 0;
}
.form__files-container {
  display: flex;
    gap: 15px;
  width: 100%;
  font-size: 0;
  margin-top: 20px;
}
.form__image-container {
  display: inline-block;
  width: 50%;
  height: 100px;
  margin-bottom: 10px;
  position: relative;
}
.form__image-container:after {
  content: "✕";
  position: absolute;
  height: 14px;
  width: 14px;
  font-size: 8px;
  top: -2px;
  right: -2px;
  text-align: center;
  font-weight: bold;
  color: #fff;
  background-color: rgb(209 42 42 / 78%);
  opacity: 1;
  border-radius: 12px;
  padding: 2px;
}
.form__image {
  -o-object-fit: contain;
  object-fit: contain;
  width: 100%;
  height: 100px;
  border-radius: 4px;
  border: 1px solid #a5a5a561;
}

.kyc-document-column{
    max-height: 60vh;
    overflow-y: auto;
}

@media screen  and (max-width:1399px) {
  .kyc-document-column{
      max-height: calc(60vh + 80px);
      overflow-y: auto;
  }
  
}
/* Doc Upload Css End */


table.dataTable{
  padding-top: 20px !important;
}
.dataTables_filter [type=search], .dataTables_length select{
  outline: none !important;
  outline-offset: 0px !important;
  -webkit-appearance: textfield;
  background: #acbacf45 !important;
  border: none;
  padding: 5px 10px;
  border-radius: 7px;
}

table.dataTable tbody th, table.dataTable tbody td {
  padding: 7px 10px !important;
}

table.dataTable thead th, table.dataTable thead td {
  padding: 10px !important;
  border-bottom: 1px solid rgba(224, 224, 224, 1) !important;
  font-size: var(--font-size-content-3);
  font-weight: 500 !important;
  opacity: 0.7;
}

.table-hover>tbody>tr:hover>* {
  --bs-table-accent-bg: #F5F7FA !important;
}

table.dataTable thead th, table.dataTable tbody td {
  font-size: var(--font-size-content-3);
}

.dataTables_wrapper .dataTables_length label, .dataTables_wrapper .dataTables_filter label {
  font-size: var(--font-size-content-3) !important;
}

.dataTables_info{
  font-size: var(--font-size-content-3) !important;
  color: var(--secondary-color) !important;
}

.dataTables_wrapper .dataTables_paginate{
  font-size: var(--font-size-content-3) !important;
  color: var(--secondary-color) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  padding: 0.2em 0.7em !important;
}

.data-table-container{
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.kyc-result-contents{
  max-width: 550px;
  background-image: url('../image/overlays/kyc-result-frame.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom;
}

.kyc-result-contents span.number {
  height: 20px;
  min-width: 20px;
  width: 20px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 7px;
  font-weight: normal;
  font-size: 11px;
}

.badge-secondary {
	color: #fff;
	background-color: #6c757d;
}
.badge-success {
	color: #fff;
	background-color: #28a745;
}
.badge-warning {
	color: #212529;
	background-color: #ffc107;
}
.badge-info {
	color: #fff;
	background-color: #17a2b8;
}

.loading-span{
	display: flex;
	align-items: center;
	width: fit-content !important;
	cursor: not-allowed;
	transition: background-color 0.3s ease;
}

.form-label
{
	font-size: var(--font-size-content-3);	
}