:root {
  --main-blue: #0d6efd;
}

/* 🔧 Base Styles */
body {
  font-family: Vazirmatn, sans-serif;
  background-color: #f8f9fa;
  padding-bottom: 90px;
  margin: 0;
  direction: rtl;
}

/* 🧭 Bottom Navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  background-color: #fff;
  border-top: 1px solid #ddd;
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
  box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.bottom-nav a {
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  color: var(--main-blue);
  padding: 8px 12px;
  border-radius: 12px;
  transition: all 0.3s ease;
  width: 90px;
  background-color: transparent;
}

.bottom-nav a i {
  display: block;
  font-size: 20px;
  margin-bottom: 5px;
  color: inherit;
}

.bottom-nav a:hover,
.bottom-nav a.active {
  background-color: var(--main-blue);
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.bottom-nav a.active i {
  color: #fff;
}

/* 💳 Balance Card */
.balance-card {
  background: linear-gradient(135deg, var(--main-blue), #3b82f6);
  border: none;
  border-radius: 15px;
  padding: 20px;
  color: white;

  /* 🪶 Texture effect */
.balance-card {
  background-image: 
    linear-gradient(145deg, #0d6efd, #3b82f6),
    url('https://www.transparenttextures.com/patterns/hexellence.png');
  background-blend-mode: overlay;
  background-size: cover;
  border-radius: 16px;
  padding: 25px;
  color: white;
  box-shadow: 0 6px 20px rgba(13, 110, 253, 0.25);
  transition: background 0.4s ease;
}

.balance-card .card-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.balance-card i {
  font-size: 2rem;
  margin-bottom: 10px;
  color: white;
}

.balance-amount {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0;
}


}


.balance-card {
  background-image: 
    linear-gradient(145deg, #0e55bf, #0a3f95),
    url('https://www.transparenttextures.com/patterns/hexellence.png');
  background-blend-mode: overlay;
  background-size: cover;
  border-radius: 16px;
  padding: 25px;
  color: white;
  box-shadow: 0 6px 20px rgba(13, 110, 253, 0.25);
  transition: background 0.4s ease;
}

.balance-card .card-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.balance-card i {
  font-size: 2rem;
  margin-bottom: 10px;
  color: white;
}

.balance-amount {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0;
}


.balance-amount {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0;
}

/* 📋 Transaction List */
.list-group-item {
  font-size: 15px;
}

.transaction-scroll {
  max-height: 300px;
  overflow-y: auto;
}

.transaction-scroll::-webkit-scrollbar {
  width: 6px;
}

.transaction-scroll::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 3px;
}

/* 🧾 Services Page */
.service-card {
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 16px rgba(13, 110, 253, 0.25);
}

.service-card:hover i {
  color: var(--main-blue);
}

.card h6 {
  font-size: 0.95rem;
  font-weight: 600;
}

.display-6 {
  font-size: 2rem;
}
