
#ProDetailModalsuper .modal-body {
	margin-top: -2.75rem;
	padding: 0 6rem 1rem
}


@media only screen and (max-width: 600px) {
    .wrap-noti-event {
        width:85px
    }

    .wrap-noti-event p {
        font-size: .6rem
    }

    .wrap-noti-event .inner-noti-event .wrap-item-noti-event .item-noti-event {
        width: 65px
    }

    .wrap-noti-event .inner-noti-event .wrap-item-noti-event .item-noti-event .inner-item-noti-event {
        padding: 0
    }

    .wrap-noti-event .inner-noti-event .wrap-item-noti-event .item-noti-event {
        width: 55px
    }

    .close-noti {
        transform: translate(-4.5rem)
    }
}

#youtube-controller .n-base-selection {
    border-radius: 100px!important
}

#youtube-controller .test {
    margin-top: 20px;
    background-color: var(--theme-color-1)
}

#youtube-controller .n-switch.n-switch--active .n-switch__rail,#youtube-controller .n-slider-rail__fill {
    background-color: var(--theme-color-1)
}

#footer-main .wrap-footer {
    margin-top: 1rem;
    padding: 2px 0 0;
    background: #8e8f95;
    background: linear-gradient(to right,#8e8f95 0%,#ffffff 14%,#8e8f95 50%,#ffffff 85%,#8e8f95 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#8e8f95",endColorstr="#8e8f95",GradientType=1)
}

#footer-main .wrap-footer p {
    color: #fff
}

#footer-main .wrap-footer .inner-wrap-footer {
    background: var(--theme-color-1, #1f1f1f);
    padding: 1rem 22vw
}

#footer-main .wrap-footer .inner-wrap-footer .box-logo {
    display: flex;
    justify-content: center
}

#footer-main .wrap-footer .inner-wrap-footer .box-logo img {
    width: 130px
}

#footer-main .wrap-footer .inner-wrap-footer .box-logo p {
    color: #fff;
    font-size: 1rem;
    margin: 1.5rem 0
}

#footer-main .wrap-footer .inner-wrap-footer .box-logo-brand-game {
    display: flex;
    flex-direction: column;
    align-items: center
}

#footer-main .wrap-footer .inner-wrap-footer .box-logo-brand-game p {
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(180deg,#f2d638 0%,#e9b033 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

#footer-main .wrap-footer .inner-wrap-footer .box-logo-brand-game .wrap-logo-brand-game {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: row;
    gap: 10px
}

#footer-main .wrap-footer .inner-wrap-footer .box-logo-brand-game .wrap-logo-brand-game .item-logo-brand-game {
    width: 7.3%;
    border-radius: 16px;
    padding: 1.4rem .5rem;
    background: rgba(255,255,255,.15)
}

#footer-main .wrap-footer .inner-wrap-footer .box-logo-brand-game .wrap-logo-brand-game .item-logo-brand-game .inner-item-logo-brand-game img {
    width: 100%
}

#footer-main .wrap-footer .inner-wrap-footer .box-payment-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1.5rem
}

#footer-main .wrap-footer .inner-wrap-footer .box-payment-method p {
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(180deg,#f2d638 0%,#e9b033 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

#footer-main .wrap-footer .inner-wrap-footer .box-payment-method .wrap-logo-bank {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: row;
    gap: 7px
}

#footer-main .wrap-footer .inner-wrap-footer .box-payment-method .wrap-logo-bank .item-logo-bank {
    width: 7.5%;
    padding: 2px;
    border-radius: 50%
}

#footer-main .wrap-footer .inner-wrap-footer .box-payment-method .wrap-logo-bank .item-logo-bank img {
    width: 100%
}

#footer-main .wrap-footer .inner-wrap-footer .box-tag-seo {
    margin: 2.5rem 0 1rem
}

#footer-main .wrap-footer .inner-wrap-footer .box-tag-seo .header-tag {
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(180deg,#f2d638 0%,#e9b033 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: .5rem
}

