/* Blue support chat for the local auction experience. */
#auction-chat-button { position: fixed; right: 22px; bottom: 22px; z-index: 10000; width: 58px; height: 58px; display: grid; place-items: center; border: 0; border-radius: 50%; background: linear-gradient(135deg,#1264d4,#06489f); color: #fff; box-shadow: 0 8px 24px rgba(7,89,199,.35); cursor: pointer; transition: transform .2s, box-shadow .2s; }
#auction-chat-button:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 11px 28px rgba(7,89,199,.42); }
#auction-chat-button svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#auction-chat-button .auction-chat-badge { position: absolute; top: -3px; right: -2px; width: 19px; height: 19px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 50%; background: #f4bf2a; color: #172b49; font-size: 11px; font-weight: 900; }
#auction-chat-window { position: fixed; right: 22px; bottom: 92px; z-index: 9999; width: 350px; max-height: min(560px, calc(100vh - 116px)); display: flex; flex-direction: column; overflow: hidden; isolation: isolate; border: 1px solid #d9e5f5; border-radius: 17px; background: #fff; box-shadow: 0 16px 50px rgba(14,44,83,.22); opacity: 0; transform: translateY(14px) scale(.97); pointer-events: none; transition: opacity .2s, transform .2s; }
#auction-chat-window.open { opacity: 1; transform: none; pointer-events: auto; }
#auction-chat-header { display: flex; align-items: center; gap: 11px; padding: 15px 16px; background: linear-gradient(135deg,#1264d4,#06489f); color: #fff; }
#auction-chat-header .auction-chat-avatar { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: #ffffff22; }
#auction-chat-header .auction-chat-avatar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#auction-chat-header-info { flex: 1; min-width: 0; }
#auction-chat-header-info strong { display: block; font-size: 14px; font-weight: 900; }
#auction-chat-header-info span { display: block; margin-top: 2px; color: #dbeaff; font-size: 11px; }
#auction-chat-close { padding: 4px; border: 0; background: transparent; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
#auction-chat-messages { flex: 1; min-height: 130px; overflow-y: auto; display: flex; flex-direction: column; gap: 9px; padding: 15px 14px 9px; background: #fff; scroll-behavior: smooth; }
.auction-chat-msg { max-width: 87%; padding: 10px 12px; border-radius: 12px; font-size: 13px; line-height: 1.5; }
.auction-chat-msg.bot { align-self: flex-start; border-bottom-left-radius: 3px; background: #f1f6fd; color: #1c3555; }
.auction-chat-msg.user { align-self: flex-end; border-bottom-right-radius: 3px; background: #0759c7; color: #fff; }
#auction-chat-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 9px 12px; border-top: 1px solid #e8eef6; background: #fff; }
.auction-chat-quick-btn { padding: 7px 10px; border: 1px solid #a8c4e9; border-radius: 20px; background: #fff; color: #0759c7; font-size: 11px; font-weight: 800; cursor: pointer; }
.auction-chat-quick-btn:hover { border-color: #0759c7; background: #edf5ff; }
#auction-chat-input-row { display: flex; gap: 8px; padding: 10px 12px 12px; border-top: 1px solid #e8eef6; background: #fff; }
#auction-chat-input { flex: 1; min-width: 0; min-height: 40px; padding: 9px 12px; border: 1px solid #cbd8e7; border-radius: 21px; color: #172b49; font-size: 13px; outline: none; }
#auction-chat-input:focus { border-color: #0759c7; box-shadow: 0 0 0 3px rgba(7,89,199,.1); }
#auction-chat-send { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 40px; border: 0; border-radius: 50%; background: #0759c7; color: #fff; cursor: pointer; }
#auction-chat-send svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 600px) { #auction-chat-button { right: 15px; bottom: 15px; width: 54px; height: 54px; } #auction-chat-window { left: 10px; right: 10px; bottom: 80px; width: auto; max-height: min(590px, calc(100vh - 100px)); } }
