/* ============================================================
   coach.css
   Part of KineticAI Frontend — split from v6_updated.html
   ============================================================ */

/* ---- AI COACH CHAT ---- */
.coach-layout{display:flex;flex-direction:column;height:calc(100vh - 116px);}
.chat-header{padding-bottom:16px;border-bottom:1px solid var(--border);margin-bottom:0;}
.chat-msgs{flex:1;overflow-y:auto;padding:20px 0;display:flex;flex-direction:column;gap:14px;}
.msg-row{display:flex;align-items:flex-end;gap:10px;}
.msg-row.me{flex-direction:row-reverse;}
.msg-av{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:13px;flex-shrink:0;background:var(--bg1);border:1px solid var(--border2);}
.msg-bubble{max-width:72%;padding:11px 15px;border-radius:var(--r-lg);font-size:14px;line-height:1.7;}
.bot-bub{background:var(--bg0);border:1px solid var(--border2);border-bottom-left-radius:4px;}
.me-bub{background:var(--neon);color:#fff;border-bottom-right-radius:4px;}
.msg-src{font-size:11px;color:var(--text3);margin-top:8px;padding-top:8px;border-top:1px solid var(--border);}
.typing-wrap{display:flex;gap:5px;align-items:center;padding:4px 0;}
.ty-dot{width:6px;height:6px;border-radius:50%;background:var(--text3);animation:typing 1.2s infinite;}
.ty-dot:nth-child(2){animation-delay:.2s;}
.ty-dot:nth-child(3){animation-delay:.4s;}
@keyframes typing{0%,80%,100%{transform:scale(1);opacity:.4;}40%{transform:scale(1.15);opacity:1;}}
.chat-input-row{display:flex;gap:10px;padding-top:14px;border-top:1px solid var(--border);}
.chat-input{flex:1;padding:10px 14px;background:var(--bg2);border:1px solid var(--border2);border-radius:var(--r);color:var(--text);font-family:var(--font);font-size:14px;outline:none;transition:border-color .15s;}
.chat-input:focus{border-color:var(--neon);}
.chat-input::placeholder{color:var(--text3);}
.chat-send{width:40px;height:40px;background:var(--neon);border:none;border-radius:var(--r);cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:15px;color:#fff;transition:all .18s;flex-shrink:0;}
.chat-send:hover{background:var(--neon2);}
.quick-prompts{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:14px;}
.quick-btn{padding:6px 13px;background:var(--bg1);border:1px solid var(--border2);border-radius:100px;font-size:12px;font-weight:500;color:var(--text2);cursor:pointer;font-family:var(--font);transition:all .13s;}
.quick-btn:hover{border-color:var(--neon-border);color:var(--neon);}