#footer-main .wrap-footer .inner-wrap-footer .box-tag-seo .wrap-tag-seo {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px
}

#footer-main .wrap-footer .inner-wrap-footer .box-tag-seo .wrap-tag-seo .item-tag-seo {
    width: 10%;
    border-radius: 12px;
    border: 1px solid #fff;
    padding: 2px 5px;
    text-align: center
}

#footer-main .box-foot-title {
    background: linear-gradient(180deg,#3e3e3e 0%,#010600 100%);
    text-align: center;
    padding: 1rem
}

#footer-main .box-foot-title p {
    color: #fff
}

.wrap-footer-float {
    display: none
}

@media only screen and (max-width: 640px) {
    .inner-wrap-footer {
        padding:1rem 4vw!important
    }

    .inner-wrap-footer .box-logo-brand-game .wrap-logo-brand-game {
        gap: 5px!important;
        margin-top: .5rem!important
    }

    .inner-wrap-footer .box-logo-brand-game .wrap-logo-brand-game .item-logo-brand-game {
        width: 15.5%!important;
        padding: 1rem .1rem!important
    }

    .inner-wrap-footer .box-payment-method .wrap-logo-bank {
        gap: 2px!important;
        margin-top: .5rem!important
    }

    .inner-wrap-footer .box-payment-method .wrap-logo-bank .item-logo-bank {
        width: 16%!important
    }

    .inner-wrap-footer .box-tag-seo {
        margin: 1rem 0 0!important
    }

    .inner-wrap-footer .box-tag-seo .wrap-tag-seo .item-tag-seo {
        width: 30%!important
    }

    .inner-wrap-footer .box-tag-seo .wrap-tag-seo .item-tag-seo p {
        font-size: .8rem!important
    }

    .wrap-footer-float {
        display: block;
        position: fixed;
        width: 100%;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        z-index: 11;
        background: linear-gradient(180deg,rgba(0,0,0,0) 0%,#000 75.52%)
    }

    .wrap-footer-float .box-footer-float {
        padding: 2px;
        border-radius: 32px
    }

    .wrap-footer-float .box-footer-float .inner-box-footer-float {
        border-radius: 32px
    }

    .wrap-footer-float .box-footer-float .inner-box-footer-float .wrap-menu-foot-float {
        position: absolute;
        bottom: 0;
        width: 100%;
        display: flex;
        gap: 10px;
        justify-content: center;
        align-items: center;
        padding: 2px 5px
    }

    .wrap-footer-float .box-footer-float .inner-box-footer-float .wrap-menu-foot-float .item-menu-foot-float {
        width: 17.5%;
        text-align: center;
        position: relative
    }

    .wrap-footer-float .box-footer-float .inner-box-footer-float .wrap-menu-foot-float .item-menu-foot-float:first-child p {
        margin-bottom: -2px
    }

    .wrap-footer-float .box-footer-float .inner-box-footer-float .wrap-menu-foot-float .item-menu-foot-float a img {
        margin: 8px auto 0;
        width: 80%
    }

    .wrap-footer-float .box-footer-float .inner-box-footer-float .wrap-menu-foot-float .item-menu-foot-float p {
        position: absolute;
        bottom: -17px;
        left: 0;
        right: 0;
        margin: -10px auto 0;
        color: #fff;
        text-align: center;
        text-shadow: 0px 2px 0px #000;
        font-family: Kanit;
        font-size: 14px;
        font-style: normal;
        font-weight: 600;
        line-height: normal
    }

    .wrap-footer-float .box-footer-float .inner-box-footer-float .wrap-menu-foot-float .item-menu-foot-float:nth-child(3) {
        animation: zoom 1.5s infinite!important;
        width: 30%
    }

    .wrap-footer-float .box-footer-float .inner-box-footer-float .wrap-menu-foot-float .item-menu-foot-float:nth-child(3) p {
        display: none
    }

    .wrap-footer-float .box-footer-float .inner-box-footer-float .wrap-menu-foot-float .item-menu-foot-float:nth-child(3) a {
        display: flex;
        justify-content: center
    }

    .wrap-footer-float .box-footer-float .inner-box-footer-float .wrap-menu-foot-float .item-menu-foot-float:nth-child(3) img {
        margin-top: -5px;
        width: 90%
    }
}

.x-game-badge-image {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 70px;
    height: 70px;
    overflow: hidden;
}
#ProDetailModalsuper .modal-body .-one-time-img {
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 1;
	width: 110px;
	height: auto;
	-webkit-transform: translate(-30%, 30%);
	transform: translate(-30%, 30%)
}

