.dashboardView {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-bottom: 70px;
}

#dashboard {
  width: 100%;
  min-height: 100vh;
  background: var(--color-background);
  display: flex;
  flex-direction: column;
  font-family: var(--font-family-base);
  color: var(--color-text-primary);
}

/* Dashboard Header */
#dashboardHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  border-bottom: 2px solid var(--color-surface);
  width: 100%;
}

#clientDetails {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

#clientImage {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

#clientImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#clientDetails h3 {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-normal);
  color: var(--color-text-muted);
  margin-bottom: 2px;
}

#clientDetails p {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-secondary);
}

#applicationActions {
  display: flex;
  gap: var(--space-sm);
}

#applicationActions > div {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

#applicationActions > div:hover {
  background: var(--color-gray-light);
}

#notificationsIcon svg,
#themeIcon svg,
#logoutIcon svg {
  height: 1.3em;
  color: var(--color-teal-dark);
}

#summary {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  gap: var(--space-md);
  padding: var(--space-md);
  scroll-padding: var(--space-md);
  margin-top: 1em;
}

#summary::-webkit-scrollbar {
  display: none;
}

#loansSummary {
  background: var(--color-surface);
}

#savingsSummary {
  background: var(--color-teal-light);
}

#loansSummary,
#savingsSummary {
  flex: 0 0 100%;
  scroll-snap-align: start;
  /* background: var(--color-white); */
  border-radius: var(--border-radius-sm);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

#numberOfLoansCount,
#loanLimitContainer,
#totalSavingsContainer,
#outstandingBalance {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#numberOfLoansCount h3,
#loanLimitContainer h3,
#totalSavingsContainer h3,
#outstandingBalance h3 {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-secondary);
}

#numberOfLoansCount p {
  cursor: pointer;
}

#numberOfLoansCount p,
#loanLimitContainer p,
#totalSavingsContainer p,
#outstandingBalance p {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
}

#loanActions {
  display: flex;
  gap: var(--space-sm);
}

#loanActions button {
  flex: 1;
  padding: var(--space-sm);
  border: none;
  border-radius: var(--border-radius-sm);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: var(--font-size-xs);
}

#loanActions button:first-child {
  background: var(--color-primary);
  color: var(--color-white);
}

#loanActions button:first-child:hover {
  background: var(--color-blue-medium);
  transform: translateY(-2px);
}

#loanActions button:last-child {
  background: var(--color-teal-medium);
  color: var(--color-white);
}

#loanActions button:last-child:hover {
  background: var(--color-gray-light);
  transform: translateY(-2px);
}

#applicationMainActions > div {
  background: var(--color-white);
  border-radius: var(--border-radius-md);
  padding: var(--space-sm);
  text-align: center;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}

#applicationMainActions > div:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

#applicationMainActions > div p {
  font-weight: var(--font-weight-medium);
  color: var(--color-text-secondary);
  margin-top: var(--space-xs);
  font-size: var(--font-size-xs);
}

#payForOtherIcon svg {
  height: 2.5em;
  width: 2.5em;
}

#payForOtherIcon,
#withdrawIcon,
#depositIcon {
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3em;
  height: 3em;
  border-radius: 50%;
}

#applicationMainActions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

/* Recent Transactions */
#recentTransactions {
  padding: 0 var(--space-md);
  margin-bottom: var(--space-lg);
}

#recentTransactions div[name=transactions]{
  overflow: auto;
  max-height: 25vh;
}

#recentTransactions div[name=transactions] > div {
  background: var(--color-surface);
  border-radius: var(--border-radius-sm);
  padding: var(--space-sm);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-xxs);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.transactionLeft {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.transactionLeft img {
  width: 36px;
  height: 36px;
  border-radius: var(--border-radius-sm);
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
}

.transactionLeft img:before {
  content: "T";
  font-family: var(--font-family-base);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 16px;
}

.transactionLeft h3 {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-primary);
  margin-bottom: 2px;
}

.transactionLeft p {
  /* font-size: var(--font-size-xs); */
  font-size: 0.8em;
  color: var(--color-text-muted);
}

.transactionRight h3 {
  /* font-size: var(--font-size-sm); */
  font-size: 1em;
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  text-align: right;
  margin-bottom: 2px;
}

