/* Peikavkala Zoom Popup styles */
:root{
  --pkzp-radius: 32px;
  --pkzp-border: #eeeeee;
  --pkzp-shadow: 0 30px 80px rgba(0,0,0,.35);
  --pkzp-overlay: rgba(0,0,0,.35);
  --pkzp-close-bg: #efb4ba;
  --pkzp-close-icon: #c21e2b;
  --pkzp-accent: #e60023;
  --pkzp-font: inherit;
}

.pkzp-hidden{ display:none !important; }

/* overlay */
#pkzp-overlay{
  position: fixed;
  inset: 0;
  background: var(--pkzp-overlay);
  backdrop-filter: blur(6px);
  z-index: 99998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
#pkzp-overlay.pkzp-active{
  opacity: 1;
  pointer-events: auto;
}

/* modal */
#pkzp-modal{
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 99999;
  pointer-events: none;
}
#pkzp-modal .pkzp-dialog{
  width: min(1100px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: #fff;
  border-radius: var(--pkzp-radius);
  box-shadow: var(--pkzp-shadow);
  pointer-events: auto;
  transform: scale(.94);
  opacity: 0;
  transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity .4s ease;
  font-family: var(--pkzp-font);
  direction: rtl;
}
#pkzp-modal.pkzp-active .pkzp-dialog{
  transform: scale(1);
  opacity: 1;
}

/* content paddings */
.pkzp-content{
  padding: 24px 28px 28px 28px;
}

/* header */
.pkzp-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.pkzp-title{
  font-weight: 800;
  font-size: 28px;
  margin: 0;
}
.pkzp-divider{
  margin: 12px 0 16px 0;
  border: 0;
  border-top: 1px solid var(--pkzp-border);
}

/* close button */
.pkzp-close{
  position: absolute;
  top: 20px;
  left: 20px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--pkzp-close-bg);
  color: var(--pkzp-close-icon);
  display: grid;
  place-items: center;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  border: 0;
}
.pkzp-close:focus{ outline: 2px solid rgba(0,0,0,.15); outline-offset: 2px; }
.pkzp-close:hover{ filter: brightness(0.98); }

/* input area styled like search */
.pkzp-input{
  width: 100%;
  height: 52px;
  padding: 12px 16px 12px 48px;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  background:
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23909090" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"/><line x1="21" y1="21" x2="16.65" y2="16.65"/></svg>') no-repeat 14px 50% / 20px 20px,
    #fff;
  box-shadow: inset 0 1px 0 rgba(0,0,0,.02);
  font-family: var(--pkzp-font);
  font-size: 16px;
  line-height: 1.9;
  direction: rtl;
}
.pkzp-input::placeholder{ color:#9aa0a6; }
.pkzp-input:focus{
  border-color: #e6e6e6;
  box-shadow: 0 0 0 3px rgba(0,0,0,.04);
  outline: none;
}

/* chips */
.pkzp-chips{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  margin-bottom: 12px;
}
.pkzp-chip{
  border: 1px solid #e6e6e6;
  background: #fff;
  color: #333;
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
}

/* open button (optional) */
.pkzp-open-btn{
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid #e6e6e6;
  background: #fff;
  cursor: pointer;
}
