.ic-cmt-spam-popup {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.ic-cmt-spam-popup[hidden] {
  display: none !important;
}

.ic-cmt-spam-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.ic-cmt-spam-popup__card {
  position: relative;
  width: 85%;
  max-width: 340px;
  background: #fff;
  border-radius: 24px;
  padding: 30px 24px 24px;
  direction: rtl;
  text-align: center;
  animation: ic-cmt-spam-pop 0.22s ease;
}

@keyframes ic-cmt-spam-pop {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

.ic-cmt-spam-popup__title {
  margin: 0 0 14px;
  font-family: "IRANYekanFa", "IRANYekan", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #2d3a4a;
}

.ic-cmt-spam-popup__message {
  margin: 0 0 22px;
  font-size: 11.5px;
  line-height: 27px;
  color: #4a5a6a;
}

.ic-cmt-spam-popup__btn {
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 14px;
  background: #4e91e6;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.ic-cmt-send.is-locked {
  cursor: pointer;
}

.ic-cmt-send.is-locked .ic-cmt-send-icon--send {
  display: none;
}

.ic-cmt-send.is-locked .ic-cmt-send-icon--lock {
  display: inline-block;
  background-color: #bfccd4 !important;
}

.ic-cmt-input.is-spam-locked {
  color: transparent;
  caret-color: transparent;
}

.ic-cmt-input-lock-overlay {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: default;
  border-radius: 14px;
  z-index: 2;
}

.ic-cmt-input-lock-overlay[hidden] {
  display: none !important;
}

.ic-cmt-input-lock-ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 20px;
  color: #9aa8b4;
  direction: rtl;
  text-align: right;
  pointer-events: none;
  z-index: 1;
}

.ic-cmt-input-lock-ph[hidden] {
  display: none !important;
}

.ic-cmt-expert-toggle.is-spam-locked {
  opacity: 0.45;
  pointer-events: none;
}

.ic-cmt-input-wrap.is-spam-shake,
.ic-cmt-send.is-spam-shake {
  animation: ic-cmt-spam-shake 0.25s ease;
}

@keyframes ic-cmt-spam-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-3px); }
  40% { transform: translateX(3px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
}
