@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100..900;1,100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

@import url("./navbar.css");
@import url("./sidebar.css");
@import url("./virtualCard.css");
@import url("./dateRangePicker.css");
@import url("./cardSlider.css");




/* ====== Common colors ====== */
:root {
  --gold: #D1A97D;
  --dark-grey: #F3F3F3;
  --black: #000000;
  --dark-black: #1A1B25;
  --light-black: #333;
  --gray: #71777c;
}


body {
  font-family: Archivo;
  background-color: #eeeeee;
}

.card {
  border-radius: 8px;
  box-shadow: 0px 0px 0px 1px #12376914, 0px 1px 2px 0px #A4ACB929, 0px 12px 24px -12px #36394A3D;
}


.img-fluid {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.pencil-icon {
  top: 5px;
  right: 5px;
  cursor: pointer;
  color: #000;
}

.btn {
  border-radius: 8px;
  font-family: "Inter", sans-serif;
}

.text-gold {
  color: var(--gold);
}

.text-dark-black {
  color: var(--dark-black);
}

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

.bg-gold {
  background-color: var(--gold);
}

.btn-gold {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--gold);
  --bs-btn-border-color: var(--gold);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #636678;
  --bs-btn-hover-border-color: #5d6071;
  --bs-btn-focus-shadow-rgb: 137, 140, 158;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #5d6071;
  --bs-btn-active-border-color: #575a6a;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--gold);
  --bs-btn-disabled-border-color: var(--gold);
}

.btn-outline-gold {  
  --bs-btn-color: var(--gold);
  --bs-btn-border-color: var(--gold);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--gold);
  --bs-btn-hover-border-color: var(--gold);
  --bs-btn-focus-shadow-rgb: 116, 120, 141;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--gold);
  --bs-btn-active-border-color: var(--gold);
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: var(--gold);
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: var(--gold);
  --bs-gradient: none;
}

.btn-outline-gold:hover {
  background-color: var(--gold) !important;
  color: #fff;
}

.asteric {
  color: red;
}

.apex-charts text {
  fill: var(--light-black);
}

/* toaster position override */
#toast-container {
  top: 50% !important;
  right: 50% !important;
  transform: translate(50%, -50%) !important;
}

.toast.toast-warning {
  color: #60481e !important;
}

/* Loader */
#preloader {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.7;
}

.card .credit-account-detail {
  border-left: 1px solid;
}

@media (max-width: 1200px) {
  .card .credit-account-detail {
    width: auto;
    margin: 0 auto;
    padding-top: 10px;
    text-align: center;
    border-left: none;
    border-top: 1px solid;
  }
}

.credit-container {
  background: #eeeeee;
  color: #1a1b25;
  padding: 15px;
  border-radius: 10px;
  width: 900px;
  font-family: Arial, sans-serif;
}

.credit-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
}

.credit-value {
  font-size: 18px;
  font-weight: bold;
}

.progress-bar {
  background-color: #d1a97d
}

.progress {
  margin-top: 10px;
}

/* .progress-bar {
  width: 100%;
  background: #b0c4de;
  border-radius: 10px;
  height: 12px;
  margin-top: 10px;
  position: relative;
}
.progress-fill {
  height: 100%;
  background: #d1a97d;
  border-radius: 10px;
  transition: width 0.5s ease-in-out;
} */


/* custom form css */
.form-control::-webkit-input-placeholder,
.form-control::-moz-placeholder,
.form-control:-ms-input-placeholder,
.form-control:-moz-placeholder {
  color: #79829c;
}

.form-switch-lg {
  padding-left: 3.75rem !important;
}

.form-switch-golden-black .form-check-input:checked {
  background-color: #2a2e42;
}

.form-switch-golden-black .form-check-input {
  background-color: var(--gold);
  background-image: url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27%23fff%27/%3e%3c/svg%3e");
}

/* Custom - Select2 CSS  */

span.select2-selection.select2-selection--multiple {
  padding: 0.15rem 0.25rem;
  width: 100%;
  max-width: 100%;
}

.select2 {
  width: 100% !important;
}

/* custom table css */
.table>:not(caption)>*>* {
  white-space: nowrap;
}

.table.last-row-bb0>:not(caption):last-child>*:last-child>* {
  border-bottom: none;
}

/* All DataTable Page CSS */
div.dataTables_wrapper div.dataTables_length {
  text-align: left;
}

