 .dashboarmain{
  	margin: 0px 100px auto;
  }
.top-grid {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 25px;
  flex-wrap: wrap; /* ✅ ছোট স্ক্রিনে কার্ডগুলো নিচে যাবে */
}

.dash-card {
  flex: 1;
  min-width: 250px; /* ✅ card ছোট স্ক্রিনে খুব ছোট হবে না */
  background: linear-gradient(135deg, #1c1c1c, #2b2b2b);
  color: #fff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(255, 0, 72, 0.25);
  margin-bottom: 15px;
}

.dash-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: #ff0036;
}

#total-reward {
  font-size: 1.4rem;
  font-weight: bold;
  color: #00e676;
}

.btn-primary, .btn-secondary {
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-primary {
  background: #ff0036;
  color: #fff;
}
.btn-primary:hover {
  background: #e6002f;
}

.btn-secondary {
  background: #444;
  color: #fff;
}
.btn-secondary:hover {
  background: #666;
}

/* ✅ Table wrapper with horizontal scroll */
.table-wrapper {
  overflow-x: auto;
  background: #1a1a1a;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(255, 0, 72, 0.25);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #ff0036 #1a1a1a;
}

.table-wrapper::-webkit-scrollbar {
  height: 8px;
}
.table-wrapper::-webkit-scrollbar-track {
  background: #1a1a1a;
}
.table-wrapper::-webkit-scrollbar-thumb {
  background: #ff0036;
  border-radius: 10px;
}
.table-wrapper::-webkit-scrollbar-thumb:hover {
  background: #e6002f;
}

.stake-table {
  width: 100%;
  min-width: 900px; /* ✅ Scroll আসার জন্য */
  border-collapse: collapse;
  color: #fff;
  font-size: 14px;
}

.stake-table thead {
  background: #ff0036;
  color: #fff;
}

.stake-table th, .stake-table td {
  padding: 12px 15px;
  text-align: center;
  white-space: nowrap; /* ✅ Column shrink হবে না */
}

.stake-table tr:nth-child(even) {
  background: #2a2a2a;
}

.claim-btn, .unstake-btn {
  margin: 3px;
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  color: #fff;
  transition: 0.3s;
}
.claim-btn { background: #00c853; }
.claim-btn:hover { background: #00a844; }
.unstake-btn { background: #ff5722; }
.unstake-btn:hover { background: #e64a19; }

/* ✅ Toast */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #333;
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 9999;
}
.toast.show {
  opacity: 1;
  transform: translateY(0);
}
.toast.success { background: #28a745; }
.toast.error   { background: #dc3545; }

/* Loader */
.button-loader {
  border: 3px solid #fff;
  border-top: 3px solid transparent;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  display: inline-block;
  animation: spin 0.8s linear infinite;
  margin-left: 8px;
  vertical-align: middle;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ✅ Mobile Responsive Adjustments */
@media (max-width: 768px) {
  .stake-table {
    font-size: 12px;
    min-width: 700px;
  }

  .dash-card h3 {
    font-size: 1rem;
  }

  .btn-primary, .btn-secondary {
    font-size: 12px;
    padding: 8px 12px;
  }
  .dashboarmain{
  	margin: 0px 20px auto;
  }
}

@media (max-width: 480px) {
  .stake-table {
    font-size: 11px;
    min-width: 600px;
  }

  #total-reward {
    font-size: 1.2rem;
  }

  .dashboarmain{
  	margin: 0px 20px auto;
  }
}

@media screen and (max-width: 530px) {
    div.amount-input {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between;
        gap: 10px;
    }

    div.amount-input div.input-controls {
        flex-direction: row !important;
        margin-bottom: 0;
        gap: 10px;
    }
}
