.wheel-vip .fortune-wheel__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background-color: #f8f9fa;
  border-radius: 1rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  margin: 0 auto;
  max-width: 700px;
}

.wheel-vip .fortune-wheel__title {
  margin-bottom: 10px;
  color: #2c3e50;
  font-weight: bold;
  text-align: center;
  font-size: 2.5rem;
}

.wheel-vip .fortune-wheel {
  margin-bottom: 10px;
}

.wheel-vip .wheel-with-shadow {
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
}

.wheel-vip .wheel-result {
  margin-top: 1.5rem;
  font-size: 1.5rem;
  color: #2c3e50;
  font-weight: bold;
  display: flex;
  align-items: center;
}

.wheel-vip .wheel-result span {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
}

.wheel-vip .wheel-result img {
  width: 40px;
  height: 40px;
  margin-left: 10px;
  object-fit: contain;
}

.wheel-vip .prize-history-container {
  margin-top: 20px;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  padding: 20px;
  margin-bottom: 20px;
  border: 2px solid #dea94f;
}

.wheel-vip .prize-history__title {
  color: #dea94f;
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  text-align: center;
  text-transform: uppercase;
  position: relative;
}

.wheel-vip .prize-history__title:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #dea94f;
}

.wheel-vip .prize-history-table {
  width: 100%;
}

.wheel-vip .prize-history-table .table-container {
  width: 100%;
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.wheel-vip .prize-history-table .table-container::-webkit-scrollbar {
  width: 8px;
}

.wheel-vip .prize-history-table .table-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.wheel-vip .prize-history-table .table-container::-webkit-scrollbar-thumb {
  background: #dea94f;
  border-radius: 10px;
}

.wheel-vip .prize-history-table .table-container::-webkit-scrollbar-thumb:hover {
  background: #bc935f;
}

.wheel-vip .prize-history-table table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.wheel-vip .prize-history-table table th,
.wheel-vip .prize-history-table table td {
  padding: 14px;
  text-align: center;
  border-bottom: 1px solid #e9ecef;
}

.wheel-vip .prize-history-table table th {
  position: sticky;
  top: 0;
  background-color: #bc935f;
  color: white;
  font-weight: bold;
  z-index: 1;
  text-transform: uppercase;
  font-size: 14px;
}

.wheel-vip .prize-history-table table td {
  background-color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.wheel-vip .prize-history-table table tr:hover td {
  background-color: rgba(222, 169, 79, 0.1);
}

.wheel-vip .prize-history-table table tr:last-child td {
  border-bottom: none;
}

.wheel-vip .prize-history-table table .empty-message {
  padding: 30px;
  text-align: center;
  color: #6c757d;
  font-style: italic;
}

.wheel-vip .prize-history-table table .prize-info {
  display: flex;
  align-items: center;
  justify-content: center;
}

.wheel-vip .prize-history-table table .prize-info .prize-icon {
  width: 32px;
  height: 32px;
  margin-right: 8px;
  object-fit: contain;
}

.wheel-vip .prize-history-table .pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 15px;
}

.wheel-vip .prize-history-table .pagination__button {
  background-color: #bc935f;
  border: none;
  color: white;
  padding: 8px 15px;
  margin: 0 5px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: bold;
}

.wheel-vip .prize-history-table .pagination__button:hover:not(:disabled) {
  background-color: #dea94f;
  transform: translateY(-2px);
}

.wheel-vip .prize-history-table .pagination__button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.wheel-vip .prize-history-table .pagination__info {
  margin: 0 10px;
  color: #bc935f;
  font-weight: 600;
}

.wheel-vip .page-container1 {
  padding-top: 20px;
}

.wheel-vip .wheel-vip-container {
  width: 90%;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.wheel-vip .prize-history-container * {
  font-size: 14px;
}

.wheel-vip .show-prizes-btn {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: #dea94f;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.wheel-vip .show-prizes-btn:hover {
  background-color: #bc935f;
  transform: translateY(-2px);
}

.wheel-vip .show-prizes-btn i {
  font-size: 16px;
}

/* Common Modal Styles */
.wheel-vip .modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999998 !important;
  animation: fadeIn 0.3s ease;
}

.wheel-vip .modal-container {
  background-color: #fff;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: scaleIn 0.3s ease;
}

.wheel-vip .modal-header {
  background-color: #dea94f;
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wheel-vip .modal-header--error {
  background-color: #f44336;
}

.wheel-vip .modal-header h2 {
  margin: 0;
  font-size: 22px;
  font-weight: bold;
}

.wheel-vip .modal-close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

.wheel-vip .modal-body {
  padding: 20px;
  max-height: 400px;
  overflow-y: auto;
}

.wheel-vip .modal-footer {
  padding: 15px 20px;
  text-align: center;
}

.wheel-vip .modal-button {
  background-color: #dea94f;
  color: white;
  border: none;
  border-radius: 50px;
  padding: 8px 30px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.wheel-vip .modal-button:hover {
  background-color: #bc935f;
}

.wheel-vip .modal-button--error {
  background-color: #f44336;
}

.wheel-vip .modal-button--error:hover {
  background-color: #d32f2f;
}

.wheel-vip .prizes-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.wheel-vip .prize-item {
  display: flex;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  background-color: #f9f9f9;
  border: 1px solid #eee;
}

.wheel-vip .prize-item__image {
  width: 60px;
  height: 60px;
  margin-right: 15px;
}

.wheel-vip .prize-item__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wheel-vip .prize-item__info {
  flex: 1;
}

.wheel-vip .prize-item__info h3 {
  margin: 0 0 5px;
  font-size: 16px;
  color: #333;
}

.wheel-vip .prize-item__info p {
  margin: 0;
  font-size: 14px;
  color: #666;
}

.wheel-vip .empty-prizes {
  text-align: center;
  padding: 30px 0;
  color: #666;
  font-style: italic;
}

/* Prize modal specific styles */
.wheel-vip .prize-modal__image {
  text-align: center;
  margin-bottom: 20px;
}

.wheel-vip .prize-modal__message {
  text-align: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.fw-container {
  position: relative;
  display: inline-block;
  font-size: 0;
  overflow: hidden;
}

.fw-container canvas,
.fw-container img {
  display: block;
  width: 100%;
}

.fw-btn {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.fw-btn__btn {
  position: relative;
  width: 100%;
  height: 100%;
  background: #fff;
  border: 6px solid #fff;
  border-radius: 50%;
  background: #15bd96;
  color: #fff;
  text-align: center;
  font-size: 42px;
  font-weight: bold;
  line-height: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

.fw-btn__btn:after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-bottom: 22px #fff solid;
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
}

.fw-btn__btn:before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 18px #15bd96 solid;
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translate(-50%) translateY(6px);
  z-index: 10;
}

.fw-btn__image {
  display: inline-block;
}

/* Styles for custom image button */
.fw-btn__image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.fw-btn__custom-image {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.fw-btn__custom-image:hover {
  transform: scale(1.05);
}

.prize-modal__image img {
  margin: 0 auto !important;
  max-height: 200px;
  object-fit: contain;
}