@media (max-width:991.98px) {
	#ProDetailModalsuper .modal-body {
		height: unset;
		padding-right: 4rem;
		padding-left: 4rem
	}

	#ProDetailModalsuper .modal-body .-one-time-img {
		display: none
	}
}

@media (max-width:767.98px) {
	#ProDetailModalsuper .modal-body {
		margin-top: -3rem;
		padding-top: 1.25rem;
		padding-right: 2rem;
		padding-left: 2rem
	}
}




/* ===== Deposit Layout ===== */
.deposit-wrap{
  width: 100%;
  padding: 10px 12px 18px;
  color: #fff;
}

.deposit-title{
  text-align: center;
  font-size: 14px;
  margin: 8px 0 12px;
  opacity: .95;
}

.deposit-card{
  max-width: 560px;
  margin: 0 auto;
  padding: 18px 16px 16px;
  border-radius: 16px;
  background: radial-gradient(120% 120% at 50% 0%, rgba(255,255,255,.12) 0%, rgba(255,255,255,.06) 35%, rgba(0,0,0,.18) 100%);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
  backdrop-filter: blur(6px);
}

.deposit-bankline{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 6px;
}

.deposit-banklogo{
  width: 38px;
  height: 38px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.14);
}

.deposit-bankname{
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .2px;
}

.deposit-accline{
  text-align: center;
  font-size: 13px;
  opacity: .92;
  margin-bottom: 14px;
}