.transactionRight p {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  text-align: right;
}

/* Application Footer */
#applicationFooter {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-white);
  display: flex;
  justify-content: space-around;
  padding: var(--space-sm);
  gap: var(--space-xs);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  z-index: 100;
  border-top: 1px solid var(--color-surface);
}

#applicationFooter > div {
  text-align: center;
  cursor: pointer;
  padding: var(--space-sm);
  transition: background-color var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 25%;
}

#applicationFooter > div:hover {
  background: var(--color-surface);
}

#applicationFooter > div p {
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
  margin-top: 2px;
}

#applicationFooter > div.active {
  background: var(--color-surface);
}

#applicationFooter > div.active p {
  color: var(--color-primary);
  font-weight: var(--font-weight-medium);
}

/* Style for the active tab in the footer */
#applicationFooter .active-tab {
  color: var(--color-accent);
  border-bottom: 3px solid var(--color-accent);
  transform: scale(1.05);
}

/* Header for sub-views like Wallet, Loans, etc. */
.sub-view-header {
  display: flex;
  align-items: center;
  padding: var(--space-md);
  border-bottom: 1px solid var(--color-border);
  margin-top: 1em;
}

.sub-view-header h3 {
  flex-grow: 1;
  text-align: center;
  margin: 0;
}

.sub-view-header .back-arrow {
  cursor: pointer;
  /* The back arrow icon will be inserted via JS */
}

/* ============================ savings wallet styles ============================== */
.wallet-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.wallet-header {
  background: var(--color-teal-medium);
  color: white;
  padding: 25px;
  text-align: center;
  position: relative;
  border-radius: 0.3em;
  margin: 0.4em;
}

.app-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  font-size: 22px;
  font-weight: 700;
}

.app-logo i {
  margin-right: 10px;
  background: rgba(255, 255, 255, 0.2);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.balance-title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  opacity: 0.9;
  margin-bottom: 8px;
}

.balance-amount {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 5px;
}

.balance-change {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.15);
  padding: 5px 12px;
  border-radius: 20px;
  width: fit-content;
  margin: 0 auto;
}

.balance-change i {
  margin-right: 5px;
}

.wallet-content {
  /* padding: 25px; */
  /* border: 1px solid #ccc; */
  margin: 0.4em 0;
  padding: 0.2em;
}

.wallet-section-title {
  font-size: 18px;
  font-weight: 600;
  margin: var(--space-xs);
  color: var(--color-teal-dark);
  display: flex;
  align-items: center;
}

#walletTransactionsContainer {
  /* border: 1px solid #ccc; */
  max-height: 42vh;
  overflow: auto;
}

#totalSavingsIcon svg {
  height: 3em;
  width: 3em;
}

.wallet-section-title .iconContainer {
  margin-right: 10px;
  color: var(--primary);
}

.wallet-section-title .iconContainer svg {
  height: 1.5em;
  width: 1.5em;
}

.wallet-transaction-card {
  background: var(--color-white);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: var(--space-xxs);
  display: flex;
  align-items: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #d0d5dd;
  transition: transform 0.2s, box-shadow 0.2s;
}

.wallet-transaction-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.wallet-transaction-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 20px;
}

.savingsRiseIcon {
  background: rgba(76, 201, 164, 0.15);
  color: var(--color-success);
}

.savingsFallIcon {
  background: rgba(247, 37, 101, 0.15);
  color: var(--color-error);
}

.wallet-transaction-details {
  flex: 1;
}

