 /* Kontener główny - pozycjonowany absolutnie w prawym dolnym rogu */
        .chat-widget {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 999999;
        }

        /* Dymek czatu - zwinięty stan */
        .chat-bubble {
		position:relative;
		z-index:999999;
            display: flex;
            align-items: center;
            gap: 12px;
            background: linear-gradient(135deg, #23304e 0%, #23304e 100%);
            color: white;
            padding: 16px 20px;
            border-radius: 50px;
            cursor: pointer;
            box-shadow: 0 4px 20px rgba(35, 48, 78, 0.3);
            transition: all 0.3s ease;
            animation: float 3s ease-in-out infinite;
        }

        .chat-bubble:hover {
            transform: scale(1.05);
            box-shadow: 0 6px 25px rgba(35, 48, 78, 0.4);
        }

        .chat-bubble .bubble-icon {
            width: 24px;
            height: 24px;
            flex-shrink: 0;
        }

        .chat-bubble .bubble-text {
            font-size: 16px;
            font-weight: 600;
            white-space: nowrap;
        }

        .chat-bubble .status-indicator {
            width: 8px;
            height: 8px;
            background: #3db9ff;
            border-radius: 50%;
            animation: pulse 2s infinite;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-5px); }
        }

        @keyframes pulse {
            0% { opacity: 1; }
            50% { opacity: 0.5; }
            100% { opacity: 1; }
        }

        /* Kontener rozwinięty */
        .chat-container {
position:relative;
	z-index:9999991;
            display: none;
            width: 400px;
            height: 600px;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            flex-direction: column;
            overflow: hidden;
            animation: slideUp 0.3s ease-out;
            box-shadow: none; /* Domyślnie bez cienia */
        }

        /* Cień tylko gdy kontener jest widoczny */
        .chat-container.expanded {
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(20px) scale(0.95);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        .chat-header {
            background: linear-gradient(135deg, #23304e 0%, #23304e 100%);
            color: white;
            padding: 10px;
            text-align: center;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .chat-header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="20" fill="url(%23grain)"/></svg>') repeat;
            opacity: 0.3;
        }

        .header-content {
            display: flex;
            align-items: center;
            gap: 8px;
            position: relative;
            z-index: 1;
        }

        .chat-header h1 {
            font-size: 20px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .ai-icon {
            font-size: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .ai-icon img {
            width: 24px;
            height: 24px;
            vertical-align: middle;
        }

        .header-buttons {
            display: flex;
            align-items: center;
            gap: 8px;
            position: relative;
            z-index: 1;
        }

        .download-btn {
            background: none;
            border: 1px solid rgba(255, 255, 255, 0.3);
            color: white;
            font-size: 12px;
            cursor: pointer;
            padding: 6px 12px;
            border-radius: 15px;
            transition: all 0.2s ease;
            font-weight: 500;
        }

        .download-btn:hover {
            background: rgba(255, 255, 255, 0.2);
            border-color: rgba(255, 255, 255, 0.5);
        }

        .download-btn:active {
            transform: scale(0.98);
        }

        .minimize-button {
            background: none;
            border: 1px solid rgba(255, 255, 255, 0.3);
            color: white;
            font-size: 12px;
            cursor: pointer;
            padding: 6px 12px;
            border-radius: 15px;
            transition: all 0.2s ease;
            font-weight: 500;
        }

        .minimize-button:hover {
            background: rgba(255, 255, 255, 0.2);
            border-color: rgba(255, 255, 255, 0.5);
        }

        .close-button {
            background: none;
            border: none;
            color: white;
            font-size: 24px;
            cursor: pointer;
            padding: 5px;
            border-radius: 50%;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s ease;
        }

        .close-button:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        .chat-messages {
            flex: 1;
            padding: 20px;
            overflow-y: auto;
            scrollbar-width: thin;
            scrollbar-color: #ddd transparent;
        }

        .chat-messages::-webkit-scrollbar {
            width: 6px;
        }

        .chat-messages::-webkit-scrollbar-track {
            background: transparent;
        }

        .chat-messages::-webkit-scrollbar-thumb {
            background: #f3fbfe;
            border-radius: 3px;
        }

        .message {
            margin-bottom: 16px;
            animation: slideIn 0.3s ease-out;
            display: flex;
            align-items: flex-start;
            gap: 8px;
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .message-avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            flex-shrink: 0;
            margin-top: 2px;
        }

        .message-content {
            max-width: calc(80% - 40px);
            padding: 12px 16px;
            border-radius: 18px;
            font-size: 14px;
            line-height: 1.4;
            word-wrap: break-word;
            position: relative;
        }

        .user-message {
            flex-direction: row-reverse;
        }

        .user-message .message-content {
            background: linear-gradient(135deg, #23304e 0%, #23304e 100%);
            color: white;
            border-bottom-right-radius: 6px;
        }

        .bot-message .message-content {
            background: #f8f9fa;
            color: #333;
            border: 1px solid #25304f;
            border-bottom-left-radius: 6px;
        }

        .bot-message .bot-name {
            font-size: 12px;
            color: #666;
            margin-bottom: 4px;
            font-weight: 600;
        }

        .chat-input-container {
            padding: 20px;
            background: white;
            border-top: 1px solid #23304e;
        }

        .chat-input-wrapper {
            display: flex;
            gap: 12px;
            align-items: flex-end;
        }

        .chat-input {
            flex: 1;
            border: 2px solid #23304e;
            border-radius: 20px;
            padding: 12px 16px;
            font-size: 14px;
            resize: none;
            max-height: 100px;
            min-height: 44px;
            outline: none;
            transition: border-color 0.3s ease;
        }

        .chat-input:focus {
            border-color: #23304e;
        }

        .send-button {
            width: 44px;
            height: 44px;
            background: linear-gradient(135deg, #25304f 0%, #083777 100%);
            color: white;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            font-size: 16px;
        }

        .send-button:hover:not(:disabled) {
            transform: scale(1.05);
            box-shadow: 0 4px 12px rgba(8, 55, 119, 0.5);
        }

        .send-button:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        .typing-indicator {
            display: none;
            padding: 12px 16px;
            font-size: 14px;
            color: #666;
            font-style: italic;
            margin-left: 40px;
        }

        .typing-dots {
            display: inline-flex;
            gap: 4px;
            margin-left: 8px;
        }

        .typing-dot {
            width: 6px;
            height: 6px;
            background: #666;
            border-radius: 50%;
            animation: wave 1.4s linear infinite;
        }

        .typing-dot:nth-child(1) {
            animation-delay: 0s;
        }

        .typing-dot:nth-child(2) {
            animation-delay: 0.2s;
        }

        .typing-dot:nth-child(3) {
            animation-delay: 0.4s;
        }

        @keyframes wave {
            0%, 60%, 100% {
                transform: translateY(0);
                opacity: 0.4;
            }
            30% {
                transform: translateY(-10px);
                opacity: 1;
            }
        }

        .error-message {
            background: #fee;
            border: 1px solid #fcc;
            color: #c66;
            padding: 12px;
            border-radius: 8px;
            margin: 16px 40px 16px 0;
            font-size: 14px;
            text-align: center;
        }

        .welcome-container {
            padding: 20px;
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .info-bubble {
            background: white;
            border: 2px solid #25304f;
            border-radius: 20px;
            padding: 16px;
            font-size: 14px;
            line-height: 1.4;
            color: #333;
        }

        .quick-actions {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .quick-action-button {
            background: linear-gradient(135deg, #23304e 0%, #23304e 100%);
            color: white;
            border: none;
            border-radius: 20px;
            padding: 12px 16px;
            font-size: 14px;
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.3s ease;
            text-align: left;
        }

        .quick-action-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(3, 132, 204, 0.3);
        }

        .quick-action-button:active {
            transform: translateY(0);
        }

        /* Responsywność */
        @media (max-width: 480px) {
            .chat-widget {
                bottom: 10px;
                right: 10px;
            }

            .chat-container {
                width: calc(100vw - 20px);
                height: calc(100vh - 70px);
                border-radius: 15px;
            }

            .chat-bubble .bubble-text {
                font-size: 14px;
            }

            .chat-header {
                padding: 15px;
            }

            .chat-messages {
                padding: 15px;
            }

            .chat-input-container {
                padding: 15px;
            }

            .message-content {
                max-width: calc(85% - 40px);
            }

            .message-avatar {
                width: 28px;
                height: 28px;
                font-size: 14px;
            }

            .welcome-container {
                padding: 15px;
            }
        }

        html {
            scroll-behavior: smooth;
        }
