.nav-item {
  padding: 10px 0 10px 30px;
}

#mainNav .navbar-nav .nav-item .nav-link {
  font-weight: 500;
}

#mainNav .navbar-toggler {
  color: #000 !important;
  background: linear-gradient(0deg, rgba(255, 152, 2, 1) 0%, rgba(251, 205, 69, 1) 100%) !important;
}

.help-block {
  font-size: 12px;
  font-style: italic;
  color: #f90 !important;
  margin-top: 10px;
}

.btn-dangnhap {
  color: #000 !important; /* Đổi màu chữ nếu cần để nổi bật trên nền ảnh */
  
  /* --- PHẦN THAY ĐỔI: Dùng ảnh làm nền --- */
  background: url('/sinhnhat16/img/button_dang nhap.png') no-repeat center center !important;
  /*  background-size: 100% 100% !important; Quan trọng: Co giãn ảnh vừa khít kích thước nút */
  /* -------------------------------------- */

  border-radius: 30px !important; /* Giữ bo góc nếu ảnh của bạn là hình chữ nhật */
  padding: 8px 20px !important;
  border: none !important; /* Nên thêm dòng này để xóa viền mặc định */
  
}

.btn-dangnhap1 {
  color: #000 !important;
  background: rgb(255, 152, 2) !important;
  background: linear-gradient(0deg, rgba(255, 152, 2, 1) 0%, rgba(251, 205, 69, 1) 100%) !important;
  border-radius: 30px !important;
  padding: 8px 20px !important;
  -webkit-box-shadow: 0px 2px 2px 0px rgba(199, 0, 33, 0.65) !important;
  -moz-box-shadow: 0px 2px 2px 0px rgba(199, 0, 33, 0.65) !important;
  box-shadow: 0px 2px 2px 0px rgba(199, 0, 33, 0.65) !important;
}

.btn-dangnhap:hover {
  background: url('/sinhnhat16/img/button_dang nhap.png') no-repeat center center !important;
}

.btn-dangnhap1:hover {
  background: linear-gradient(0deg, rgba(251, 205, 69, 1) 0%, rgba(255, 152, 2, 1) 100%) !important;
}

.logo-vongquay {
  position: relative;
  z-index: 5;
  margin-top: 100px;
}

.btn-themluot {
  color: #fff;
  padding: 10px 60px;
  background: rgb(255, 37, 27);
  background: linear-gradient(0deg, rgba(255, 37, 27, 1) 0%, rgba(244, 103, 10, 1) 100%);
  text-align: center;
  border-radius: 12px;
  font-weight: 400;
  font-size: 22px;
  line-height: 22px;
  font-style: italic;
  -webkit-box-shadow: 0px 4px 0px 0px rgba(250, 139, 5, 1);
  -moz-box-shadow: 0px 4px 0px 0px rgba(250, 139, 5, 1);
  box-shadow: 0px 4px 0px 0px rgba(250, 139, 5, 1);
  position: relative;
  z-index: 5;
}

.btn-themluot:hover {
  color: #fff;
}

.btn-themluot span {
  font-size: 14px;
  font-weight: 400;
}

.footer-copyright {
  text-align: center;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  font-size: 13px;
  position: fixed;
  left: 0;
  bottom: 10px;

}

.footer-copyright a {
  color: #fff;
  text-decoration: none;
}

.footer-copyright a:hover {
  color: #fed136;
}

.parallax {
  flex: 1 1 auto;
  background-image: url(../img/parallax.png);
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  width: 100%;
  height: 100%;
  top: -10%;
  left: -10%;
  right: -10%;
  bottom: -10%;
  z-index: 2;
}

.popup-bg .modal-dialog {    
  background: url(../img/bg-popup1.png) no-repeat;
  max-width: 1059px;
  height: 711px;
  margin: 3% auto;
}

.popup-bg-sm .modal-dialog {
  background: url(../img/bg-popup-sm.png) no-repeat;
  max-width: 633px;
  height: 690px;
  margin: 3% auto;
}

.popup-bg-mobile-sm-1 .modal-dialog {
  background: url(../img/bg-popup-mobile-sm-1.png) no-repeat;
  max-width: 314px;
  height: 305px;
  margin: 3% auto;
}

