.wheel-container {
    position: relative;
    width: 90%;
    max-width: 500px;
    aspect-ratio: 1 / 1;
    margin: auto;
    margin-top: 14px;
}
.wheelModal .modal-content {
    background: rgba(229, 123, 0, 1);
    border: none;
    padding: 0;
    border-radius: 15px;
}
.wheelModal .modal-header {
    border-bottom: none !important;
}
.wheelModal .modal-header .btn-close-modal, .modalGiftSpin .btn-close-modal {
    position: absolute;
    right: 8px;
    background: rgba(255, 255, 255, 1);
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    /*padding: 5px;*/
    top: 10px;
    z-index: 9;
}
#wheel {
    width: 100%;
    height: 100%;
    display: block;
}

.wheel-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* tránh chặn sự kiện */
    z-index: 2;
}

.arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 110px;
    transform: translate(-50%, -50%);
    z-index: 3;
    cursor: pointer;
    /*pointer-events: none;*/
}
#spin {
    background: transparent;
    border: none;
    height: auto;
    width: 340px;
    display: block;
    margin: 0 auto;
}
.prize-item {
    background: #FFE2C9;
    padding: 2px 12px 2px 20px;
    border-radius: 5px;
}
.prize-item .prize-level {
    transform: translate(-50%, -50%);
    top: 20px;
    left: 10px;
    width: 50px;
    height: 24px ;
    background: url("/images/events/event-prize-bg.png") no-repeat ;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}
