/* B17: the comment form. wpDiscuz's style.css styles it (plain-textarea mode .wpd-txt = what live gives phones). */
/* Live has the subscription toggle on the left of the form head; without it "Login" stays on the right. */
#wpdcom .wpd-form-head .wpd-auth { margin-left: auto; }
#wpdcom .wpd-form .wpdiscuz-textarea-wrap.wpd-txt .wpd-editor-buttons-right:empty { display: none; }
#wpdcom .wpd-form .wpdiscuz-textarea-wrap.wpd-txt textarea.wc_comment { resize: vertical; box-shadow: none; margin: 0; }
/* Wider screens: the box of live's desktop editor (Quill: 65 px of text + the 34 px toolbar, border #ddd, 15px Arial). */
@media (min-width: 768px) {
  #wpdcom .wpd-form .wpdiscuz-textarea-wrap.wpd-txt { flex-wrap: nowrap; }
  #wpdcom .wpd-form .wpdiscuz-textarea-wrap.wpd-txt .wpd-avatar { flex-basis: auto; margin-right: 18px; }
  #wpdcom .wpd-form .wpdiscuz-textarea-wrap.wpd-txt .wpd-textarea-wrap { flex-basis: auto; flex-grow: 1; min-width: 0; }
  #wpdcom .wpd-form .wpdiscuz-textarea-wrap.wpd-txt textarea.wc_comment {
    display: block; height: 100px; min-height: 100px; padding: 12px 15px; border: 1px solid #dddddd; border-radius: 3px;
    background: #fff; font: normal 15px/1.42 Arial, sans-serif; letter-spacing: .5px; color: #666666;
  }
  #wpdcom .wpd-form .wpdiscuz-textarea-wrap.wpd-txt textarea.wc_comment::placeholder {
    font-size: 16px; font-style: italic; letter-spacing: 1px; color: #aaaaaa; opacity: 1;
  }
}
/* Messages after a submit (#wpdiscuz-comment-message, fixed at the bottom by wpDiscuz's CSS). */
#wpdiscuz-comment-message > div { color: #fff; padding: 10px 14px; margin-top: 4px; border-radius: 3px; font-size: 14px; line-height: 1.4; }
/* The sender's own comment while it waits for moderation. */
#wpdcom .wpd-unapproved-comment .wpd-comment-text { opacity: .8; }
/* B34: the floating "Comentează" button on articles (js/comment-form.js floatButton). Bottom left, WhatsApp is bottom right;
   under the cookie box while it is open, like WhatsApp. */
.blog-comment-float { position: fixed; left: 15px; bottom: 15px; z-index: 9999999; display: flex; align-items: center; gap: 8px;
  height: 50px; padding: 0 18px 0 15px; border: 0; border-radius: 999px; background: #1b6a04; color: #fff; cursor: pointer;
  font: 700 15px/1 Arial, sans-serif; letter-spacing: 0; text-transform: none; box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .2s, transform .2s; margin: 0; min-height: 0; }
.blog-comment-float.is-on { opacity: 1; transform: none; pointer-events: auto; }
.blog-comment-float:hover { background: #155203; color: #fff; }
.blog-comment-float b { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 999px; background: #fff; color: #1b6a04; font-size: 12px; }
body:has(#blog-consent:not([hidden])) .blog-comment-float { z-index: 99997; }
@media print { .blog-comment-float { display: none; } }
