/* Call Popup for WordPress - Styles */
:root{
  --popup-accent: #14a800;
  --popup-bg: #0b0f14cc;
  --radius-lg: 20px;
  --radius-sm: 10px;
  --shadow-1: 0 10px 30px rgba(0,0,0,.25);
}

.call-popup{ position: fixed; inset: 0; display: none; z-index: 9999; }
.call-popup.is-open{ display: block; }

.call-popup__overlay{
  position: absolute; inset: 0;
  background: var(--popup-bg);
  backdrop-filter: blur(6px);
  animation: call-fadeIn .2s ease-out;
}

.call-popup__dialog{
  position: relative;
  max-width: 520px;
  width: calc(100% - 32px);
  margin: 6vh auto 0;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  padding: 22px 20px 18px;
  animation: call-popIn .18s ease-out;
  direction: rtl;
  text-align: center;
}

.call-popup__close{
  position: absolute; inset-inline-end: 10px; top: 8px;
  border: 0; background: transparent; font-size: 28px; line-height: 1;
  cursor: pointer; opacity: .6;
}
.call-popup__close:hover{ opacity: 1; }

#callPopupTitle{
  margin: 8px 0 14px;
  font: 700 18px/1.6 system-ui, -apple-system, Segoe UI, IRANSans, sans-serif;
}

.phone-list{
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 12px 0 6px;
}

.phone-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: #f5f7f9;
  border: 1px solid #e8ecf1;
  box-shadow: 0 1px 0 rgba(0,0,0,.04) inset;
  text-decoration: none;
  font: 700 16px/1 system-ui, -apple-system, Segoe UI, IRANSans, sans-serif;
  transition: transform .06s ease, box-shadow .12s ease, background .2s ease;
  direction: ltr;
  color: #0d1b2a;
}

.phone-btn:before{ content: "📞"; font-size: 18px; }

.phone-btn:hover{
  background: #eef7f1;
  box-shadow: 0 6px 18px rgba(20,168,0,.15);
  transform: translateY(-1px);
  border-color: #dcede3;
}

.phone-btn:active{ transform: translateY(0); box-shadow: none; }

.phone-btn--primary{
  background: linear-gradient(180deg, #19c20e, var(--popup-accent));
  color: #fff; border-color: #19aa0e;
}
.phone-btn--primary:hover{ background: linear-gradient(180deg, #1bd010, #0fa000); }

.call-hint{ margin: 14px 0 4px; font-size: 12px; color: #6b7280; }

@keyframes call-fadeIn{ from{opacity:0} to{opacity:1} }
@keyframes call-popIn{ from{transform: translateY(8px); opacity:0} to{transform:none; opacity:1} }

/* Lock body scroll when popup open */
body.popup-open{ overflow: hidden; }
