/* Layout Container */
.withdraw-section {
  padding: 20px;
  min-height: calc(100vh - 140px);
  background: var(--body-bg);
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

/* Page Title */
.page-title {
  color: var(--text-primary);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.4px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

/* History Container */
.history-card {
  width: 100%;
  max-width: 600px;
  background: var(--card-bg);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  padding: 18px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}

/* Withdraw Card */
.withdraw-card {
  background: var(--input-bg);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease;
}

.withdraw-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.12);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
  margin-bottom: 10px;
}

/* Text + Labels */
.withdraw-count {
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-body .card-row {
  display: flex;
  justify-content: space-between;
  margin: 6px 0;
}

.card-body .label {
  color: var(--text-secondary);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-body .value {
  color: var(--text-primary);
  font-weight: 500;
}

/* Status Colors */
.withdraw-status {
  font-weight: 600;
  text-transform: capitalize;
  border-radius: 6px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-success {
  background: rgba(0, 200, 83, 0.12);
  color: #00c853;
}

.status-pending {
  background: rgba(255, 179, 0, 0.12);
  color: #ffb300;
}

/* .status-failed {
            background: rgba(229, 57, 53, 0.12);
            color: #e53935;
        } */

/* Icons */
.withdraw-count i,
.withdraw-status i {
  font-size: 12px;
}

.label i {
  font-size: 13px;
  color: var(--text-secondary);
}

.no-data {
  text-align: center;
  color: var(--text-secondary);
  padding: 30px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.no-data i {
  color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 600px) {
  .history-card {
    padding: 16px;
  }

  .withdraw-card {
    padding: 12px;
  }

  .page-title {
    font-size: 18px;
  }
}