.dt_long_search div.dataTables_wrapper div.dataTables_filter label {
  display: block;
}

.dt_long_search div.dataTables_wrapper div.dataTables_filter input {
  width: 100%;
  display: inline-block;
  max-width: 100%;
  margin: 0;
  height: 35px;
}

@media (max-width: 767px) {
  .dt_long_search .col-sm-12 {
    padding: 0;
  }

}

/* Action Dropdown CSS */
table.dataTable>tbody>tr.child ul.dtr-details>li:last-child {
  display: flex;
  align-items: center;
}

/* for switch */
table.dataTable>tbody>tr.child ul.dtr-details>li {
  display: flex
}

table.dataTable>tbody>tr.child span.dtr-title {
  padding-right: 10px;
}

/* AUTH PAGE */
.account-pages .terms-detail {
  max-height: 245px;
  background-color: #cfd6f614;
  padding: 10px;
  border: 1px solid #cfd6f640;
  border-radius: 10px;
}

.account-pages .auth-logo-light img,
.account-pages .auth-logo-dark img {
  max-height: 70px;
  max-width: 50px;
}


/* CSS for Table Action Dropdown btn */
.page-title-box,
.card-title-box  {
  padding-bottom: 18px;
}

.page-title-box h3,
.card-title-box h3  {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
  color: #1A1B25;
  padding: 0 0 0 20px;
  margin-bottom: 0;
}

.page-title-box h3 img,
.card-title-box h3 img  {
  margin-right: 8px;
}

.page-title-box h3 i,
.card-title-box h3 i  {
  font-size: 30px;
}

@media only screen and (max-width: 786px) {
  .page-title-box,
  .card-title-box  {
    padding-bottom: 8px;
  }

  .page-title-box h3,
  .card-title-box h3  {
    font-size: 18px;
    line-height: 1.3;
  }

  .page-title-box h3 i,
  .card-title-box h3 i  {
    font-size: 24px;
  }
}

@media only screen and (max-width: 480px) {
  .btn.font-size-16 {
    font-size: 14px !important
  }
  .apexcharts-tooltip-text{
    font-size: 9px !important;
  }
}

/* >>> Header */

.editProfileImage-wrapper {
  position: relative;
  height: 80px;
  width: 80px;
  cursor: pointer;
}

.editProfileImage {
  height: 80px;
  width: 80px;
}

.editProfileImage-icon {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 25px;
}

.notification button {
  width: 31px;
  height: 31px;
}


/* EDIT CARD */
#editCardForm .card .card-body {
  background-color: #F3F3F3;
}

/* Dashboard Print */
@media print {
  .dateRangePickerBar {
    display: none !important;
  }
  .exportDashboardContent {
    display: none !important;
  }
  .dashboardViewTransactionDiv {
    display: none !important;
  }
}

.dropdown-header {
  font-size: 14px !important;
  color: var(--black) !important;
  font-weight: 600 !important;
}

.loginDetails span {
  font-size: 16px;
  color: var(--black);
  font-weight: 400;
}

.tripDetailLabels div {
  font-size: 14px;
}

.tripDetailLabels div label,
#editVirtualCardForm label {
  font-size: 15px;
  font-weight: 600;
}

.dashboard-account-details {
  min-height: 184.09px;
}

#layout-wrapper .page-content {
  padding: calc(102px + 24px) calc(24px * 0.75) 60px calc(24px * 0.75);
}

.footer {
  left: 200px;
}
.swiper-3d .swiper-slide-shadow {
  background: none !important;
}

/* Account Balance Cards Styles */
.account-balance-card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.account-header {
  border: none;
  padding: 15px 15px;
}

.prefunded-header {
  background: #105865;
}

.account-balance-card .credit-header {
  background: #105865;
}

.account-body {
  padding: 10px 15px;
  background: #ffffff;
}

.balance-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
}

.balance-row:last-child {
  border-bottom: none;
}

.balance-label {
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

.balance-amount-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.balance-amount {
  font-size: 24px;
  font-weight: 700;
  color: #2c3e50;
}

.accountCardFlexCustom {
  flex : 0.2 auto;
}

.accordion-button:not(.collapsed) {
  color: #000;
  background-color: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .account-body {
    padding: 20px 15px;
  }
  
  .balance-label {
    font-size: 14px;
  }
  
  .balance-amount {
    font-size: 20px;
  }
}