.popup-bg-giai-thuong .modal-dialog {
  background: url(../img/bg-popup-giai-thuong.png) no-repeat;
  max-width: 314px;
  height: 451px;
  margin: 5% auto;
}

.popup-bg .modal-content {
  background: transparent !important;
  width: 95%;
  border: none;
  color: #fff;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  padding-top: 7%;
  max-height: 580px;
}

.popup-bg .modal-body {
  padding: 0 0 0 2rem;
}

.popup-bg-sm .modal-body {
  padding: 2rem 1rem;
}

.popup-bg-mobile-sm-1 .modal-body {
  padding: 3rem 1.5rem;
}

.popup-bg-giai-thuong .modal-body {
  padding: 18rem 1.5rem 0 1.5rem;
}

.popup-bg-giai-thuong p {
  font-size: 18px;
  color: #000;
}

.popup-bg .close-modal {
  position: absolute;
  z-index: 10;
  right: 3%;
  top: 11%;
  width: 35px;
  height: 35px;
  cursor: pointer;
}

.popup-bg-sm .close-modal {
  right: 5%;
  top: 17%;
}

.popup-bg-mobile-sm-1 .close-modal {
  right: 8%;
  top: 19%;
}

.popup-bg-giai-thuong .close-modal {
  top: 18%;
  right: 5%;
}

.popup-bg a {
  text-decoration: none;
}

/* .popup-bg .close-modal .lr {
  z-index: 1051;
  width: 1px;
  height: 35px;
  margin-left: 35px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  background-color: #fff;
}
.popup-bg .close-modal .lr .rl {
  z-index: 1052;
  width: 1px;
  height: 35px;
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
  background-color: #fff;
} */

.scrollbox {
  padding-right: 15px;
  /* Thay vì để height cố định 490px, hãy dùng max-height */
  max-height: 65vh; /* Tối đa 70% chiều cao màn hình */
  overflow-y: auto; /* Chỉ hiện thanh cuộn khi cần thiết */
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.3);
}

.popup-bg .title {
  font-weight: 500;
  font-size: 24px;
}

.popup-bg p {
  font-weight: 400;
}

.popup-bg strong {
  font-weight: 500;
}

#the-le .modal-body img {
  width: 400px;
}

.popup-bg .title-note {
  font-size: 13px;
  font-style: italic;
  margin-bottom: 40px;
}

#phone,
#otp {
  max-height: 54px !important;
}

.popup-bg .modal-body .form-group input {
  background: transparent;
  border: 1px solid #fff;
  border-radius: 30px;
  color: #fff;
  font-size: 14px;
  padding: 10px 20px;
  text-align: center;
  width: 100%;
}

.popup-bg .modal-body .form-group input::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #fff;
  opacity: 1;
  /* Firefox */
}

.popup-bg .modal-body .form-group input:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #fff;
}

.popup-bg .modal-body .form-group input::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #fff;
}

.popup-bg .modal-body .form-group .btn-dangnhap {
  padding: 10px 60px !important;
  text-decoration: none;
  width: 60% !important;
  border: none !important;
}

.table-danhsach {
  color: #fff;
}

.table-danhsach tbody tr:hover {
  color: #fed136;
}

.table-danhsach .thead-light th {
  color: #495057;
  background-color: rgba(255, 255, 255, 1);
  border-color: transparent;
  padding: 10px;
  font-weight: 500;
}

.table-danhsach .thead-light th:first-child {
  border-top-left-radius: 16px;
}

.table-danhsach .thead-light th:last-child {
  border-top-right-radius: 16px;
}

.table-lich-su .thead-light th:nth-child(1),
.table-lich-su tr td:nth-child(1) {
  text-align: center;
}

.btn-dangnhap-login {
  text-transform: none !important;
  text-decoration: none !important;
  position: relative;
  top: -5px;
}

.dropdown-toggle::after {
  display: inherit;
  position: relative;
  top: 14px;
}

.dropdown-menu {
  left: auto;
  right: 0;
}

.dropdown-menu .dropdown-item {
  text-transform: none;
}

/* ----- VÒNG QUAY -----*/
.so-luot {
  position: relative;
  z-index: 9;
}

.vongxoay-img {
  /* background: url('vong-quay-all.png') no-repeat;
    background-position: -5px 41px;
    height: 520px; */
}

#img_quay {
  width: 500px;
}

.vongxoay-img img:nth-child(1) {
  position: relative;
  z-index: 5;
}

