/* "Help us improve" feedback: /feedback/index.php and the box js/feedback.js opens (components/Feedback.php).
   Same look as the remove-ads box (css/upgrade.css) but self-contained, so either can change or roll back alone. */
.rwgf-card{max-width:460px;margin:28px auto 40px;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:24px;box-shadow:0 10px 30px rgba(0,0,0,.08);color:#1f2937;text-align:left;font-size:15px;line-height:1.5}
.rwgf-card h1,.rwgf-card h2{font-size:22px;line-height:1.3;font-weight:700;margin:0 34px 6px 0;color:#111827}
.rwgf-lead{color:#4b5563;margin:0 0 14px;font-size:14px}
.rwgf-feature{background:#f0fdfa;border:1px solid #99f6e4;border-radius:10px;padding:12px 12px 14px;margin:0 0 4px}
.rwgf-feature .rwgf-label{margin-top:0;font-size:16px;font-weight:700}
.rwgf-label{display:block;font-weight:600;margin:12px 0 6px;color:#111827;font-size:15px}
.rwgf-opt{font-weight:400;color:#6b7280}
.rwgf-input{display:block;width:100%;height:44px;border:1px solid #cbd5e1;border-radius:8px;padding:0 12px;font-size:16px;color:#111827;background:#fff;box-sizing:border-box;font-family:inherit}
.rwgf-input:focus{outline:none;border-color:#1abc9c;box-shadow:0 0 0 3px rgba(26,188,156,.25)}
.rwgf-input::placeholder{color:#9ca3af}
textarea.rwgf-input,.rwgf-text{height:auto;min-height:62px;padding:9px 12px;line-height:1.4;resize:vertical}
.rwgf-btn{display:block;width:100%;min-height:48px;margin:16px 0 0;border:0;border-radius:8px;background:#1abc9c;color:#fff;font-size:17px;font-weight:700;cursor:pointer;padding:10px 14px;text-align:center;text-decoration:none;box-sizing:border-box}
.rwgf-btn:hover,.rwgf-btn:focus{background:#16a085;color:#fff;text-decoration:none}
.rwgf-btn[disabled]{opacity:.7;cursor:wait}
.rwgf-error{color:#b91c1c;margin:10px 0 0;font-size:14px}
.rwgf-msg{background:#ecfdf5;border:1px solid #a7f3d0;color:#065f46;border-radius:8px;padding:12px;margin:0 0 6px}
.rwgf-fine{font-size:12.5px;color:#6b7280;margin:14px 0 0}
.rwgf-fine a{color:#16a085;font-weight:600}
.rwgf-hp{position:absolute!important;left:-10000px!important;top:auto;width:1px;height:1px;overflow:hidden}
.rwgf-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2147483600;background:rgba(17,24,39,.6);display:flex;align-items:center;justify-content:center;padding:16px;box-sizing:border-box}
.rwgf-overlay .rwgf-card{position:relative;margin:0;width:100%;max-height:94vh;overflow-y:auto;box-shadow:0 20px 50px rgba(0,0,0,.35)}
.rwgf-x{position:absolute;right:10px;top:8px;width:36px;height:36px;border:0;background:none;font-size:26px;line-height:36px;color:#6b7280;cursor:pointer;border-radius:50%}
.rwgf-x:hover,.rwgf-x:focus{background:#f3f4f6;color:#111827}
@media (max-width:480px){
  .rwgf-overlay{align-items:flex-end;padding:0}
  .rwgf-overlay .rwgf-card{border-radius:14px 14px 0 0;padding:20px 18px 24px}
  .rwgf-label{margin-top:10px}
}
@media (max-height:700px) and (min-width:481px){
  .rwgf-card textarea.rwgf-input{min-height:48px}
}
