.vendor-page {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 20px;
  font-family: "Microsoft Yahei", sans-serif;
  color: #333;
}
#robot-header-container,
#robot-footer-container,
canvas {
  display: none !important;
}
body {
  background-color: #fff !important;
}
.card-group {
  display: flex;
  gap: 20px;
  margin: 20px 0;
  flex-wrap: wrap;
}
.card-group .card {
  flex: 1;
  min-width: 200px;
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.card-group .card .card-label {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}
.card-group .card .card-value {
  font-size: 24px;
  font-weight: bold;
  color: #f9a825;
}
.btn-group {
  margin: 10px 0 20px;
}
.btn-group .btn {
  padding: 8px 16px;
  margin-right: 10px;
  border: none;
  border-radius: 4px;
  background: #f9a825;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-group .btn:hover {
  background: #e59006;
}
.order-table-wrap {
  margin: 20px 0;
}
.order-table-wrap h3 {
  margin-bottom: 10px;
  font-size: 18px;
}
.order-table-wrap .order-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.order-table-wrap .order-table th,
.order-table-wrap .order-table td {
  padding: 12px 16px;
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
}
.order-table-wrap .order-table th {
  background: #f5f5f5;
  font-weight: 600;
}
.order-table-wrap .order-table .purchased-purple {
  color: #9c27b0;
}
.order-table-wrap .order-table .status-receiving {
  color: #4caf50;
  font-weight: 500;
}
.order-table-wrap .order-table .btn-view {
  padding: 4px 8px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  font-size: 12px;
}
.order-table-wrap .order-table .btn-view:hover {
  background: #f5f5f5;
}
.pagination {
  margin: 20px 0;
  display: flex;
  gap: 8px;
  justify-content: center;
}
.pagination .page-item {
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}
.pagination .page-item.active {
  background: #f9a825;
  color: #fff;
}
.pagination .page-item:hover:not(.active) {
  background: #f5f5f5;
}
.modal-mask {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 100;
}
.modal-box {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  width: 90%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin: 200px auto;
}
.modal-box .close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 20px;
  cursor: pointer;
  color: #666;
}
.modal-box .close-btn:hover {
  color: #333;
}
.modal-box h3 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 18px;
  text-align: center;
}
#modalWithdraw .modal-form-item {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}
#modalWithdraw .modal-form-item label {
  width: 80px;
  font-size: 14px;
}
#modalWithdraw .modal-form-item .input {
  flex: 1;
  padding: 8px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  outline: none;
}
#modalWithdraw .modal-form-item .input:focus {
  border-color: #f9a825;
}
#modalWithdraw .submit-btn {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 4px;
  background: #f9a825;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}
#modalWithdraw .submit-btn:hover {
  background: #e59006;
}
.withdraw-log-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
.withdraw-log-table th,
.withdraw-log-table td {
  padding: 8px;
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
}
.withdraw-log-table .status-paid {
  color: #4caf50;
}
.withdraw-log-table .status-pending {
  color: #ff9800;
}
.withdraw-log-table .status-rejected {
  color: #f44336;
}
.order-detail-box {
  max-width: 450px;
  margin: 350px auto;
}
.order-detail-box .order-detail-content {
  text-align: left;
}
.order-detail-box .order-detail-content .game-icon {
  width: 60px;
  height: 60px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.order-detail-box .order-detail-content .game-info {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.8;
}
.order-detail-box .order-detail-content .game-info span {
  font-weight: 600;
  display: inline-block;
  width: 160px;
}
