/* Base Wallet Card */

.wallet-card {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  margin: 8px 0;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 13px;
  box-shadow: 0px 2px 8px rgba(166, 160, 160, 0.3);
}

/* Left Section */

.wallet-card__main-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.wallet-card__time {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: #212529;
}

.wallet-card__status {
  margin: 0;
  font-size: 11px;
  color: #6c757d;
}

/* Right Section */

.wallet-card__amount-info {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wallet-card__amount {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #28a745;
  background: #cbebe2;
  padding: 2px 10px;
  border-radius: 10px;
  display: inline-block;
}

.wallet-card__mode {
  font-size: 10px;
  color: #6c757d;
}

/* Variant for Credit Transactions */

.wallet-card--credit .wallet-card__amount {
  color: #28a745;
  background: #e2f7e9;
}

/* Variant for Debit Transactions (future-proof) */

.wallet-card--debit .wallet-card__amount {
  color: #dc3545;
  background: #fce8e8;
}

/* Mobile adjustments */

@media (max-width: 480px) {
  .wallet-card {
    margin: 6px 4px;
    padding: 8px 10px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .wallet-card__time {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .wallet-card__status {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .wallet-card__amount {
    font-size: 12px;
    padding: 2px 8px;
  }
}

/* Debit variant (already included earlier) */

.wallet-card--debit .wallet-card__amount {
  color: #dc3545;
  background: #fce8e8;
}

/* Route info inside debit cards */

.wallet-card__route {
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 11px;
  color: #495057;
}

.wallet-card__pickup {
  color: #28a745;
  font-weight: 500;
}

.wallet-card__drop {
  color: #dc3545;
  font-weight: 500;
}

.wallet-card__status i {
  margin-right: 4px;
  color: #6c757d;
}