.prize-item .prize-img {
    width: 80px;
    height: auto;
}
.prize-item .prize-text {
    background: #FD8901 ;
    border-radius: 10px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 61%;
}
.history-rollcall .tab-content {
    padding: 15px 20px !important;
}
.modal-instruct .description-title {
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
}
.modal-instruct .btn-close-instruct {
    background: linear-gradient(90deg, #FEF7E2 0%, #F5D0A0 98%);
    border-radius: 50px;
    border: none;
    color: rgba(159, 88, 4, 1);
    font-size: 18px;
    font-weight: 500;
    height: 30px ;
    width: 100px;
    margin: 0 auto;
    display: block;
}
.wheelModal .wheel-left {
    background: url("/images/events/wheel/bg-left.png") no-repeat;
    background-position: center;
    background-size: cover;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    height: 553px;
    /*padding: 20px;*/
}
.wheelModal .wheel-right {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    height: 553px;
    padding: 65px 20px 20px 20px;
    position: relative;
}
.wheelModal .wheel-right:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    background: url("/images/events/wheel/bg-right.webp") no-repeat;
    background-position: center;
    background-size: cover;
    opacity: .5;
    top: 0;
    left: 0;
}
.btn-history-spin {
    color: rgba(6, 6, 6, 1);
    background: linear-gradient(266.54deg, #FF620E 40.18%, #F69138 76.02%, #F9E764 98.6%);
    border: none;
    border-radius: 5px;
    padding: 6px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    width: 200px;
    height: 34px;
    align-items: center;
    position: relative;
}
.history-spin-list {
    max-height: 700px;
    overflow-y: auto;
}
.history-rollcall .history-item {
    background: rgba(255, 226, 201, 1);
    border-radius: 10px;
    padding: 7px;
}
.history-rollcall .history-item .text-user, .history-rollcall .history-item .text-user {
    font-size: 14px;
}
.history-rollcall .history-item .avatar-user {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}
.history-rollcall .history-tab .nav-link {
    color: white;
    font-size: 16px;
    font-weight: 700;
    /*font-family: "DM Sans", sans-serif;*/
    height: 50px;
}
.history-rollcall .history-tab .nav-link.active {
    background: rgba(255, 179, 14, 1);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}
.wheelModal .modal-content {
    min-height: 553px;
    /*padding-top: 22px !important;*/
}
.loading-wheel {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 999;
    top: 0;
    background: linear-gradient(312deg, rgba(48, 55, 63, 1), rgba(18, 29, 43, 1)) !important;
}
.prize-item .prize-img {
    width: 72px;
}
.wheelModal .count-spin {
    background: linear-gradient(90deg, rgba(223, 121, 2, 0) 1%, rgba(246, 140, 31, 0.7) 27.4%, rgba(246, 140, 31, 0.7) 75.96%, rgba(223, 121, 2, 0) 100%);
    height: 40px;
    line-height: 40px;
}
.wheelModal .modal-dialog {
    --bs-modal-width: 870px;
}
.wheelModal .list-prize {
    background: linear-gradient(112.93deg, #C71E06 1.83%, #FF3215 52.39%, #C71E06 100%);
    border: 1px solid rgba(247, 155, 63, 1);
    border-radius: 10px;
    width: 100%;
    height: 240px;
    position: relative;
}
.wheelModal .list-prize-title {
    background: url("/images/events/wheel/bg-title-right.png") no-repeat;
    height: 37px;
    line-height: 37px;
    width: 321px;
    background-position: center;
    background-size: 100% 100%;
    font-size: 15px;
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    text-align: center;
    color: rgba(208, 10, 1, 1);
    margin: 0 auto;
    margin-top: -20px;
}
.wheelModal .list-prize-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.wheelModal .list-prize-content .list-prize-item {
    background: rgba(255, 255, 255, 1);
    border: 1px solid rgba(247, 155, 63, 1);
    border-radius: 10px;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.wheelModal .list-prize-content .list-prize-img {
    max-width: 50px;
    object-fit: cover;
    max-height: 50px;
    margin: 0 auto;
}
.wheelModal .list-prize-content .list-prize-name {
    background: rgba(253, 137, 1, 1);
    color: white;
    border-radius: 20px;
    width: 90%;
    height: 17px;
    line-height: 17px;
    text-align: center;
    text-transform: capitalize;
    font-size: 14px;
    font-weight: 500;
}
.info-wheel {
    list-style: none;
    position: relative;
    padding: 0;
}
.info-wheel li {
    height: 45px;
    background: rgba(255, 255, 255, 1);
    border-bottom: 1px solid rgba(246, 140, 31, 1);
    padding: 0 10px;
}
.info-wheel li:first-child {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.info-wheel li:last-child {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
.info-wheel li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(0, 0, 0, 1);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    height: 100%;
}
.info-wheel li a .info-wheel-header {
    display: flex;
    align-items: center;
    gap : 10px;
}
.info-wheel li .icon-info-wheel {
    height: 35px;
    width: 35px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(252, 235, 213, 1);
}
.historySpinModal .modal-header {
    background: rgba(255, 179, 14, 1);
    height: 45px;
}
.wheelModal .modal-header .history-header-icon {
   background: rgba(252, 235, 213, 1);
    height: 35px;
    width: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
}
.historySpinModal .modal-body {
    background: white;
    border: 2px solid rgba(255, 179, 14, 1);
    border-top: none;
}
.history-spin-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
}
.history-rollcall .history-item {
    height: 70px;
}
.history-rollcall .history-item .prize-img {
    max-width: 75px;
    max-height: 50px;
}
.modalGiftSpin .modal-content {
    background: url("/images/events/wheel/fire.png") no-repeat;
    background-size: contain;
    background-position: center;
    border: none;
    height: 56vh;
}
.modalGiftSpin.show {
    background: rgb(0 0 0 / 78%);
}
.modalGiftSpin .prize-give {
    background: url("/images/events/wheel/bg-prize-give.webp") no-repeat;
    background-size: contain;
    background-position: center;
    width: fit-content;
    margin: 0 auto;
}
.modalGiftSpin .prize-give img{
    height: 300px;
    width: auto;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}
.modalGiftSpin .prize-give-name{
    background: url("/images/events/wheel/bg-prize-name.png") no-repeat;
    background-size: 100% 100%;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 60px;
    font-size: 20px;
    font-weight: 700;
    color: rgba(255, 255, 255, 1);
    margin: 0 auto;
}
.modalGiftSpin .prize-give-note{
    background: linear-gradient(90deg, rgba(223, 121, 2, 0) 1%, rgba(246, 140, 31, 0.7) 27.4%, rgba(246, 140, 31, 0.7) 75.96%, rgba(223, 121, 2, 0) 100%);
    width: 440px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: rgba(255, 255, 255, 1);
    font-weight: 500;
    font-size: 14px;
    margin: 0 auto;
}
.infoSpinModal {
    color: black;
}
.infoSpinModal ul {
    list-style: circle;
}
.infoSpinModal .info-spin-title {
    font-weight: 600;
    color: rgba(253, 137, 1, 1);
}

@media only screen and (max-width: 950px) {
    .body-wheel {
        background: rgba(229, 123, 0, 1);
    }
    .modalGift .prize-give-note {
        width: 100%;
    }
    .modalGift .modal-content {
        background-size: cover;
    }
    .history-spin-list {
        grid-template-columns: repeat(1, 1fr);
    }
    .historySpinModal .modal-body {
        height: 60vh;
        overflow-y: auto;
    }
    .infoSpinModal ul {
        padding-left: 1rem;
    }
}
