/**
 * A1 Tools — Smiley Reviews (frontend).
 *
 * Structural + default styling. Colors/typography/sizes are overridable via the
 * widget's Elementor Style controls. Every interactive element is scoped under
 * `.a1tools-smiley` with a full button/link reset so the active theme's
 * Elementor global-kit `button`/`a` styling can't bleed in (the same class of
 * bug that once hit the Review Funnel stars and the Video Carousel dots).
 * Completely independent of the Review Funnel's `.a1tools-review` namespace.
 *
 * @since 3.2.3
 */
.a1tools-smiley{box-sizing:border-box;width:100%;text-align:center;font-family:inherit}
.a1tools-smiley *,
.a1tools-smiley *::before,
.a1tools-smiley *::after{box-sizing:border-box}
.a1tools-smiley__title{margin:0 0 6px;font-size:1.35em;line-height:1.3}
.a1tools-smiley__text{margin:0 0 16px;font-size:1em;line-height:1.5}

/* ── Faces ─────────────────────────────────────────────── */
.a1tools-smiley__faces{display:flex;justify-content:center;align-items:stretch;gap:32px;flex-wrap:wrap}
.a1tools-smiley .a1tools-smiley__face{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:0;margin:0;padding:0;font:inherit;letter-spacing:normal;text-transform:none;text-decoration:none;-webkit-appearance:none;appearance:none;border:none;border-radius:0;background:transparent;color:inherit;cursor:pointer;box-shadow:none;transition:transform .2s ease}
/* Hard-lock every state on the button/anchor itself — the theme kit's
   a:hover / button:hover styling must never paint the outer box (the circle
   lives on the square __disc below, so it stays perfectly round). */
.a1tools-smiley .a1tools-smiley__face:hover,
.a1tools-smiley .a1tools-smiley__face:focus,
.a1tools-smiley .a1tools-smiley__face:active{background:transparent;border:none;box-shadow:none;text-decoration:none}
.a1tools-smiley .a1tools-smiley__face:hover{transform:scale(1.12)}
/* The circular hit disc: square by construction (square glyph + uniform
   padding), so border-radius:50% is always a true circle on both faces
   regardless of label length. */
.a1tools-smiley .a1tools-smiley__disc{display:inline-flex;align-items:center;justify-content:center;padding:18px;border-radius:50%;background:transparent;transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease}
.a1tools-smiley .a1tools-smiley__face:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.a1tools-smiley .a1tools-smiley__face:disabled{opacity:.5;cursor:default;transform:none}
.a1tools-smiley__emoji{font-size:56px;line-height:1;display:block}
.a1tools-smiley__svg{display:block;width:56px;height:56px;filter:drop-shadow(0 3px 3px rgba(0,0,0,.15))}
.a1tools-smiley__face--happy .a1tools-smiley__svg{color:#22B24C}
.a1tools-smiley__face--sad .a1tools-smiley__svg{color:#E23D4B}
.a1tools-smiley__face-label{font-size:.95em;line-height:1.2}
.a1tools-smiley__positive-cta{margin-top:18px;text-align:center}

/* ── Panels / form ─────────────────────────────────────── */
.a1tools-smiley__panel{max-width:480px;margin:0 auto;text-align:left}
.a1tools-smiley__panel .a1tools-smiley__title,
.a1tools-smiley__panel .a1tools-smiley__text{text-align:center}
.a1tools-smiley__form{display:flex;flex-direction:column;gap:14px;margin-top:8px}
.a1tools-smiley__field{display:flex;flex-direction:column;gap:5px}
.a1tools-smiley__label{font-size:.9em;font-weight:600;line-height:1.2}
.a1tools-smiley .a1tools-smiley__input,
.a1tools-smiley .a1tools-smiley__textarea{width:100%;margin:0;padding:10px 12px;font:inherit;font-size:1em;line-height:1.4;color:inherit;background:#fff;border:1px solid #d6d6d6;border-radius:6px;-webkit-appearance:none;appearance:none;box-shadow:none}
.a1tools-smiley .a1tools-smiley__input:focus,
.a1tools-smiley .a1tools-smiley__textarea:focus{outline:none;border-color:#F49321;box-shadow:0 0 0 2px rgba(244,147,33,.2)}
.a1tools-smiley__textarea{resize:vertical}

/* Honeypot: visually removed but focusable-by-bots. */
.a1tools-smiley__honeypot{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}

/* ── Buttons (submit + review link) ────────────────────── */
.a1tools-smiley .a1tools-smiley__btn{display:inline-flex;align-items:center;justify-content:center;min-width:0;min-height:0;margin:0;padding:12px 22px;font:inherit;font-weight:600;letter-spacing:normal;text-transform:none;text-decoration:none;-webkit-appearance:none;appearance:none;border:none;border-radius:6px;background:#F49321;color:#fff;cursor:pointer;box-shadow:none;transition:background-color .2s ease,color .2s ease}
.a1tools-smiley .a1tools-smiley__btn:hover{background:#F67000;color:#fff;text-decoration:none}
.a1tools-smiley .a1tools-smiley__btn:disabled{opacity:.6;cursor:default}
.a1tools-smiley__form .a1tools-smiley__btn{align-self:center;margin-top:4px}

/* ── Google step + status messages ─────────────────────── */
.a1tools-smiley__google-step{margin-top:18px;text-align:center}
.a1tools-smiley__feedback{margin-top:14px;font-size:.95em;line-height:1.4;text-align:center}
.a1tools-smiley__feedback--success{color:#1e7e34}
.a1tools-smiley__feedback--error{color:#c0392b}
