/* =========================================================
   FORYA • CHECKOUT CONFIRM FINAL CLEAN CSS
========================================================= */

body.forya-odeme-sayfasi .checkout-section.confirm-section .checkbox {
  margin: 10px 0 !important;
}

body.forya-odeme-sayfasi .checkout-section.confirm-section .checkbox > label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  position: relative;
  cursor: pointer;
  line-height: 1.35;
  vertical-align: top;
  user-select: none;
}

/* gerçek input görünmez ama DOM'da kalır */
body.forya-odeme-sayfasi .checkout-section.confirm-section .checkbox > label > input[type="checkbox"] {
  position: absolute !important;
  opacity: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  pointer-events: none !important;
}

/* metin bloğu */
body.forya-odeme-sayfasi .checkout-section.confirm-section .checkbox > label .forya-label-text {
  display: inline !important;
  white-space: normal !important;
  word-break: normal !important;
  min-width: 0;
}

body.forya-odeme-sayfasi .checkout-section.confirm-section .checkbox > label .forya-label-text,
body.forya-odeme-sayfasi .checkout-section.confirm-section .checkbox > label .forya-label-text * {
  line-height: 1.35 !important;
}

body.forya-odeme-sayfasi .checkout-section.confirm-section .checkbox > label .forya-label-text a,
body.forya-odeme-sayfasi .checkout-section.confirm-section .checkbox > label .forya-label-text b,
body.forya-odeme-sayfasi .checkout-section.confirm-section .checkbox > label .forya-label-text span {
  display: inline !important;
}

/* linkler */
body.forya-odeme-sayfasi .checkout-section.confirm-section a.agree {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* sözleşme checkbox görünümü */
body.forya-odeme-sayfasi .checkout-section.confirm-section .checkbox > label.forya-ck::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 6px;
  border: 1.5px solid rgba(0, 0, 0, .25);
  background: #fff;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 9px;
}

body.forya-odeme-sayfasi .checkout-section.confirm-section .checkbox > label.forya-ck.forya-checked::before {
  background-color: #16a34a;
  border-color: #16a34a;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='12' viewBox='0 0 16 12'%3E%3Cpath fill='white' d='M5.6 11.2.7 6.3l1.4-1.4 3.5 3.5L13.9.1l1.4 1.4z'/%3E%3C/svg%3E");
}

/* bülten switch */
body.forya-odeme-sayfasi .checkout-section.confirm-section .checkbox > label.forya-switch .forya-switch-ui {
  width: 34px;
  height: 18px;
  flex: 0 0 34px;
  border-radius: 999px;
  background: #e5e7eb;
  border: 1px solid rgba(0, 0, 0, .18);
  position: relative;
  display: inline-block;
  transition: all .18s ease;
}

body.forya-odeme-sayfasi .checkout-section.confirm-section .checkbox > label.forya-switch .forya-switch-ui::after {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #111;
  position: absolute;
  top: 50%;
  left: 2px;
  transform: translateY(-50%);
  transition: all .18s ease;
}

body.forya-odeme-sayfasi .checkout-section.confirm-section .checkbox > label.forya-switch.forya-checked .forya-switch-ui {
  background: #16a34a;
  border-color: #16a34a;
}

body.forya-odeme-sayfasi .checkout-section.confirm-section .checkbox > label.forya-switch.forya-checked .forya-switch-ui::after {
  left: 18px;
  background: #fff;
}

/* hata metni */
body.forya-odeme-sayfasi .checkout-section.confirm-section .checkbox .text-danger {
  display: block;
  margin: 6px 0 0 28px;
  font-size: 12px;
  line-height: 1.3;
}

/* buton */
body.forya-odeme-sayfasi #quick-checkout-button-confirm {
  transition: all .18s ease !important;
}

body.forya-odeme-sayfasi #quick-checkout-button-confirm.forya-disabled {
  opacity: .55 !important;
  pointer-events: auto !important;
  cursor: not-allowed !important;
}

body.forya-odeme-sayfasi #quick-checkout-button-confirm.forya-ready {
  background: #1f8b3a !important;
  border-color: #1f8b3a !important;
  box-shadow: 0 10px 22px rgba(31, 139, 58, .18) !important;
}

/* tooltip */
body.forya-odeme-sayfasi .forya-btn-tip {
  position: fixed;
  z-index: 99999;
  max-width: 270px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #111;
  color: #fff;
  font-size: 12px;
  line-height: 1.3;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
  opacity: 0;
  transform: translate(-50%, calc(-100% + 6px));
  transition: opacity .15s ease, transform .15s ease;
  pointer-events: none;
}

body.forya-odeme-sayfasi .forya-btn-tip.is-show {
  opacity: 1;
  transform: translate(-50%, -100%);
}