/* Wallet Styles */
.wallet-card {
  background: linear-gradient(135deg, #ffffff 0%, #f5f9ff 100%);
  border: none;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wallet-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.badge.bg-success-subtle {
  background-color: rgba(25, 135, 84, 0.1) !important;
}

.badge.bg-danger-subtle {
  background-color: rgba(220, 53, 69, 0.1) !important;
}

.wallet-icon {
  color: #0d6efd;
  font-size: 1.2rem;
}

/* Transaction table styles */
.transaction-table thead th {
  font-weight: 600;
  color: #495057;
}

.transaction-table tbody tr:hover {
  background-color: rgba(13, 110, 253, 0.05);
}

.wallet-balance-badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  background-color: rgba(13, 110, 253, 0.1);
  color: #0d6efd;
  border-radius: 4px;
}

/* Off-canvas wallet styles */
.jdsidemenu.wallet-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
}

.wallet-banner {
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
  color: white;
  border-radius: 8px;
  padding: 15px;
  margin: 10px 0;
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wallet-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(13, 110, 253, 0.2);
}

.wallet-banner .btn-light {
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  transition: background-color 0.3s ease;
}

.wallet-banner .btn-light:hover {
  background-color: rgba(255, 255, 255, 0.3);
  color: white;
}

/* Mobile-specific styles */
@media (max-width: 767px) {
  .wallet-banner {
    padding: 12px;
    margin: 8px 0;
  }

  .wallet-banner-title {
    font-size: 0.8rem;
  }

  .wallet-banner-amount {
    font-size: 1.3rem;
  }

  .wallet-banner .btn-sm {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
  }
}

.wallet-banner-title {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 5px;
}

.wallet-banner-amount {
  font-size: 1.5rem;
  font-weight: 600;
}

.wallet-banner .btn-light {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  transition: background 0.3s ease;
}

.wallet-banner .btn-light:hover {
  background: rgba(255, 255, 255, 0.3);
}
