* {
    box-sizing: border-box;
}

body,
html {
    height: 100%;
}

body {
    display: flex;
    justify-content: center;
    background: url(../img/yellow/yellow\ lucky\ wheel.jpg) no-repeat;
    background-position: center center;
    background-size: cover;
}

body.modal-open {
    padding-right: 0 !important;
}

.body-content {
    max-width: 768px;
    width: 100%;
    display: flex;
    justify-content: center;
    height: 100%;
}

.voucher {
    position: relative;
    margin-top: 30vh;
}

.luckywheel {
    overflow: visible;
    max-width: 768px;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* overflow:hidden; */
    height: 100%;
    position: relative;
}

/* .wheel_container{
    width:300px;
	height:300px;
	border-radius:50%;
	position: relative;
	overflow: hidden;
	transition: 5s;
} */

.wheel_container div {
    height: 50%;
    width: 80px;
    position: absolute;
    clip-path: polygon(100% 0, 50% 100%, 0 0);
    transform-origin: bottom;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    font-family: sans-serif;
    color: #fff;
    left: 111px;
}

.bg--1 {
    background-color: #ce2026;
}
.bg--1 span {
    color: #faf19b;
}

.bg--2 {
    background-color: #fdeab8;
}
.bg--2 span {
    color: #660c0c;
}

.wheel__bg {
    display: none;
    z-index: 998;
    position: absolute;
    top: 50%;
    width: 150%;
    height: 115%;
    transform: translateY(-50%);
}

.wheel__bg_sm{
    z-index: 998;
    position: absolute;
    top: 50%;
    width: 92%;
    height: 90%;
    transform: translateY(-50%);
}

.wheel_container div span {
    rotate: 90deg;
}

.wheel_body {
    position: relative;
    display: flex;
    justify-content: center;
}

.rotate265 {
    rotate: 265deg !important;
}

.small-word {
    font-size: 11px !important;
}

.arrow {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
}

.arrow::before {
    content: "\1F817";
    font-size: 50px;
}

.wheel_title,
.spin_count {
    color: white;
    font-size: 1.5rem;
    text-align: center;
    font-weight: bold;
    position: absolute;
    display: flex;
    flex-direction: column;
}

.spin_count {
    bottom: 0;
}

.required:after {
    content: "*";
    position: relative;
    font-size: inherit;
    color: var(--bs-danger);
    padding-left: 0.25rem;
    font-weight: 600;
}

.custom-error {
    color: red;
    font-size: 12px;
}

.alert-text {
    color: white;
}

.voucher-card {
    padding: 10px;
    background-color: transparent;
    color: white;
    border-color: white;
}

.prize-list {
    width: 100%;
    position: absolute;
    bottom: 30px;
    right: 50%;
    transform: translateX(50%);
    background-color: rgba(255, 255, 255, 0.8);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.prize-list li {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: bold;
}

.prize-color {
    width: 15px;
    height: 15px;
}

.prize-item {
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: bold;
}

.wheel_container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    overflow: hidden;
    transition: transform 5s;
    background-position: center;
    background-repeat: no-repeat;
}

.luckyWheelCanvas{
    height: 100%;
    width: 100%;
}

.modal-content{
    background-color: transparent;
    overflow: visible !important;
}

@keyframes placeHolderShimmer {
    0% {
        background-position: -468px 0;
    }

    to {
        background-position: 468px 0;
    }
}


/* new css */
.voucher-form-background {
    border: 2px solid white;
    border-radius: 10px;
    padding: 1rem;
    background: url('../../../assets/img/yellow/frame congrat.png');
    background-position: center center;
    width: 100%;
    position: relative;
}

.voucher-form-title {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
}

.voucher-form-title img {
    width: 250px;
}

.voucher-form-body {
    background-color: white;
    padding: 1rem;
}

.voucher-form-control{
    border: 2px solid #9b7213;
    color: #9b7213;
}

.luckydraw_title{
    position: absolute;
    top: 0;
}

.luckydraw_title img{
    width: 100px;
}

.wheel_rim{
    width: 320px;
    height: 320px;
}

.spin {
    position: absolute;
    left: 50%;
    top: 35%;
    z-index: 10;
    background: url('../img/yellow/yellow lucky wheel button.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 100px;
    height: 100px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    outline: none;
    letter-spacing: 1px;
    z-index: 999;
    transform: translate(-54%, -8%);
}

#wheel_rim_img {
    transition: transform 10s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center center;
}

.prize-form-title {
    top: 15px;
}

@media only screen and (min-width: 375px) {
    .arrow {
        top: 23%;
    }

    .wheel_container div {
        width: 88px;
        left: 121px;
        font-size: 14px;
    }
}

@media only screen and (min-width: 425px) {
    .wheel__bg {
        display: block;
    }

    .voucher-form-title {
        top: -45px;
    }
    
    .voucher-form-title img {
        width: 300px;
    }


    .voucher-form-body {
        padding: 1rem 2rem;
    }

    .prize-form-title {
        top: 15px;
    }
}

@media only screen and (min-width: 768px) {
    .prize-list {
        width: 90%;
    }

    .wheel_rim{
        width: 500px;
        height: 500px;
    }
    
    .spin {
        left: 50.5%;
        top: 36%;
        width: 150px;
        height: 150px;
    }
}

@media only screen and (min-width: 1024px) {
    .prize-list {
        width: unset;
        position: absolute;
        bottom: unset;
        top: 25px;
        right: 12%;
    }
}

@media only screen and (min-width: 1440px) {
    .prize-list {
        right: 10%;
    }
}

@media only screen and (min-width: 1920px) {
    .prize-list {
        right: 7%;
    }
}