/* ==========================================================
   POYACITY — auth.css (v1)
   استایل دکمه ورود و مودال احراز هویت
   ========================================================== */

.poya-auth-fab {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--primary, #1769aa);
  color: #fff;
  border: none;
  font-size: 22px;
  box-shadow: var(--shadow, 0 10px 30px rgba(0,0,0,.15));
  cursor: pointer;
  z-index: 9998;
  transition: transform .2s ease;
}

.poya-auth-fab:hover { transform: scale(1.08); }

.poya-auth-fab-logged {
  background: var(--green, #00C853);
}

.poya-auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.poya-auth-modal {
  background: #fff;
  border-radius: var(--radius, 18px);
  padding: 28px 24px;
  width: 100%;
  max-width: 380px;
  position: relative;
  direction: rtl;
  font-family: var(--font-family, "Vazirmatn", sans-serif);
  box-shadow: var(--shadow-hover, 0 18px 45px rgba(0,0,0,.2));
}

.poya-auth-close {
  position: absolute;
  top: 10px;
  left: 14px;
  border: none;
  background: none;
  font-size: 24px;
  cursor: pointer;
  color: #888;
}

.poya-auth-modal h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.poya-auth-hint {
  font-size: 13px;
  color: #666;
  margin-bottom: 14px;
}

.poya-auth-modal input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border, #E6EAF0);
  border-radius: 12px;
  margin-bottom: 12px;
  font-family: inherit;
  font-size: 15px;
}

.poya-auth-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 12px;
  background: var(--primary, #1769aa);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  margin-bottom: 8px;
}

.poya-auth-btn:hover { filter: brightness(1.08); }

.poya-auth-btn-secondary {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border, #E6EAF0);
  border-radius: 12px;
  background: #fff;
  color: #555;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.poya-auth-error {
  color: var(--red, #E53935);
  font-size: 13px;
  min-height: 18px;
  margin-top: 4px;
}

/* ==========================================================
   استایل بخش نظرات و امتیازدهی روی گزارش‌ها (comments.js)
   ========================================================== */
.report-comments-btn {
  margin-top: 10px;
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--primary, #1769aa);
  background: #fff;
  color: var(--primary, #1769aa);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
}
.report-comments-btn:hover {
  background: var(--primary, #1769aa);
  color: #fff;
}

.poya-cm-modal { max-width: 460px; max-height: 85vh; overflow-y: auto; }

.poya-cm-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 14px;
  font-size: 14px;
}
.poya-cm-avg { font-size: 20px; font-weight: 800; color: #f9a825; }
.poya-cm-count { color: #777; font-size: 13px; }

.poya-cm-stars { font-size: 28px; letter-spacing: 4px; margin-bottom: 10px; cursor: pointer; color: #ddd; direction: ltr; text-align: center; }
.poya-cm-stars span { transition: .15s; }
.poya-cm-star-active { color: #f9a825 !important; }

.poya-cm-form textarea {
  width: 100%;
  border: 1px solid var(--border, #E6EAF0);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: inherit;
  margin-bottom: 10px;
  resize: vertical;
}

.poya-cm-list { margin-top: 16px; border-top: 1px solid var(--border, #E6EAF0); padding-top: 12px; }
.poya-cm-loading { color: #888; text-align: center; }

.poya-cm-item { padding: 10px 0; border-bottom: 1px solid #f0f0f0; }
.poya-cm-item-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.poya-cm-item-stars { color: #f9a825; font-size: 14px; letter-spacing: 2px; direction: ltr; }
.poya-cm-item-date { color: #999; font-size: 12px; }
.poya-cm-item-body { font-size: 14px; color: #444; line-height: 1.7; }