.chat-widget {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 350px;
    max-width: 90vw;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transform: scale(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-in-out;
    z-index: 2000;
}
.chat-widget.open { transform: scale(1); }
.chat-widget-header { background-color: var(--primary-color); color: white; padding: 15px; border-radius: 15px 15px 0 0; display: flex; justify-content: space-between; align-items: center; }
.chat-widget-header h3 { margin: 0; font-size: 1.1rem; }
.chat-close-btn { background: none; border: none; color: white; font-size: 1.8rem; cursor: pointer; line-height: 1; padding: 0 5px; }
.chat-widget-body { height: 300px; overflow-y: auto; padding: 15px; display: flex; flex-direction: column; gap: 10px; }
.chat-message { padding: 10px 15px; border-radius: 10px; max-width: 80%; line-height: 1.4; }
.chat-message.bot { background-color: #f1f1f1; align-self: flex-start; }
.chat-message.user { background-color: var(--primary-color); color: white; align-self: flex-end; }
.chat-widget-footer { padding: 10px; border-top: 1px solid #eee; }
.chat-widget-footer form { display: flex; gap: 10px; }
.chat-widget-footer input { flex-grow: 1; border: 1px solid #ddd; border-radius: 20px; padding: 10px 15px; font-size: 0.9rem; }
.chat-widget-footer input:focus { outline: none; border-color: var(--primary-color); }
.chat-widget-footer button { background-color: var(--primary-color); color: white; border: none; border-radius: 50%; width: 40px; height: 40px; font-size: 1rem; cursor: pointer; flex-shrink: 0; }

        .chat-suggestions {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            padding: 8px 12px;
        }

        .suggestion-btn {
            background-color: #0d2c4f;
            color: white;
            border: 1px solid #ddd;
            border-radius: 16px;
            padding: 8px 12px;
            font-size: 0.9rem;
            cursor: pointer;
            transition: background-color 0.2s;
        }

        .suggestion-btn:hover {
            background-color: #0d2c4f;
        }

        @media (max-width: 768px) {
            .chat-widget {
                bottom: 0;
                right: 0;
                left: 0;
                width: 100%;
                max-width: 100%;
                border-radius: 15px 15px 0 0;
            }
            .chat-widget-body {
                height: 50vh; /* Taller on mobile for better usability */
            }
        }