.wallet-transaction-type {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.wallet-transaction-date {
  font-size: 13px;
  color: var(--gray);
}

.wallet-transaction-amount {
  text-align: right;
}

.amount {
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 3px;
}

.deposit-amount {
  color: var(--color-success);
}

.withdrawal-amount {
  color: var(--color-error);
}

.balance {
  font-size: 13px;
  color: var(--gray);
}

/* ===================================== loans ui style =================================== */
.loans-container {
  width: 100%;
  max-width: 600px;
  /* background: white; */
  /* border-radius: var(--border-radius-sm); */
  /* box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12); */
  overflow: hidden;
}

.loans-header {
  background: var(--color-teal-medium);
  color: white;
  padding: 25px;
  position: relative;
  border-radius: var(--border-radius-sm);
  margin: 0.4em;
}

.app-title {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 700;
}

.app-title .iconContainer {
  margin-right: 12px;
  background: rgba(255, 255, 255, 0.2);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loan-stats-container {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.stat-pill {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-count {
  background: white;
  color: var(--color-blue-medium);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
}

.loans-content {
  padding: 0.4em;
  /* border: 1px solid #ccc; */
  margin-top: 0.4em;
  max-height: 52vh;
  overflow: auto;
}

.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  padding: 24px;
  margin-bottom: var(--space-xs);
  border: 1px solid #dbd9d9;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.loan-amount {
  font-size: 32px;
  font-weight: 500;
  color: #222;
  letter-spacing: -0.5px;
}

.status {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 500;
}

.status.cleared {
  background-color: #f0f9f0;
  color: var(--color-success);
}

.status.running {
  background-color: #fff8e1;
  color: #ed6c02;
}

.status-icon {
  margin-right: 4px;
  font-size: 14px;
}

.details {
  margin-bottom: 20px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.detail-label {
  color: #666;
  font-size: 14px;
}

.detail-value {
  color: #444;
  font-weight: 500;
  font-size: 14px;
}

.view-button {
  display: block;
  width: 100%;
  text-align: center;
  background: transparent;
  background: var(--color-teal-light);
  color: var(--color-white);
  border: none;
  /* border: 1px solid #e0e0e0; */
  padding: 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.title {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 24px;
  text-align: center;
  color: #424242;
}

/* ====================================== client profile styles ============================== */
#dashboard-profile-content {
  width: 100%;
  max-width: 800px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  animation: fadeIn 0.5s ease-out;
}

.sub-view-header {
  display: flex;
  align-items: center;
  padding: 20px 24px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.back-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #64748b;
}

.back-arrow:hover {
  background: #e2e8f0;
  color: #475569;
}

.sub-view-header h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1e293b;
}

.profile-container {
  padding: 24px;
}

.profile-header {
  text-align: center;
  margin-bottom: 32px;
  padding: 20px 0;
}

.avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
  border: 4px solid #f1f5f9;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.full-name {
  font-size: 1.8rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
}

.profile-details {
  background: #f8fafc;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: auto;
}

.detail-item {
  display: flex;
  padding: 16px 0;
  border-bottom: 1px solid #e2e8f0;
  flex-wrap: wrap;
}

.detail-item:last-child {
  border-bottom: none;
}

.label {
  width: 140px;
  font-weight: 500;
  color: #64748b;
  font-size: 0.95rem;
}

.value {
  flex: 1;
  color: #334155;
}

.contact-list {
  list-style: none;
  margin-bottom: 12px;
}

.contact-list li {
  padding: 8px 12px;
  /* padding: 5px 5px; */
  background: white;
  border-radius: 8px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.contact-list li span {
  flex: 1;
}

.contact-list li .delete-contact {
  color: #94a3b8;
  cursor: pointer;
  padding: 5px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.contact-list li .delete-contact:hover {
  color: #ef4444;
  background: #fef2f2;
}

.add-contact-btn {
  background: var(--color-surface);
  border: none;
  color: #475569;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.contact-modal {
  background: white;
  border-radius: 0.4em;
  width: 90%;
  max-width: 450px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.modal-overlay.active .contact-modal {
  transform: translateY(0);
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1e293b;
}

.close-modal {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #94a3b8;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.close-modal:hover {
  background: #f1f5f9;
  color: #64748b;
}

.modal-body {
  padding: 24px;
}

.input-group {
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #374151;
}

.input-group input,
.input-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-teal-medium);
  border-radius: 0.5em;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.input-group input:focus,
.input-group select:focus {
  outline: none;
  border-color: var(--color-teal-medium);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.modal-footer {
  padding: 16px 24px 24px;
  text-align: right;
}

.modal-container {
  max-height: 90vh;
  overflow: auto;
}

.btn-primary {
  background: var(--color-teal-medium);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

#completeContactAddittion,
#requestLoanBtn,
#makeLoanPaymentBtn,
#completeDepositBtn,
#completeWithdrawBtn,
#getWithdrawChargesBtn,
#processLoanRequest, .btn {
  background: var(--color-teal-medium);
  border: none;
  outline: none;
  color: var(--color-white);
  padding: 0.8em;
  border-radius: var(--border-radius-sm);
  width: 100%;
  /* margin: 1em 0; */
  cursor: pointer;
}

#processLoanRequest {
  display: none;
}
/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 640px) {
  .detail-item {
    flex-direction: column;
  }

  .label {
    width: 100%;
    margin-bottom: 6px;
  }

  .profile-header {
    padding: 10px 0;
  }

  .avatar {
    width: 90px;
    height: 90px;
  }

  .full-name {
    font-size: 1.5rem;
  }

  #applicationFooter {
    padding: var(--space-xs);
  }

  #applicationFooter > div {
    padding: var(--space-xs);
  }
}

#payforOptions {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.pay-for-option {
  flex: 1;
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pay-for-option:hover {
  border-color: var(--color-teal-medium);
}

.pay-for-option.selected-option {
  border-color: var(--color-primary);
  /* background-color: var(--color-surface); */
}

.pay-for-option input[type="radio"] {
  display: none;
}

.pay-for-option p {
  font-weight: var(--font-weight-medium);
  color: var(--color-text-secondary);
  text-align: center;
}

#payForOtherPersonBtn {
  background: var(--color-teal-medium);
  color: var(--color-white);
  border: none;
  outline: none;
  cursor: pointer;
  width: 100%;
  margin: 0.5em auto;
  padding: 1em;
  border-radius: 0.3em;
}

