.stat-box:hover {
  background: #eef; /* Hiệu ứng khi hover */
  border-color: #bbb; /* Viền đổi màu */
}

/*
    div[style*="display: flex"] {
        display: flex;
        gap: 20px;
        margin-bottom: 20px;
        justify-content: space-around;
        align-items: center;
    }
*/

.stats-container {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 20px;
}

@media (max-width: 899px) {
  .stats-container,
  .withdrawal-stat-box-block {
    flex-direction: column;
  } 
  .withdrawal-stat-box {
    min-height: 30px!important;
    padding: 0!important;
  }
  .stat-box {
    padding: 0!important;
    margin: 0!important;
  }
  .stat-box h3 {
    margin-bottom: 0!important;
  } 
  .stat-box .change {
    margin: 0!important;
  }  
}
.withdrawal-stat-box-block {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  justify-content: space-around;
}


.stat-box {
  flex: 1;
  padding: 20px 5px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  min-height: 100px;

}

.withdrawal-stat-box {
  flex: 1;
  padding: 20px 5px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  min-height: 100px;
  display: flex;
  justify-content: center;  /* căn giữa ngang */
  align-items: center;      /* căn giữa dọc */  
}

.stat-box h3 {
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
}

.stat-box .value {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin: 0;
}

.stat-box .change {
  font-size: 14px;
  margin-top: 5px;
}

.stat-box .increase {
  color: #28a745;
}

.stat-box .decrease {
  color: #dc3545;
}

.seller-dashboard {
  width: 800px;
}

.dashboard-wrapper {
  font-family: Arial, sans-serif;
  max-width: 1000px;
  margin: 0 auto;
}

.dashboard-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.dashboard-box {
  flex: 1;
  border: 1px solid #ccc;
  padding: 20px;
  text-align: center;
  margin-right: 10px;
  border-radius: 5px;
}

.dashboard-box:last-child {
  margin-right: 0;
}

.dashboard-info {
  border: 1px solid #ccc;
  padding: 20px;
  text-align: left;
  background-color: #f9f9f9;
  border-radius: 5px;
}

.dashboard-info p {
  margin: 0 0 10px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  margin-right: 10px;
  text-decoration: none;
  color: #fff;
  border-radius: 5px;
}

.btn-primary {
  background-color: #007bff;
}

.btn-secondary {
  background-color: #28a745;
}

.btn:hover {
  opacity: 0.8;
}

/* Placeholder cho các ô */
.placeholder-box {
  width: 150px;
  height: 142px;
  background: linear-gradient(90deg, #e0e0e0 25%, #f5f5f5 50%, #e0e0e0 75%);
  background-size: 200% 100%;
  border-radius: 5px;
  animation: shimmer 1.5s infinite;
}

/* Placeholder cho các ô */
.placeholder-box-withdrawal-list {
  width: 100%;
  height: 100px;
  background: linear-gradient(90deg, #e0e0e0 25%, #f5f5f5 50%, #e0e0e0 75%);
  background-size: 200% 100%;
  border-radius: 5px;
  animation: shimmer 1.5s infinite;
}

/* Placeholder cho nút */
.placeholder-btn {
  width: 200px;
  height: 42px;
  border-radius: 4px;
  background: linear-gradient(90deg, #e0e0e0 25%, #f5f5f5 50%, #e0e0e0 75%);
  background-size: 200% 100%;
  border-radius: 5px;
  border: none;
  color: #999;
  text-align: center;
  cursor: not-allowed;
  animation: shimmer 1.5s infinite;
}

/* Hiệu ứng loading */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

button#withdrawFundsBtn {
  color: white;
  font-size: 16px;
  background: #4a7d91;
  text-transform: uppercase;
  border-radius: 4px;
  font-weight: 600;
  width: 200px;
  height: 42px;
}

.payout-setting {
  /*max-width: 400px;*/
  /*margin: 0 auto;*/
  text-align: left;
  font-family: Helvetica, Arial, sans-serif;
}

.payment-form {
  background-color: #f9f9f9;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  max-width: 400px;
}

.payment-label {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  margin-bottom: 5px;
}

.payment-label .min-amount {
  font-size: 12px;
  color: #666;
}
input.payment-input {
  width: 90%;
}
.payment-input {
  width: 90%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  margin-bottom: 5px;
}

.error-message {
  color: red;
  font-size: 12px;
  margin-top: 5px;
}

.submit-button {
  width: 100%;
  background-color: #4caf50;
  color: white;
  border: none;
  padding: 12px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
}

.submit-button:hover {
  background-color: #45a049;
}

.payment-method input[type="text"] {
  width: 100%; /* Chiếm toàn bộ chiều rộng của container */
  padding: 10px; /* Tạo khoảng cách bên trong ô nhập */
  border: 1px solid #ddd; /* Viền nhạt, đồng nhất với thiết kế */
  border-radius: 4px; /* Bo góc nhẹ */
  font-size: 14px; /* Kích thước chữ vừa phải */
  box-sizing: border-box; /* Đảm bảo padding không ảnh hưởng đến kích thước */
  outline: none; /* Loại bỏ viền xanh khi click */
  transition: border-color 0.3s ease; /* Thêm hiệu ứng viền mượt */
}

.payout-setting form {
  font-family:
    "Helvetica", Arial, sans-serif; /* Sử dụng Helvetica, nếu không có sẽ fallback về Arial */
  font-size: 14px; /* Kích thước chữ mặc định */
  color: #333; /* Màu chữ mặc định */
  line-height: 1.5; /* Khoảng cách giữa các dòng */
}

.payout-setting form h2 {
  font-size: 20px; /* Kích thước lớn hơn cho tiêu đề */
  font-weight: bold; /* In đậm tiêu đề */
  margin-bottom: 20px; /* Tạo khoảng cách dưới tiêu đề */
}

.payout-setting form input[type="text"] {
  font-family: inherit; /* Thừa hưởng font Helvetica từ parent */
}
#drag-arrow-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  z-index: 10;
}

#drag-arrow-overlay .arrow-wrapper {
  text-align: center;
  margin-bottom: 10px;
}

#arrow-animation {
  font-size: 30px;
  animation: move-arrows 1s infinite;
}

#drag-arrow-overlay p {
  font-size: 14px;
  margin-top: 5px;
  color: white;
  background: transparent;
}

@keyframes move-arrows {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(10px);
  }
  100% {
    transform: translateX(0);
  }
}
