.wngce-comments { margin: 36px 0 28px; }
.wngce-comments-heading { margin-bottom: 16px; }
.wngce-comments-heading h2 { font-family: Poppins, Inter, sans-serif; font-size: 1.35rem; margin: 4px 0 0; }
.wngce-trigger-wrap { margin: 20px 0 8px; }
.wngce-open-modal { font-size: 15px; }

.wngce-comment-list { list-style: none; margin: 0; padding: 0; }
.wngce-comment-list .comment { margin: 0 0 18px; padding: 16px 0; border-bottom: 1px solid var(--wngce-line, #e2e9e4); }
.wngce-comment-list .comment-body { display: flex; gap: 12px; }
.wngce-comment-list .comment-author { font-weight: 700; }
.wngce-comment-list .comment-meta { font-size: 13px; color: var(--wngce-muted, #66736b); }
.wngce-comment-content { font-size: 15.5px; line-height: 1.65; margin-top: 4px; }

/* Modal */
.wngce-modal {
  position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center;
}
.wngce-modal[hidden] { display: none; }
.wngce-modal-overlay { position: absolute; inset: 0; background: rgba(12, 33, 23, 0.55); }
.wngce-modal-panel {
  position: relative; background: #fff; width: min(520px, calc(100% - 32px));
  max-height: min(90vh, 680px); overflow: auto; border-radius: 18px;
  padding: 28px 24px 24px; box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}
.wngce-modal-close {
  position: absolute; top: 12px; right: 12px; width: 36px; height: 36px;
  border-radius: 50%; font-size: 22px; line-height: 1; color: var(--wngce-muted, #66736b);
}
.wngce-modal-close:hover { background: var(--wngce-soft, #f5f8f5); }
.wngce-modal-panel h3 { margin: 0 0 16px; font-family: Poppins, sans-serif; font-size: 1.25rem; }

.wngce-field { margin: 0 0 14px; }
.wngce-field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.wngce-field input, .wngce-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--wngce-line, #e2e9e4);
  border-radius: 10px; font-size: 15.5px; background: #fff;
}
.wngce-field textarea { resize: vertical; min-height: 120px; }
.wngce-submit {
  background: var(--wngce-green, #08783a); color: #fff; border: 0; padding: 12px 22px;
  border-radius: 999px; font-weight: 700; font-size: 15px; cursor: pointer; margin-top: 6px;
}
.wngce-submit:hover { background: #075c2e; }

#wngce-google-area { margin-bottom: 16px; text-align: center; }
.wngce-google-btn, .g_id_signin { display: inline-block; }

.wngce-form-source { display: none; }

/* Extra polish for comment list and modal */
.wngce-comment-list .comment {
  background: #fff;
  border: 1px solid var(--wngce-line, #e2e9e4);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 12px;
}
.wngce-comment-list .comment-author .fn {
  font-weight: 700;
  color: var(--wngce-dark, #17221b);
}
.wngce-modal-panel {
  animation: wngce-rise 0.25s ease-out;
}
@keyframes wngce-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.wngce-open-modal {
  background: var(--wngce-green, #08783a);
  color: #fff;
  border: 0;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15.5px;
  cursor: pointer;
}
.wngce-open-modal:hover {
  background: #075c2e;
}
