/* Toast popup (visszajelzés köszönő üzenet) */
        .toast-popup {
            position: fixed;
            top: 20px;
            right: 20px;
            background-color: #2e7d32;
            color: white;
            padding: 15px 20px;
            border-radius: 16px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            z-index: 10000;
            opacity: 0;
            transform: translateY(-40px);
            transition: opacity 0.5s ease, transform 0.5s ease;
            pointer-events: none;
            visibility: hidden;
        }

        .toast-popup.show {
            opacity: 1;
            transform: translateY(0);
            visibility: visible;
            pointer-events: auto;
        }

        .toast-popup.hide {
            opacity: 0;
            transform: translateY(-40px);
            pointer-events: none;
        }

        /* Lebegő chat buborék + chat ablak (GYUL-AI saját UI) */
        #gyulai-chat-button {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 64px;
            height: 64px;
            border-radius: 50%;
            background-color: #2e7d32;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 28px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.3);
            cursor: pointer;
            z-index: 9999;
        }

        #gyulai-chat-window {
            position: fixed;
            bottom: 100px;
            right: 20px;
            width: 420px;
            max-height: 620px;
            background: #ffffff;
            border-radius: 16px;
            box-shadow: 0 8px 24px rgba(0,0,0,0.25);
            display: none;
            flex-direction: column;
            overflow: hidden;
            z-index: 9999;
        }

        #gyulai-chat-window.open {
            display: flex;
        }

        .gyulai-chat-header {
            background-color: #2e7d32;
            color: #fff;
            padding: 10px 14px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .gyulai-chat-header-title {
            font-weight: 600;
            font-size: 15px;
        }

        .gyulai-chat-header-subtitle {
            font-size: 11px;
            opacity: 0.9;
        }

        .gyulai-chat-close {
            cursor: pointer;
            font-size: 18px;
        }

        #gyulai-chat-messages {
            padding: 10px;
            flex: 1;
            overflow-y: auto;
            background: #f6f6f6;
        }

        .gyulai-msg {
            max-width: 80%;
            padding: 8px 12px;
            border-radius: 12px;
            margin-bottom: 8px;
            font-size: 13px;
            line-height: 1.4;
        }

        .gyulai-user {
            margin-left: auto;
            background: #DCF8C6;
        }

        .gyulai-bot {
            margin-right: auto;
            background: #ffffff;
            border: 1px solid #e0e0e0;
        }

        .gyulai-typing {
            font-size: 11px;
            color: #666;
            margin-bottom: 8px;
            font-style: italic;
        }

        .gyulai-chat-input-wrapper {
            display: flex;
            padding: 8px;
            border-top: 1px solid #ddd;
            background: #fff;
        }

        #gyulai-chat-input {
            flex: 1;
            border-radius: 999px;
            border: 1px solid #ccc;
            padding: 6px 10px;
            font-size: 13px;
        }

        #gyulai-chat-send {
            border: none;
            background: #2e7d32;
            color: #fff;
            padding: 6px 12px;
            border-radius: 999px;
            margin-left: 6px;
            cursor: pointer;
            font-size: 14px;
        }

        @media (max-width: 576px) {
            #gyulai-chat-window {
                width: calc(100% - 40px);
                right: 20px;
                bottom: 90px;
            }
        }

        #gyulai-chat-messages a {
    color: #2e7d32;
    text-decoration: underline;
    font-weight: 600;
    word-break: break-all;
}
#gyulai-chat-messages a:hover {
    opacity: 0.8;
}

.gyulai-msg {
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
}