/* ===== Buttons ===== */
.deposit-actions{
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.deposit-btn{
  width: 100%;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 15px;
  line-height: 1;
  transition: transform .08s ease, filter .15s ease, box-shadow .15s ease;
  user-select: none;
}

.deposit-btn:active{
  transform: translateY(1px);
  filter: brightness(.98);
}

.deposit-btn--ghost{
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.95);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.deposit-btn--primary{
  color: #2b1c00;
  background: linear-gradient(180deg, #f6dd8b 0%, #d6a739 55%, #b98319 100%);
  box-shadow: 0 10px 22px rgba(0,0,0,.25);
}

.deposit-btn__label{
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.deposit-accnum{
  font-weight: 800;
  letter-spacing: .3px;
  white-space: nowrap;
}

.deposit-chip{
  flex: 0 0 auto;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.95);
}

.deposit-btn--primary .deposit-chip{
  background: rgba(255,255,255,.25);
  border-color: rgba(255,255,255,.28);
  color: #2b1c00;
}

/* ===== Responsive ===== */
@media (min-width: 768px){
  .deposit-title{ font-size: 15px; }
  .deposit-card{ padding: 20px 18px 18px; }
  .deposit-actions{
    grid-template-columns: 1fr;
  }
}

/* ปุ่มแจ้งโอนให้จัดกลาง */
.deposit-btn--primary{
  justify-content: center;   /* สำคัญ */
  text-align: center;
}

/* กันเคสที่ข้างในเป็น span แล้วมันไม่ยอมกลาง */
.deposit-btn--primary .deposit-btn__label{
  justify-content: center;
  width: 100%;
}

/* ถ้าปุ่มแจ้งโอนไม่ได้ใช้ deposit-btn__label ก็ใส่อันนี้เพิ่มได้ */
.deposit-btn--primary{
  display: flex;
  align-items: center;
}

.deposit-hint{
  margin-top: 10px;
  font-size: 13px;
  color: #ffd77a;
  text-align: center;
  opacity: .95;
}
.slip-modal-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.slip-modal{
  width: 92%;
  max-width: 380px;
  background: #1c1c1c;
  color: #fff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
}

.slip-warning{
  margin: 10px 0;
  font-size: 13px;
  color: #ffd77a;
}

.slip-actions{
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.btn-cancel{
  flex: 1;
  background: #444;
  border-radius: 999px;
  padding: 10px;
  color: #fff;
}

.btn-confirm{
  flex: 1;
  background: linear-gradient(180deg,#f6dd8b,#d6a739);
  border-radius: 999px;
  padding: 10px;
  color: #2b1c00;
}

.slip-title{ margin: 0 0 6px; }

.slip-loading{
  margin-top: 10px;
  font-size: 13px;
  color: #ffd77a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.slip-spinner{
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: rgba(255,255,255,.95);
  animation: slipspin .7s linear infinite;
}

@keyframes slipspin{
  to{ transform: rotate(360deg); }
}

/* ปุ่ม disabled ให้ดูชัด */
.btn-cancel:disabled,
.btn-confirm:disabled{
  opacity: .55;
  cursor: not-allowed;
  filter: grayscale(.2);
}

.spinner-border {
    width: 30px;
    height: 30px;
    border-width: 4px;
}

.spinner-border.text-light {
    color: #fff;
}

/* สำหรับปุ่มที่แสดงสถานะอัปโหลด */
.btn-warning {
    background-color: #f0ad4e;
    border-color: #f0ad4e;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ปรับขนาดให้ไฟล์ที่อัปโหลดแสดงผลชัดเจน */
#imagePreview {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
}

.upload-slip-container {
    background: linear-gradient(135deg, #FF7F50, #FF6347); /* Gradient background */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
    color: #fff;
}

.upload-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
    color: #333;
}

.upload-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 10px;
    color: #333;
}

.upload-description {
    font-size: 1.2rem;
    margin-top: 10px;
    color: #333;
}

.upload-button-container {
    margin-top: 20px;
}

.btn-upload {
    background-color: #4CAF50;
    border: none;
    padding: 15px;
    font-size: 16px;
    color: white;
    cursor: pointer;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-upload:hover {
    background-color: #45a049;
}

.upload-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.btn-text {
    font-size: 16px;
}

.upload-input {
    display: none;
}

.image-preview-container {
    text-align: center;
    margin-top: 20px;
}

.image-preview {
    width: 50%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-confirm {
    background-color: #FF6347;
    border: none;
    padding: 15px;
    font-size: 16px;
    color: white;
    cursor: pointer;
    border-radius: 10px;
    margin-top: 10px;
}

.btn-confirm:hover {
    background-color: #e55347;
}

.spinner-border {
    width: 30px;
    height: 30px;
    border-width: 4px;
}

.text-success {
    font-size: 1rem;
    font-weight: bold;
    color: #28a745;
    text-align: center;
}

.upload-card {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
    color: #333;
}

.btn-upload {
    background-color: #4CAF50;
    border: none;
    padding: 15px;
    font-size: 16px;
    color: white;
    cursor: pointer;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-upload:hover {
    background-color: #45a049;
}

.upload-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.upload-input {
    display: none;
}

.image-preview-container {
    text-align: center;
    margin-top: 20px;
}

.image-preview {
    width: 50%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-confirm {
    background-color: #FF6347;
    border: none;
    padding: 15px;
    font-size: 16px;
    color: white;
    cursor: pointer;
    border-radius: 10px;
    margin-top: 10px;
}

.btn-confirm:hover {
    background-color: #e55347;
}

.spinner-border {
    width: 30px;
    height: 30px;
    border-width: 4px;
}

.text-success {
    font-size: 1rem;
    font-weight: bold;
    color: #28a745;
    text-align: center;
}

.btn-clear {
    background-color: #f44336;
    border: none;
    padding: 15px;
    font-size: 16px;
    color: white;
    cursor: pointer;
    border-radius: 10px;
    margin-top: 10px;
}

.btn-clear:hover {
    background-color: #e53935;
}