.vongxoay-img img:nth-child(2) {
  position: absolute;
  margin: -20px -275px;
  z-index: 5;
}

.lucky-wheel-btn img {
  width: 68px;
  cursor: pointer;
}

.lucky-wheel-btn {
  position: absolute;
  z-index: 9;
  top: 42%;
  left: 44%;
  z-index: 5;
}

.lucky-wheel-btn:hover {
  -webkit-filter: brightness(110%);
  filter: brightness(110%);
}

.unlimit {
  transition: none;
  -webkit-animation: rotating 0.6s linear infinite;
  -moz-animation: rotating 0.6s linear infinite;
  -ms-animation: rotating 0.6s linear infinite;
  -o-animation: rotating 0.6s linear infinite;
  animation: rotating 0.6s linear infinite;
}

@-webkit-keyframes rotating

/*Safari and Chrome */
  {
  to {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  from {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes rotating {
  to {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  from {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/* ========================== */
/* DUC ANH COMMENT RESPONSIVE */
/* ========================== */
@media (min-width: 1601px) {}

@media (min-width: 1920px) {}

@media (max-width: 1600px) {}


@media (max-width: 1400px) {}

@media (max-width: 1280px) {}

@media (min-width: 1199px) {}

@media (max-width: 1199px) {
  .lucky-wheel-btn {
    left: 48%;
  }

  .vongxoay-img img:nth-child(2) {
    margin-top: -516px;
    margin-left: 0px;
  }
}

@media (min-width: 991px) {}

@media (max-width: 991px) {
  .lucky-wheel-btn {
    left: 64%;
  }

  .vongxoay-img img:nth-child(2) {
    margin-top: -516px;
    margin-left: 61px;
  }
}

.component-card {
  width: 100%;
  float: left;
  text-align: center;
  display: ruby;
  margin-top: 100px;
}

.card {


}

.card img {
  width: 200px;
  height: 100%;
}

@media (max-width: 768px) {
	.component.appBackground{
		min-height: 130vh !important;
	}
  #boxCard {
   
    margin-left: 0  !important;
  }
  .component-card {

    margin-top: 0 !important;
  }

  .component.rewardBox img {
    padding-top: 20px;
    width: 200px !important;
  }

  .card {

    width: 100% !important;
    height: auto;
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center;

  }

  .component.slogan {
    width: 100% !important;
    ;
    bottom: 0;
    opacity: .5;
  }

  #mainNav {
    background: rgba(0, 0, 0, 0);
  }

  .navbar-collapse {
    background: rgba(0, 0, 0, .6);
  }

  .nav-item {
    padding: 5px 10px;
  }

  .navbar-brand img {
    width: 200px;

  }

  .vongxoay-img {
    margin-top: 5px;
  }

  .logo-vongquay {
    margin-top: 80px;
  }

  .table-danhsach {
    font-size: 12px;
  }

  .popup-bg .close-modal img {
    width: 20px;
  }

  .popup-bg .close-modal {
    right: 6%;
    top: 9%;
  }

  .scrollbox {
    height: 515px;
  }

  .footer-copyright {
    position: relative;
    margin-top: 50px;
    z-index: 9
  }

  .popup-bg .modal-dialog {
    background: url(../img/bg-popup-mobile.png) no-repeat;
    max-width: 350px;
    height: 585px;
    margin: 3% auto;
  }

  .popup-bg .title {
    font-size: 18px;
    margin-bottom: 20px;
  }

  #the-le .modal-body img {
    width: 100%;
  }

  .popup-bg p {
    font-size: 12px;
    margin-bottom: 5px;
  }

  .popup-bg ul li {
    font-size: 12px;
  }

  .popup-bg .modal-body {
    padding: 1.5rem 0rem;
  }

  .popup-bg-sm .modal-dialog {
    background: url(../img/bg-popup-mobile-sm.png) no-repeat;
    max-width: 314px;
    height: 495px;
    margin: 3% auto;
  }

  .popup-bg-sm .modal-body {
    padding: 2rem 1.5rem;
  }

  .popup-bg-sm .close-modal {
    right: 7%;
    top: 10%;
  }

  .popup-bg-sm .close-modal img {
    width: 20px;
  }

  .popup-bg-mobile-sm-1 .modal-dialog {
    background: url(../img/bg-popup-mobile-sm-1.png) no-repeat;
    max-width: 314px;
    height: 305px;
    margin: 3% auto;
  }

  .popup-bg-mobile-sm-1 .close-modal {
    right: 8%;
    top: 24%;
  }

  .popup-bg-giai-thuong .modal-dialog {
    background: url(../img/bg-popup-giai-thuong.png) no-repeat;
    max-width: 314px;
    height: 451px;
    margin: 5% auto;
  }

  .popup-bg-giai-thuong .modal-body {
    padding: 18rem 1.5rem 0 1.5rem;
  }

  .popup-bg-giai-thuong p {
    font-size: 18px;
    color: #000;
  }

  .popup-bg-giai-thuong .close-modal {
    top: 18%;
    right: 5%;
  }

  .popup-bg .modal-body .form-group .btn-dangnhap {
    width: 100% !important;
  }

  .popup-bg .modal-dialog {
    background: url(../img/bg-popup-mobile.png) no-repeat;
    background-size: 100% 100%; /* Đảm bảo ảnh nền phủ kín khi modal dài ra */
    max-width: 350px;
    height: auto; /* Cho phép thay đổi theo nội dung */
    min-height: 585px; 
    margin: 3% auto;
  }

  .scrollbox {
    height: auto;
    max-height: 530px; /* Giới hạn vùng nội dung để không đè lên viền ảnh nền */
    overflow-y: scroll;
  }
}

@media (max-width:767px) {
  #img_quay {
    width: 400px;
    top: 50px
  }

  .lucky-wheel-btn {
    left: 44%;
    top: 55%;
  }

  .vongxoay-img img:nth-child(2) {
    margin-top: 24px;
    margin-left: -225px;
  }

  section.masthead {
    background-image: url("../img/header-bg2-mobile.jpg");
  }
}

@media (max-width:529px) {

  .vongxoay-img img:nth-child(2) {
    top: 0px;
  }
}

@media (max-width: 450px) {
  .btn-themluot {
    font-size: 18px;
    margin-top: 25px;
  }

  .btn-themluot span {
    font-size: 12px;
  }
}

@media (max-width: 429px) {
  .vongxoay-img img:nth-child(2) {
    top: 0px;
    left: 415px;
    ;
  }
}

@media (max-width: 400px) {
  #img_quay {
    width: 250px;
    top: 50px;
  }

  .vongxoay-img img:nth-child(2) {
    top: 0px;
    left: 389px;
  }

  .lucky-wheel-btn img {
    width: 42px;
    top: 19px;
    cursor: pointer;
  }
}

@media (max-width: 393px) {
  .vongxoay-img img:nth-child(2) {
    top: 0px;
    left: 396px;
  }
}

@media (max-width: 390px) {
  .vongxoay-img img:nth-child(2) {
    top: 0px;
    left: 395px;
  }
}

@media (max-width: 375px) {
  .vongxoay-img img:nth-child(2) {
    top: 0px;
    left: 388px;
  }
}

@media (max-width: 360px) {
  .navbar-brand img {
    width: 150px;
  }

  .btn-themluot {
    font-size: 15px;
    padding: 4px 40px;
  }

  .btn-themluot span {
    font-size: 11px;
  }

  .footer-copyright {
    line-height: 15px;
  }

  .vongxoay-img img:nth-child(2) {
    top: 0px;
    left: 380px;
  }
}

@media (max-width: 320px) {

  .popup-bg .modal-dialog {
    background: url(../img/bg-popup-mobile-sm.png) no-repeat;
    max-width: 314px;
    height: 495px;
    margin: 3% auto;
  }

  .popup-bg-mobile-sm-1 .modal-dialog {
    background: url(../img/bg-popup-mobile-sm-1.png) no-repeat;
    max-width: 314px;
    height: 305px;
    margin: 3% auto;
  }

  .popup-bg-giai-thuong .modal-dialog {
    background: url(../img/bg-popup-giai-thuong.png) no-repeat;
    max-width: 535px;
    height: 451px;
    margin: 5% auto;
  }

  .scrollbox {
    height: 430px;
  }
}

@media (max-width: 280px) {
  .vongxoay-img img:nth-child(2) {
    top: 0px;
    left: 340px;
  }
}

@media screen and (max-width: 479px) and (min-width: 321px) {}