.tt-chat-wrapper { position: fixed; bottom: 20px; right: 20px; z-index: 9999; font-family: Arial, sans-serif; }
.tt-chat-btn { width: 60px; height: 60px; border-radius: 50%; background: #BD2031; color: #fff; border: none; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.2); display: flex; align-items: center; justify-content: center; font-size: 24px; transition: transform 0.2s; }
.tt-chat-btn:hover { transform: scale(1.05); }
.tt-chat-box { display: none; max-width: 450px; min-width: 30vw; height: 450px; background: #fff; border-radius: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.3); flex-direction: column; overflow: hidden; position: absolute; bottom: 75px; right: 0; }
.tt-chat-box.active { display: flex; }
.tt-chat-header { background: #BD2031; color: #fff; padding: 15px; font-weight: bold; display: flex; justify-content: space-between; align-items: center; }
.tt-header-actions { display: flex; gap: 15px; align-items: center; }
.tt-chat-clear { cursor: pointer; font-size: 16px; opacity: 0.8; transition: opacity 0.2s; }
.tt-chat-clear:hover { opacity: 1; }
.tt-chat-close { cursor: pointer; font-size: 22px; line-height: 1; }
.tt-chat-messages { flex: 1; padding: 15px; overflow-y: auto; background: #f9f9f9; display: flex; flex-direction: column; gap: 10px; }
.tt-msg { max-width: 80%; padding: 10px 14px; border-radius: 8px; font-size: 14px; line-height: 1.4; word-break: break-word; }
.tt-msg.user { background: #BD2031; color: #fff; align-self: flex-end; }
.tt-msg.bot { background: #e9ecef; color: #333; align-self: flex-start; }
.tt-chat-footer { padding: 10px; display: flex; border-top: 1px solid #eee; background: #fff; }
.tt-chat-input { flex: 1; border: 1px solid #ddd; padding: 8px; border-radius: 4px; outline: none; }
.tt-chat-send { background: #BD2031; color: #fff; border: none; padding: 0 15px; margin-left: 5px; border-radius: 4px; cursor: pointer; }

@media (max-width: 480px) {
    .tt-chat-box { width: calc(100vw - 40px); height: calc(100vh - 200px); bottom: 75px; }
}