.hc-luckywheel ul,
.hc-luckywheel li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hc-luckywheel {
  position: relative;
  width: 500px; /*Change this when change size*/
  height: 500px; /*Change this when change size*/
  border-radius: 50%;
  border: 16px solid #e44025;
  box-shadow: 0 2px 3px #333, 0 0 2px #000;
}

.hc-luckywheel-container {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: inherit;
  height: inherit;
  border-radius: inherit;
  background-clip: padding-box;
  background-color: #ffcb3f;
/*  -webkit-transition: transform 60s ease-out;
  transition: transform 60s ease-out; */
}

.hc-luckywheel-container canvas {
  width: inherit;
  height: inherit;
  border-radius: 50%;
}

.hc-luckywheel-list {
  position: absolute;
  left: 0;
  top: 0;
  width: inherit;
  height: inherit;
  z-index: 2;
}

.hc-luckywheel-item {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  color: #e4370e;
  font-weight: bold;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.6);
}

.hc-luckywheel-item span {
  position: relative;
  display: block;
  padding-top: 20px;
  font-size: 12px;
  /* width: 50px; */
  margin: 0 auto;
  text-align: center;
  -webkit-transform-origin: 50% 250px; /*Change this when change size*/
  -ms-transform-origin: 50% 250px; /*Change this when change size*/
  transform-origin: 50% 250px;
} /*Change this when change size*/

.hc-luckywheel-item img {
  position: relative;
  top: -8px;
  left: 0px;
  width: 60px; /*Change this when change size*/
  height: 60px;
} /*Change this when change size*/

.hc-luckywheel-btn {
  position: absolute;
  left: 210px; /*Change this when change size*/
  top: 210px; /*Change this when change size*/
  z-index: 3;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  color: #f4e9cc;
  background-color: #e44025;
  line-height: 80px;
  text-align: center;
  font-size: 20px;
  text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.6);
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.6);
  text-decoration: none;
}

.hc-luckywheel-btn::after {
  position: absolute;
  display: block;
  content: "";
  left: 10px;
  top: -46px;
  width: 0;
  height: 0;
  overflow: hidden;
  border-width: 30px;
  border-style: solid;
  border-color: transparent;
  border-bottom-color: #e44025;
}

.hc-luckywheel-btn.disabled {
  pointer-events: none;
  background: #b07a7b;
  color: #ccc;
}

.hc-luckywheel-btn.disabled::after {
  border-bottom-color: #b07a7b;
}

body{ margin:0; padding:0; height:100vh; width:100%; }

.bg {
  background-image: url('../images/2880 x 1800.jpg');
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 100% auto;
  height: 100vh;  /* hoặc chiều cao mong muốn */
}

.hc-luckywheel {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -250px;
    margin-left: -250px;
 }
#header {
    position: fixed;
    top: 1%;
    color: #ffffff;
    text-align: center;
    width: 100%;
    font-family: 'Roboto', 'Noto Sans', sans-serif;
}

.swal2-container {
    z-index: 9999;
}
/* Căn giữa nội dung trong SweetAlert2 */
.swal2-popup {
    font-family: 'Roboto', 'Noto Sans', sans-serif;
    text-align: center;
}
.swal2-title-custom {
    font-family: 'Roboto', 'Noto Sans', sans-serif;
}
.swal2-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#winnerForm {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}
#winnerForm label {
    display: block;
    margin: 10px 0 5px;
}
#winnerForm input, #winnerForm select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    box-sizing: border-box;
}
body {
    font-family: 'Roboto', 'Noto Sans', sans-serif;
}
.swal2-confirm-custom {
    font-family: 'Roboto', 'Noto Sans', sans-serif;
    font-size: 16px; /* Thay đổi kích thước font nếu cần */
}

.swal2-cancel-custom {
    font-family: 'Roboto', 'Noto Sans', sans-serif;
    font-size: 16px; /* Thay đổi kích thước font nếu cần */
}

.swal2-confirm-custom i, .swal2-cancel-custom i {
    font-family: 'Roboto', 'Noto Sans', sans-serif;
}

@media screen and (max-width: 768px) {
  .bg {
    background-image: url('../images/2880 x 1800.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
  }
   .hc-luckywheel {
    width: 300px;  /* thu nhỏ vòng quay */
    height: 300px;
    margin-top: -150px;
    margin-left: -150px;
  }

  .hc-luckywheel-container canvas {
    width: 300px;
    height: 300px;
  }

  .hc-luckywheel-item span {
    transform-origin: 50% 150px;  /* điều chỉnh lại tâm xoay */
    -webkit-transform-origin: 50% 150px;
    -ms-transform-origin: 50% 150px;
    padding-top: 10px;
    font-size: 8px;
  }

  .hc-luckywheel-item img {
    width: 40px;
    height: 40px;
    top: -8px;
  }

  .hc-luckywheel-btn {
    left: 120px;
    top: 110px;
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 16px;
  }

  .hc-luckywheel-btn::after {
    left: 10px;
    top: -32px;
    border-width: 20px;
  }

  #header {
    top: 18%;
    left: 20px;
    font-size: 16px;
  }

}

/* Áp dụng font cho toàn popup */
.my-swal-font {
    font-family: 'Roboto', 'Noto Sans', sans-serif !important;
}

/* Áp dụng font cho nút confirm và cancel */
.my-swal-btn {
    font-family: 'Roboto', 'Noto Sans', sans-serif !important;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 6px;
}
.my-swal-font {
    font-family: 'Roboto', 'Noto Sans', sans-serif !important;
}

/* Áp dụng cho tất cả input, select, textarea, label trong popup */
.my-swal-font input,
.my-swal-font select,
.my-swal-font textarea,
.my-swal-font label {
    font-family: 'Roboto', 'Noto Sans', sans-serif !important;
}
