.chat-window{width:min(94vw,600px);border:1px solid #e0e5ec;border-radius:20px;padding:0;color:#101820;background:white;box-shadow:0 20px 80px #0003}.chat-window::backdrop{background:#0a142a88;backdrop-filter:blur(4px)}.chat-head{padding:17px 20px;border-bottom:1px solid #e6e9ed;display:flex;justify-content:space-between;align-items:center}.chat-head b{font-size:19px}.chat-head small{display:block;color:#738092;margin-top:4px}.chat-head button{font-size:26px;border:0;background:none;padding:4px 12px}.chat-messages{height:min(52svh,450px);overflow:auto;padding:18px;display:flex;flex-direction:column;gap:12px;background:#f6f7fa}.chat-message{max-width:88%;padding:12px 15px;background:white;border:1px solid #e2e7ee;border-radius:16px 16px 16px 3px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.45}.chat-message.mine{align-self:flex-end;background:#f5001c;color:white;border:0;border-radius:16px 16px 3px 16px}.chat-message small{display:block;font-size:10px;opacity:.7;margin-top:6px}.chat-compose{padding:14px;display:flex;gap:8px}.chat-compose textarea{min-width:0;flex:1;border:1px solid #dce2e9;border-radius:12px;padding:12px;font:inherit;resize:vertical;max-height:140px}.chat-compose button{border:0;border-radius:12px;padding:12px;background:#f5001c;color:white;font-weight:700}.chat-error{margin:0;padding:0 16px 12px;color:#b50019}.chat-error:empty{display:none}.chat-list-card{display:block;width:100%;text-align:left;padding:18px;margin:12px 0;border:1px solid #e0e5eb;border-radius:15px;background:white;color:#111820;font:inherit}.chat-list-card b{display:block;font-size:17px}.chat-list-card p{color:#697789;line-height:1.4}.chat-list-card small{color:#f5001c}.buyer-nav .chat-badge{position:absolute;top:0;right:20%;background:#f5001c;color:white;border-radius:12px;padding:2px 5px;font-size:9px}.buyer-nav a{position:relative}.chat-empty{padding:26px 10px;color:#697789;line-height:1.5}.chat-empty a{display:block;margin-top:20px;color:#f5001c;font-weight:700}

.first-chat-vehicle{display:flex;align-items:center;gap:12px;padding:15px;background:#f5f7fa}.first-chat-vehicle img{width:85px;height:58px;object-fit:cover;border-radius:9px}.first-chat-vehicle small{display:block;font-size:10px;color:#7a8798;margin-top:5px}.first-chat-form{padding:18px;max-height:66svh;overflow:auto}.first-chat-form label{display:block;margin:12px 0;font-size:12px}.first-chat-form input,.first-chat-form textarea{display:block;width:100%;font:inherit;box-sizing:border-box;margin-top:7px;border:1px solid #dce3ed;border-radius:10px;padding:12px;background:white;color:#142033}.first-chat-form button{background:#f5001c;color:white;border:0;border-radius:11px;width:100%;padding:13px;font-size:14px;font-weight:700}.first-chat-profile>p{font-size:11px;color:#748095}.first-chat-form .chat-error{padding:9px 0 0}html[data-theme=dark] :is(.first-chat-vehicle,.first-chat-form){background:#19232f;color:white}html[data-theme=dark] .first-chat-form :is(input,textarea){background:#101924;color:white;border-color:#37475b}
