

/* ===== 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;
}


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

#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
	}
}


