/* Vòng quay CSS */
#vongquay {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 510px;
    height: 760px;
    border-radius: 12px;
}

.vongquay-img {
    position: relative;
    display: inline-block;
}

#wheel {
    width: 400px;
    height: 400px;
    max-width: 400px;
    max-height: 400px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    transition: transform 5s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 1;
    background-size: 100% 100%;
}

.btn-vongquay {
    position: absolute;
    width: 60px;
    height: 60px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.btn-vongquay::after {
    content: "";
    position: absolute;
    background: url(../img/kim-vongquay.png) no-repeat center;
    width: 40px;
    height: 40px;
    top: -10px;
    transform: translate(-50%, -50%);
    left: 50%;
}

.btn-vongquay img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.btn-vongquay:hover {
    transform: translate(-50%, -50%) scale(1.08);
}



.wheelModal .modal-content {
    background: transparent;
    border: none;
    box-shadow: none;
    height: 100%;

}

.wheelModal .modal-header .modal-close,
.trungthuong .modal-header .modal-close,
.datlichIndex .modal-header .modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    cursor: pointer;
    font-size: 15px;
    transition: 0.3s;
}

.wheelModal .modal-header .modal-close:hover,
.trungthuong .modal-header .modal-close:hover,
.datlichIndex .modal-header .modal-close:hover {
    background: #e74c3c;
}

/* Modal Trúng Thưởng & Đặt Lịch */
.trungthuong .modal-content,
.datlichIndex .modal-content {
    border-radius: 18px;
    border: none;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.trungthuong .modal-header,
.datlichIndex .modal-header {
    background: var(--color-main, #9D6F2C);
    background: linear-gradient(135deg, var(--color-main, #9D6F2C), #c59345);
    color: #fff;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.trungthuong .modal-title,
.datlichIndex .modal-title {
    font-weight: 700;
    font-size: 20px;
    margin: 0;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.prize-display-box {
    background: #fdfaf6;
    border-radius: 14px;
    padding: 20px 16px;
    border: 1px solid #f0e6d6;
}

.prize-congrats-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-main, #9D6F2C);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.prize-img-wrapper {
    margin: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 120px;
}

.prize-img-wrapper img {
    max-width: 300px;
    max-height: 150px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease;
}

.prize-img-wrapper img:hover {
    transform: scale(1.05);
}

.prize-name-text {
    font-size: 20px;
    font-weight: 700;
    color: #dc3545;
    margin-top: 6px;
}

.input-vongquay {
    margin-bottom: 16px;
    position: relative;
}

.input-vongquay input,
.input-vongquay select {
    width: 100%;
    height: 40px !important;
    border-radius: 10px;
    border: 1px solid #ced4da;
    font-size: 16px;
    padding: 0 18px;
    transition: all 0.25s ease;
    background-color: #fff;
    color: #495057;
    outline: none;
}

.input-vongquay select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%3C%23666666' d='M6 8.825L1.175 4 2.238 2.938 6 6.7 9.763 2.938 10.825 4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    padding-right: 40px;
}

.input-vongquay input:focus,
.input-vongquay select:focus {
    border-color: var(--color-main, #9D6F2C);
    box-shadow: 0 0 0 0.25rem rgba(157, 111, 44, 0.25);
}

.btn-trungthuong {
    width: 100%;
    height: 44px !important;
    background: var(--color-main, #9D6F2C);
    background: linear-gradient(135deg, var(--color-main, #9D6F2C), #c59345);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(157, 111, 44, 0.35);
    letter-spacing: 0.5px;
}

.btn-trungthuong:hover {
    background: linear-gradient(135deg, #875c22, #b08037);
    box-shadow: 0 8px 22px rgba(157, 111, 44, 0.45);
    transform: translateY(-2px);
}