.elementor-938 .elementor-element.elementor-element-0976a4c{--display:flex;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;--z-index:9999999;}.elementor-938 .elementor-element.elementor-element-b935025 > .elementor-widget-container{padding:0px 0px 0px 0px;}@media(max-width:767px){.elementor-938 .elementor-element.elementor-element-0976a4c{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}}/* Start custom CSS for html, class: .elementor-element-b935025 */.tdchat-wrapper {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            display: flex;
            flex-direction: column;
            background-color: #ffffff;
        }

        .tdchat-header {
            background-color: #016442;
            color: white;
            padding: 15px;
            font-size: 16px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 10;
            height: 50px;
        }

        .tdheader-buttons {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .tdheader-buttons .btn {
            padding: 4px 12px;
            font-size: 13px;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .tdheader-buttons .btn-outline-light {
            border-color: rgba(255, 255, 255, 0.5);
            color: white;
        }

        .tdheader-buttons .btn-outline-light:hover {
            background-color: rgba(255, 255, 255, 0.1);
            border-color: white;
        }

        .tdchat-history {
            position: fixed;
            top: 50px;
            bottom: 55px;
            left: 0;
            right: 0;
            overflow-y: auto;
            padding: 15px;
            background-color: #f7f9fc;
            color: #000;
            -webkit-overflow-scrolling: touch;
            overscroll-behavior: contain;
            scroll-behavior: smooth;
        }

        .tdchat-message {
            display: flex;
            align-items: flex-start;
            margin-bottom: 15px;
            will-change: transform;
        }

        .tdchat-message.user {
            justify-content: flex-end;
        }

        .tdchat-message.ai {
            justify-content: flex-start;
        }

        .tdchat-message .tdavatar {
            width: 35px;
            height: 35px;
            border-radius: 50%;
            background-size: cover;
            background-position: center;
            flex-shrink: 0;
        }

        .tdchat-message.ai .tdavatar {
            background-image: url('/wp-content/uploads/2025/03/avt.webp');
        }

        .tdchat-message.user .tdavatar {
            background-image: url('/wp-content/uploads/2025/03/user-2.webp');
        }

        .tdmessage {
            max-width: 85%;
            padding: 12px 15px;
            border-radius: 15px;
            background-color: #E1F4F0;
            color: #333;
            word-wrap: break-word;
            font-size: 14px;
            line-height: 1.4;
            will-change: transform;
        }

        .tdchat-message.user .tdmessage {
            background-color: #E1F4F0;
        }

        .tdinput-container {
            display: flex;
            align-items: center;
            padding: 10px;
            background-color: #f8f9fa;
            border-top: 1px solid #ddd;
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            z-index: 10;
            backdrop-filter: blur(5px);
            -webkit-backdrop-filter: blur(5px);
            height: 55px;
        }

        .tdinput-container textarea {
            flex: 1;
            height: 40px;
            width: 100%;
            resize: none;
            padding: 8px 12px;
            border-radius: 20px;
            border: 1px solid #016442;
            font-size: 14px;
            outline: none;
            margin-right: 10px;
            -webkit-appearance: none;
            appearance: none;
        }

        .tdinput-container textarea:focus {
            border-color: #016442;
        }

        .tdinput-container button {
            border-radius: 20px;
            border: none;
            background-color: #016442;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            cursor: pointer;
            height: 40px;
            width: 60px;
            padding: 0;
            -webkit-tap-highlight-color: transparent;
        }
        
        .tdinput-container .tdcot1 {
            flex: 1;
        }

        .tdinput-container .tdcot2 {
            width: 60px;
        }
        
        .tdchat-message .tdmessage p {
            margin: 0 0 8px;
            word-wrap: break-word;
            line-height: 1.4;
        }

        .tdchat-message .tdmessage img {
            max-width: 100%;
            height: auto;
            border-radius: 10px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            -webkit-tap-highlight-color: transparent;
        }

        .tdimage-preview {
            margin-top: 5px;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            gap: 10px;
            padding: 0 10px;
            -webkit-tap-highlight-color: transparent;
        }

        .tdremove-btn {
            background-color: #ff4444;
            color: white;
            border: none;
            border-radius: 15px;
            padding: 5px 10px;
            font-size: 12px;
            cursor: pointer;
            -webkit-tap-highlight-color: transparent;
        }/* End custom CSS */