.deposit-history-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 30px;
  font-family: "Arial", sans-serif;
  background-color: #f5f7fa;
  border-radius: 12px;
}

.deposit-history-title {
  text-align: left;
  margin-bottom: 30px;
  font-size: 28px;
  font-weight: bold;
  color: #222;
  border-bottom: 2px solid #007bff;
  padding-bottom: 10px;
}

.deposit-card {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.deposit-card:hover {
  transform: translateY(-2px);
}

.deposit-type {
  background-color: #32a852;
  color: #fff;
  padding: 6px 14px;
  border-radius: 30px;
  display: inline-block;
  font-size: 14px;
  margin-bottom: 15px;
  font-weight: bold;
}

.deposit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  font-size: 15px;
  line-height: 1.6;
}

.deposit-comment {
  margin-top: 15px;
  background-color: #d4f4ed;
  color: #16817a;
  padding: 10px 16px;
  border-radius: 25px;
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
}

.text-green {
  color: #007a33;
}

.text-orange {
  color: #ff8800;
  text-transform: capitalize;
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
  .deposit-history-container {
    padding: 15px;
  }

  .deposit-grid {
    grid-template-columns: 1fr; /* stack in one column */
    gap: 10px;
  }

  .deposit-card {
    padding: 15px;
  }

  .deposit-type {
    font-size: 13px;
    padding: 4px 10px;
  }

  .deposit-history-title {
    font-size: 22px;
    text-align: center;
  }

  .deposit-comment {
    font-size: 13px;
    padding: 8px 12px;
  }
}
