.wslp,
.wslp * { box-sizing: border-box; }
.wslp { color: #263348; direction: rtl; font-family: inherit; }
.wslp__trigger { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; margin: 10px 0; padding: 9px 15px; border: 1px solid #dce7f6; border-radius: 9px; background: #f4f8ff; color: #146be8; font: inherit; font-size: 13px; font-weight: 700; line-height: 1.6; cursor: pointer; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.wslp__trigger:hover { transform: translateY(-1px); border-color: #b9d2fb; background: #eaf2ff; }
.wslp__trigger:focus-visible,
.wslp__close:focus-visible,
.wslp__submit:focus-visible,
.wslp__field input:focus-visible { outline: 3px solid rgba(20,107,232,.3); outline-offset: 2px; }
.wslp__trigger-icon { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #146be8; color: #fff; font: 700 15px/1 Arial,sans-serif; }
.wslp__trigger--floating { position: fixed; right: 16px; bottom: 20px; z-index: 99000; box-shadow: 0 8px 24px rgba(23,74,145,.2); }
.wslp__overlay[hidden] { display: none !important; }
.wslp__overlay { position: fixed; inset: 0; z-index: 1000000; display: flex; align-items: center; justify-content: center; overflow-y: auto; padding: 20px; background: rgba(14,25,43,.62); backdrop-filter: blur(3px); }
.wslp__dialog { width: min(100%, 610px); max-height: calc(100vh - 40px); overflow-y: auto; padding: 26px; border: 1px solid rgba(226,234,246,.9); border-radius: 18px; background: #fff; box-shadow: 0 24px 70px rgba(8,24,48,.28); }
.wslp__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.wslp__eyebrow { display: block; margin-bottom: 5px; color: #4384e7; font: 700 10px/1.3 Arial,sans-serif; letter-spacing: .11em; text-transform: uppercase; }
.wslp__header h2 { margin: 0; color: #1f2d42; font-size: 20px; font-weight: 800; line-height: 1.8; }
.wslp__close { flex: 0 0 auto; display: inline-grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 10px; background: #f2f5f9; color: #62718a; font: 26px/1 Arial,sans-serif; cursor: pointer; }
.wslp__close:hover { background: #e8eef7; color: #263b59; }
.wslp__product { margin: 0 0 20px; padding: 12px 14px; border: 1px solid #e6eef9; border-radius: 11px; background: #f8fbff; color: #70809a; font-size: 12px; line-height: 1.9; }
.wslp__product strong { color: #32435c; font-weight: 700; }
.wslp__fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.wslp__field { min-width: 0; }
.wslp__field label { display: block; margin-bottom: 7px; color: #374860; font-size: 12px; font-weight: 700; }
.wslp__field label span { color: #e55e5e; }
.wslp__field input { display: block; width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #dbe3ee; border-radius: 9px; background: #fff; color: #28384e; font: inherit; font-size: 14px; transition: border-color .15s ease, box-shadow .15s ease; }
.wslp__field input:focus { border-color: #3980ed; box-shadow: 0 0 0 3px rgba(57,128,237,.12); outline: 0; }
.wslp__field input[aria-invalid="true"] { border-color: #dc5b5b; }
.wslp__field--invalid label { color: #c94b4b; }
.wslp__field-error { display: block; min-height: 18px; margin-top: 4px; color: #c84949; font-size: 11px; line-height: 1.6; }
.wslp__feedback { min-height: 23px; margin-top: 8px; font-size: 12px; line-height: 1.8; }
.wslp__feedback--error { color: #bd3434; }
.wslp__feedback--success { color: #16834b; }
.wslp__submit { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 48px; margin-top: 5px; padding: 11px 16px; border: 0; border-radius: 9px; background: #146be8; color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .16s ease; }
.wslp__submit:hover { background: #0b5dce; }
.wslp__submit:disabled { opacity: .7; cursor: wait; }
.wslp__spinner { display: none; width: 17px; height: 17px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: wslp-spin .65s linear infinite; }
.wslp__submit--loading .wslp__spinner { display: inline-block; }
.wslp__honeypot { position: absolute !important; left: -10000px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.wslp__modal-open { overflow: hidden; }
@keyframes wslp-spin { to { transform: rotate(360deg); } }
@media (max-width: 600px) {
  .wslp__overlay { align-items: flex-end; padding: 10px; }
  .wslp__dialog { width: 100%; max-height: calc(100vh - 20px); padding: 19px 16px; border-radius: 17px 17px 12px 12px; }
  .wslp__header h2 { font-size: 17px; }
  .wslp__fields { grid-template-columns: minmax(0,1fr); gap: 9px; }
  .wslp__field input { min-height: 44px; }
  .wslp__field-error { min-height: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .wslp *, .wslp *::before, .wslp *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
