/* v2f-fixes.css — 31 Oct 2026 dashboard review fixes (duration picker, write-it-for-me, clear chat) */

/* ---------- duration chips (new booking + change time) ---------- */
.v2f-dur-fld{margin-bottom:10px}
.v2f-dur-chips{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.v2f-dur-chip{height:32px;padding:0 12px;border-radius:999px;font-size:13px}
.v2f-dur-custom{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--ink3)}
.v2f-dur-input{width:64px;border:1px solid var(--line);background:var(--card);border-radius:8px;padding:5px 8px;font:inherit;font-size:13px;color:var(--ink)}

/* ---------- clear chat button, in the dock header and the home answer card ---------- */
.v2f-clearchat{height:30px;padding:0 11px;border-radius:9px;background:transparent;border:1px solid var(--line);color:var(--ink3);font-size:12.5px;font-weight:600;white-space:nowrap}
.v2f-clearchat:hover{background:var(--soft);color:var(--ink)}
.dock .dh .v2f-clearchat{margin-left:auto}
.ans .who .v2f-clearchat{margin-left:auto}

/* ---------- "Write it for me" trigger buttons ---------- */
.v2f-writeit-btn{display:inline-flex;align-items:center;gap:5px}

/* ---------- Write it for me popover ---------- */
.v2f-wi-pop{position:fixed;z-index:200;width:320px;max-width:calc(100vw - 16px);background:var(--card);border-radius:16px;box-shadow:0 24px 50px -20px rgba(12,37,41,.5);border:1px solid var(--line);padding:14px 16px 16px;font-size:13.5px}
.v2f-wi-hd{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.v2f-wi-hd b{font-size:14.5px}
.v2f-wi-x{width:28px;height:28px;border-radius:9px;color:var(--ink3);font-size:18px;line-height:1}
.v2f-wi-x:hover{background:var(--soft)}
.v2f-wi-row{display:flex;flex-direction:column;gap:6px;margin-bottom:10px}
.v2f-wi-row>span{font-size:12px;color:var(--ink3);font-weight:600}
.v2f-wi-seg{display:flex;flex-wrap:wrap;gap:6px}
.v2f-wi-seg button{height:30px;padding:0 11px;border-radius:999px;border:1px solid var(--line);background:var(--page);font-size:12.5px;color:var(--ink2)}
.v2f-wi-seg button.on{background:var(--petrol);color:#fff;border-color:transparent}
.v2f-wi-lang,.v2f-wi-otherlang{width:100%;border:1px solid var(--line);background:var(--page);border-radius:9px;padding:7px 10px;font:inherit;font-size:13px;color:var(--ink)}
.v2f-wi-details{width:100%;min-height:58px;border:1px solid var(--line);background:var(--page);border-radius:10px;padding:8px 10px;font:inherit;font-size:13px;color:var(--ink);resize:vertical;margin-bottom:12px}
.v2f-wi-acts{display:flex;gap:8px;flex-wrap:wrap}
.v2f-wi-acts .btn{height:34px;padding:0 13px;font-size:13px}
.v2f-wi-result{background:var(--soft);border-radius:12px;padding:11px 13px;margin-bottom:12px;line-height:1.5;max-height:220px;overflow:auto;white-space:pre-wrap}

/* ---------- reply style / post style settings (Reviews, Marketing) ---------- */
.rv-stylecard,.mk-stylecard{margin-bottom:18px}
.v2f-style-seg{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
.v2f-style-seg button{height:34px;padding:0 14px;border-radius:999px;border:1px solid var(--line);background:var(--page);font-size:13px;font-weight:600;color:var(--ink2)}
.v2f-style-seg button.on{background:var(--petrol);color:#fff;border-color:transparent}
.v2f-style-ex{margin:10px 0 0;font-size:13.5px;color:var(--ink3);font-style:italic}
.v2f-style-saved{display:inline-flex;align-items:center;gap:5px;margin-top:8px;font-size:12.5px;font-weight:700;color:#3f6b5f}

/* ---------- home chat (#ans): fits the viewport, no page scroll to see the latest message ---------- */
#ans.on{display:flex;flex-direction:column}
#ans .who{flex:none}

/* corner chat header: Clear chat as a small bin icon so it never overlaps the other buttons */
.dock .dh #dockWho{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dock .dh .v2f-clearchat{margin-left:0;flex:none;width:30px;padding:0;font-size:0;color:transparent;
  background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23878e89' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h12M8 6V4.5h4V6M6 6l.7 9.5h6.6L14 6M8.5 9v4M11.5 9v4'/%3E%3C/svg%3E") center/16px no-repeat}
.dock .dh .v2f-clearchat:hover{background-color:var(--soft)}