.loan-score{
  font-weight: bold;
  font-size: 1.2em;
}
.loan-score-good{
  color: #245710;
}
.loan-score-fair{
  color: #848a30;
}
.loan-score-bad{
  color: #a13028;
}

.mtn{
  color: #867b16;
}
.airtel, [name=withdrawCharges]{
  color: #a13028;
}

[name=availableSavings], [name=withdrawCharges], [name=newAvailableSavings]{
  font-size: 1.2em;
}

.section-title{
  text-align: right;
  font-size: 1em;
  color: #574343;
  font-weight: bold;
}

.confirm-buttons-div{
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-gap: 10px;
}

.confirm-buttons-div button{
  color: #fff;
  font-weight: bold;
}


.btn-cancel{
  background-color: #8b0925;
}

.btn-confirm{
  background-color: #1d5c04;
}

.key-value-row{
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  grid-gap: 5px;
  padding:2px;
}

.key-value-row-reversed{
  grid-template-columns: 1.3fr 1fr ;
}


.key-value-row .key{
  font-weight: bold;
}
.key-value-row .value{
  text-align: right;
}

.odd{
  background-color: rgba(0, 0, 0, 0.06);
}

.clickable{color:#23b;}
.clickable:hover, .underlined:hover, select:hover, .refresh-recent-transactions:hover{cursor:pointer;}

.refresh-recent-transactions-div{
  text-align: right;
  margin-top: -1.3em;
  padding-right: 5px;
}

#deposit-modal .description{
  margin-top: 1em;
  margin-bottom: 1em;
  font-size: 0.9em;
  background-color: rgba(0,0,0,0.05);
  padding: 4px;
  border-radius: 2px;
}

#deposit-modal .red{
  color: red;
  font-weight: bold;
}

#deposit-modal .green{
  color: green;
  font-weight: bold;
}

#deposit-modal .merchant-codes{
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  grid-gap: 3px;

  border: 1px solid black;
}

#deposit-modal .merchant-codes .title{
  background-color: rgba(0,0,0,0.05);
  padding: 4px;
}

#deposit-modal .merchant-codes .odd{
  background-color: rgba(0,0,0,0.05);
}

#deposit-modal ol{
  /* Resets the overall list styling to its initial state */
  list-style: initial; 
  /* Sets the counter to its initial state, typically starting from 1 */
  counter-reset: list-item; 
  /* Restores default margin and padding */
  margin: 1em 0; 
  padding: 0 0 0 40px; /* Approximate default padding for list markers */
}

#deposit-modal ol li {
  /* Restores the default list item marker type (decimal numbers) */
  list-style-type: decimal; 
  /* Sets the counter increment to its initial state (increment by 1) */
  counter-increment: list-item; 
}

#deposit-modal .manual-deposit-info{
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  grid-gap: 10px;
}