/* UserWalletCard.css */
.modern-wallet-card {
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
  background: linear-gradient(145deg, #e6e6e6, #ffffff);
  width: 320px;
}

.modern-wallet-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.modern-card-header {
  background-color: #343a40;
  border-bottom: 1px solid #dee2e6;
  font-weight: bold;
  color: #ffffff;
  text-align: center;
  padding: 1rem;
  border-radius: 10px 10px 0 0;
}

.mode-label {
  font-size: 1rem;
  color: #ffc107;
  display: inline-block;
  margin-bottom: 0;
}

.font-dark {
  color: #343a40;
  font-size: 2rem;
}

.button-group {
  display: flex;
  justify-content: space-around;
  margin-top: 1rem;
}

.modern-btn {
  border-radius: 50px;
  padding: 10px 20px;
  transition: background-color 0.3s, transform 0.2s;
  
}

.modern-btn:hover {
  transform: scale(1.05);
}

.modern-btn-deposit {
  background-color: #28a745;
  color: #fff;
  border: none;
}

.modern-btn-deposit:hover {
  background-color: #218838;
}

.modern-btn-withdraw {
  background-color: #ffc107;
  color: #fff;
  border: none;
}

.modern-btn-withdraw:hover {
  background-color: #e0a800;
}

.small-card {
  width: 280px;
  padding: 10px;
  margin-bottom: 10px;
  text-align: center;
  cursor: pointer;
  border: 1px solid #007bff;
  border-radius: 5px;
  background-color: #002147; 
  transition: background-color 0.3s;
}
.small-card:hover {
  background-color: #218838;
  border: 1px solid #002147;
  color: #002147;
}

.wallet-panel {
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background: linear-gradient(145deg, #f0f0f0, #ffffff);
  height: 100%;
}

.balance-section {
  text-align: center;
  margin-bottom: 2rem;
}

.balance-label {
  font-size: 1rem;
  color: #343a40;
  font-weight: bold;
  display: block;
  margin-bottom: 0.5rem;
}

.balance-amount {
  color: #343a40;
  font-size: 2.5rem;
  font-weight: bold;
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.action-card {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.action-card:hover {
  transform: translateY(-2px);
}

.action-card .icon {
  font-size: 1.5rem;
  margin-right: 0.5rem;
}

.deposit {
  background-color: #28a745;
  color: #fff;
}

.deposit:hover {
  background-color: #218838;
}

.withdraw {
  background-color: #ffc107;
  color: #343a40;
}

.withdraw:hover {
  background-color: #e0a800;
}

