/* Uncomment the following lines (and replace the svg image) if you'd like to use a custom logo for the chat toggle: */

/* [data-cognigy-webchat-root] [data-cognigy-webchat-toggle].webchat-toggle-button {
    min-width: 1.5rem;
    min-height: 1.5rem;
    background-color: var(--bosch-white) !important;
    background-size: 75% !important;
    background-repeat: no-repeat !important;
    background-position: 50% !important;
    box-shadow: 0 0 0.5rem 0.1rem #00000040;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMDAgMjAwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO30uYntmaWxsOiMwMDdiYzA7fTwvc3R5bGU+PC9kZWZzPjx0aXRsZT5mcml6el9hdmF0YXJfZmFyYmFucGFzc3VuZzwvdGl0bGU+PHJlY3QgY2xhc3M9ImEiIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIi8+PHBhdGggY2xhc3M9ImIiIGQ9Ik04OS43LDc1LjkxOUE4Ljk4OSw4Ljk4OSwwLDAsMCw3OC45Niw4OS4wNDJhMTcuNzksMTcuNzksMCwwLDEsMTQuNi0xLjE4M2MuNC4xNDQuNzg2LjMxOCwxLjE3Mi40ODdhOC43NTgsOC43NTgsMCwwLDAsLjQyNC0uODlBOS4wMjYsOS4wMjYsMCwwLDAsODkuNyw3NS45MTlaIi8+PHBhdGggY2xhc3M9ImIiIGQ9Ik0xMTMuMDM0LDc1Ljk5MmE4LjY1OCw4LjY1OCwwLDAsMC00LjcxMywxMi41NTNjLjM4Mi0uMTc5Ljc2LS4zNjMsMS4xNTktLjUxN2ExNy43ODUsMTcuNzg1LDAsMCwxLDE0LjYzLjgsOC45ODksOC45ODksMCwwLDAtMTEuMDc2LTEyLjg0MVoiLz48cGF0aCBjbGFzcz0iYiIgZD0iTTU4LjAzNyw2MS4zNjdhMi40MzUsMi40MzUsMCwwLDAsLjQ1MywzLjQxM0w2MS43NzksNjcuM1Y5Ni42NTVsLTMuNDExLDMuMDg4YTIuNDM0LDIuNDM0LDAsMSwwLDMuMjY4LDMuNjA5bDUuMDExLTQuNTM4VjY0Ljg5MmwtNS4yLTMuOTc4QTIuNDM0LDIuNDM0LDAsMCwwLDU4LjAzNyw2MS4zNjdaIi8+PHBhdGggY2xhc3M9ImIiIGQ9Ik01OC4wMzcsMTE4LjgyNmEyLjQzNCwyLjQzNCwwLDAsMCwuNDUzLDMuNDEybDMuMjg5LDIuNTE3VjIwMGg0Ljg2OFYxMjIuMzUxbC01LjItMy45NzhBMi40MzMsMi40MzMsMCwwLDAsNTguMDM3LDExOC44MjZaIi8+PHBhdGggY2xhc3M9ImIiIGQ9Ik0xMzYuNTQ0LDQ4LjcxNEgxMDIuNzMxdi00LjJhNy40NDcsNy40NDcsMCwxLDAtNC44NjgsMHY0LjJINjQuNzE0QTE2LjQ3NSwxNi40NzUsMCwwLDAsNDguMjU3LDY1LjE3VjIwMGg0Ljg2OFYxMTQuN2g5NS4wMDdWMjAwSDE1M1Y2NS4xN0ExNi40NzQsMTYuNDc0LDAsMCwwLDEzNi41NDQsNDguNzE0Wm0xMS41ODgsNjEuMTE2SDUzLjEyNVY2NS4xN0ExMS42LDExLjYsMCwwLDEsNjQuNzE0LDUzLjU4Mmg3MS44M0ExMS42LDExLjYsMCwwLDEsMTQ4LjEzMiw2NS4xN1oiLz48L3N2Zz4=) !important;
}

[data-cognigy-webchat-root] [data-cognigy-webchat-toggle].webchat-toggle-button>svg {
    display: none;
} */


/* The following lines are for styling the chat bubble: start */
[data-cognigy-webchat-root] [data-cognigy-webchat-toggle].webchat-toggle-button {
    min-width: 3.5rem;
    min-height: 3.5rem;
    background-color: var(--bosch-blue-30) !important;
    box-shadow: 0 0 0.5rem 0.1rem #00000040;
    background-image: none;

    &:hover {
        background-color: var(--bosch-blue-40) !important;
        background-image: none;
    }

    &:active {
        background-color: var(--bosch-blue-50) !important;
        background-image: none;
    }

    &:after {
        content: var(--boschicon-bosch-ic-livechat);
        font-size: 1.5rem;
        line-height: 1;
        font-family: Bosch-Icon, sans-serif !important;
        color: var(--bosch-white);
    }
}


[data-cognigy-webchat-root] [data-cognigy-webchat-toggle].webchat-toggle-button>svg {
    display: none;
}

[data-cognigy-webchat-root].webchat-root .webchat-unread-message-badge {
    background-color: var(--bosch-white);
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 1rem;
    height: 1rem;
    font-weight: normal;
    color: var(--bosch-blue-30);
    font-family: Bosch-Icon, sans-serif !important;

}

/* The following lines are for styling the chat bubble: end */


:root {
    --cognigy-text-sm: 1rem;
    --bosch-white: #fff;
    --bosch-gray-95: #eff1f2;
    --bosch-gray-90: #e0e2e5;
    --bosch-gray-80: #c1c7cc;
    --bosch-gray-70: #a4abb3;
    --bosch-gray-65: #979ea4;
    --bosch-gray-50: #71767c;
    --bosch-gray-40: #595e62;
    --bosch-gray-30: #43464a;
    --bosch-gray-20: #2e3033;
    --bosch-blue-90: #D1E4FF;
    --bosch-blue-80: #9dc9ff;
    --bosch-blue-50: #007bc0;
    --bosch-blue-40: #00629a;
    --bosch-blue-30: #004975;
    --bosch-blue-5: #001222;
    --ui-ic-nosafe-lr-externallink: "";
    --ui-ic-close: "";
    --boschicon-bosch-ic-minimize: "";
    --boschicon-bosch-ic-less-minimize: "";
}

[class*=" boschicon-bosch-ic"],
[class^=boschicon-bosch-ic] {
    font-family: Bosch-Icon, sans-serif !important;
}

[class*=" boschicon-bosch-ic"],
[class*=" ui-ic"],
[class^=boschicon-bosch-ic],
[class^=ui-ic] {
    speak: never;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

[class*=" ui-ic"],
[class^=ui-ic] {
    font-family: Bosch-UI-Icon, sans-serif !important;
}

[dir=rtl] [class*=" ui-ic"],
[dir=rtl] [class^=ui-ic] {
    font-family: Bosch-UI-Icon-RTL, sans-serif !important;
    speak: never;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


[data-cognigy-webchat-root] [data-cognigy-webchat].webchat {
    --webchat-primary-color: var(--bosch-blue-50);
    --cc-primary-color-focus: var(--bosch-blue-50) !important;
    --webchat-primary-color-focus: var(--bosch-blue-50);
    --webchat-primary-color-hover: var(--bosch-blue-50);
    --webchat-secondary-color: var(--bosch-blue-50) !important;
    --cc-bot-message-contrast-color: black;
    --cc-bubble-border-radius: 0;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat button:focus-visible {
    outline-color: black !important;
}



[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-modal-divider {
    background-color: gray;
}

[data-cognigy-webchat-root] .webchat-plugin-date-picker .webchat-plugin-date-picker-footer>button {
    justify-content: center;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .regular-message,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-prev-conversations-root .webchat-prev-conversations-content .webchat-prev-conversations-item div,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-input-persistent-menu>h3,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-quick-reply-template-replies-container .webchat-quick-reply-template-button>span,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-privacy-notice-root .webchat-privacy-notice-markdown-container,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-homescreen-root .webchat-homescreen-content .webchat-homescreen-buttons .webchat-homescreen-button-container button>span,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-homescreen-root .webchat-homescreen-content .webchat-homescreen-buttons .webchat-homescreen-button-container a>span,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-list-template-element-button>span,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-list-template-root .webchat-list-template-element-content .webchat-list-template-element-subtitle,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-list-template-root .webchat-list-template-global-button>span,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-list-template-root .webchat-list-template-header-content .webchat-list-template-header-subtitle,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-list-template-root .webchat-list-template-header-button>span,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-buttons-template-button-video>span,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat button[aria-haspopup="dialog"]>span,
[data-cognigy-webchat-root] .webchat-plugin-date-picker .webchat-plugin-date-picker-footer>button span,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-information-message-root .webchat-information-message-content h4 {
    font-family: boschsans, Helvetica Neue, Helvetica, Arial, sans-serif !important;
    -webkit-text-size-adjust: 100%;
    font-size: var(--cognigy-text-sm);
    line-height: 1.5;
    font-weight: normal;
    text-align: left;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-quick-reply-template-replies-container li>button.webchat-quick-reply-template-button,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-message-row.bot .webchat-quick-reply-template-replies-container>button.webchat-quick-reply-template-button,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-message-row.bot .webchat-quick-reply-template-replies-container .webchat-quick-reply-template-button,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-message-row.bot .webchat-buttons-template-root .webchat-buttons-template-button {
    background-color: #e0e2e5;
    border-radius: 1rem;
    color: #000000;
    cursor: pointer;
    display: inline-flex;
    justify-content: space-evenly;
    margin-right: 1rem;
    width: auto;
    border: none;
    padding: 0.25rem 1rem;

    &:hover,
    &:focus {
        background-color: var(--bosch-gray-80);
    }

    &:active {
        background-color: var(--bosch-gray-70);
    }
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat a,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat a.webchat-carousel-template-button,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat a.webchat-privacy-policy-link>p {
    color: var(--bosch-blue-50);

    &:hover {
        color: var(--bosch-blue-40);
    }

    &:active {
        color: var(--bosch-blue-30);
    }
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-message-row.bot .webchat-buttons-template-root .webchat-buttons-template-button>svg>g>path {
    fill: #000000;
}


[data-cognigy-webchat-root] [data-cognigy-webchat] #webchatHeaderTitle,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-list-template-root .webchat-list-template-element-content .webchat-list-template-element-title,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-list-template-root .webchat-list-template-element-content .webchat-list-template-element-subtitle,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-list-template-root .webchat-list-template-header-content .webchat-list-template-header-title,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-delete-conversation-title,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-modal-title,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-delete-conversation-text,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-list-template-header-title {
    font-family: boschsans, Helvetica Neue, Helvetica, Arial, sans-serif;
}

/* Home Screen */
[data-cognigy-webchat-root] [data-cognigy-webchat] .webchat-homescreen-content .webchat-homescreen-buttons {
    padding: 1rem;
}

[data-cognigy-webchat-root] [data-cognigy-webchat] .webchat-homescreen-content {
    padding: 0px;
    background-color: var(--bosch-white);
}

[data-cognigy-webchat-root] [data-cognigy-webchat] .webchat-homescreen-header {
    border-bottom: 0.0625rem solid var(--bosch-gray-80);
    height: 3rem;
}

[data-cognigy-webchat-root] [data-cognigy-webchat] .webchat-homescreen-header .webchat-homescreen-header-logo {
    margin-left: 1rem;

}

[data-cognigy-webchat-root] [data-cognigy-webchat] .webchat-homescreen-title {
    padding: 0.5rem;
}



[data-cognigy-webchat-root] [data-cognigy-webchat] .webchat-homescreen-actions {
    flex-direction: row-reverse;
    padding: 1.5rem 1rem 2rem;
    flex-wrap: wrap;
}

[data-cognigy-webchat-root] [data-cognigy-webchat] .webchat-homescreen-actions>button {
    margin: 0.25rem !important;
}


[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-homescreen-header-logo {
    border-radius: 50%;
    min-width: 30px;
    min-height: 30px;
    border: 1px solid var(--bosch-gray-80);
    padding: 1px;
}


[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-input {
    overflow: hidden;
}

[data-cognigy-webchat-root] [data-cognigy-webchat] .webchat-homescreen-header-cognigy-logo {
    margin-left: 1rem;
}

/* Buttons */
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat button,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat button div {
    font-size: 1rem;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat button:disabled {
    color: var(--bosch-gray-65);
    border-color: var(--bosch-gray-65);
}

[data-cognigy-webchat-root] [data-cognigy-webchat] .webchat-homescreen-actions button,
[data-cognigy-webchat-root] [data-cognigy-webchat] .webchat-prev-conversations-root button,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-privacy-notice-accept-button,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-buttons-template-root .webchat-buttons-template-button,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-message-row.bot button,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-chat-options-action-button,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-rating-widget-send-button,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-homescreen-root .webchat-homescreen-content .webchat-homescreen-buttons button,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-homescreen-root .webchat-homescreen-content .webchat-homescreen-buttons a,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-list-template-root .webchat-list-template-global-button,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-list-template-root .webchat-list-template-header-button,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-buttons-template-button-video,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-list-template-element-button,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-delete-conversation-button,
[data-cognigy-webchat-root] .webchat-teaser-message-button,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-delete-confirmation-cancel-button,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-delete-confirmation-confirm-button,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat [aria-controls^="webchat-plugin-date-picker"],
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-carousel-template-button {
    border-radius: 0px;
    /* margin: auto; */
    padding: .75rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    --font-size: 1rem;
    line-height: 1.5;
    text-transform: none;
    letter-spacing: 0;
    font-family: boschsans, Helvetica Neue, Helvetica, Arial, sans-serif !important;
    transition: none;
    height: auto;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat button:disabled {
    background-color: var(--bosch-gray-90);
}


[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-rating-widget-thumbs-up-button,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-rating-widget-thumbs-down-button {
    margin: initial;
    border-radius: 0;
}


[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-delete-conversation-button {
    margin: 0 0 1rem 0 !important;
}

[data-cognigy-webchat-root] [data-cognigy-webchat] .webchat-chat-history {
    outline: none;
}


/* PRIMARY */
/* [data-cognigy-webchat-root] [data-cognigy-webchat] .webchat-homescreen-actions button[color="primary"]:not(.webchat-homescreen-close-button, .webchat-header-minimize-button), */
[data-cognigy-webchat-root] [data-cognigy-webchat] .webchat-homescreen-root .webchat-homescreen-actions .webchat-homescreen-send-button,
[data-cognigy-webchat-root] [data-cognigy-webchat] .webchat-prev-conversations-root button[color="primary"],
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-privacy-notice-accept-button,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-rating-widget-send-button:not([disabled]),
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-list-template-root .webchat-list-template-global-button,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-delete-confirmation-confirm-button,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-rating-widget-thumbs-up-button[aria-pressed="true"],
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-rating-widget-thumbs-down-button[aria-pressed="true"],
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-plugin-date-picker-footer button[data-testid="button-submit"] {
    background-color: var(--bosch-blue-50);
    color: var(--bosch-white);
    /* width: auto; */

    &:hover {
        background-color: var(--bosch-blue-40);
        color: var(--bosch-white);
    }

    &:active {
        background-color: var(--bosch-blue-30);
        color: var(--bosch-white);
    }
}

[data-cognigy-webchat-root] [data-cognigy-webchat] .webchat-homescreen-root .webchat-homescreen-actions .webchat-homescreen-send-button {
    width: auto;
}



/* SECONDARY */
[data-cognigy-webchat-root] [data-cognigy-webchat] .webchat-homescreen-actions button:not(.webchat-homescreen-close-button, .webchat-homescreen-send-button),
/* [data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-buttons-template-root .webchat-buttons-template-button, */
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-chat-options-action-button,
[data-cognigy-webchat-root] [data-cognigy-webchat] .webchat-chat-history .webchat-scroll-to-bottom-button:after,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-homescreen-root .webchat-homescreen-content .webchat-homescreen-buttons .webchat-homescreen-button-container button,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-homescreen-root .webchat-homescreen-content .webchat-homescreen-buttons .webchat-homescreen-button-container a,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-list-template-element-button,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-list-template-root .webchat-list-template-header-button,
[data-cognigy-webchat-root] .webchat-teaser-message-button,
[data-cognigy-webchat-root] .webchat-teaser-message-button.phone-number-or-url-anchor,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-delete-conversation-button,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-delete-confirmation-cancel-button,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-modal-footer .webchat-delete-confirmation-cancel-button,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-buttons-template-button-video,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat [aria-controls^="webchat-plugin-date-picker"],
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .ac-pushButton {
    background-color: var(--bosch-white);
    color: var(--bosch-blue-50);
    border: 1px solid var(--bosch-blue-50);
    margin-top: 1.5rem;
    width: auto;
    margin: auto;

    &:hover {
        background-color: var(--bosch-blue-90);
        color: var(--bosch-blue-40);
    }

    &:active {
        background-color: var(--bosch-blue-80);
        color: var(--bosch-blue-30);
    }

}

[data-cognigy-webchat-root] .webchat-teaser-message-button:focus {
    background: unset;
}


[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-message-row .webchat-carousel-template-root .gallery-button-prev,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-message-row .webchat-carousel-template-root .gallery-button-next {
    margin: 0;
    height: 38px;
    width: 38px;
    border: none;
    background-color: transparent;
    bottom: 0;
    position: absolute;
    color: #000000;

    &>svg {
        display: none;
    }

    &:hover:after {
        color: var(--bosch-blue-40);
    }

    &:active:after {
        color: var(--bosch-blue-30);
    }

    &:after {
        content: var(--boschicon-bosch-ic-back-left);
        font-size: 1.5em;
        line-height: 1;
        font-family: Bosch-Icon, sans-serif !important;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    &:disabled {
        opacity: 1;
        cursor: initial;
    }

    &:disabled:after {
        color: var(--bosch-gray-75);
    }
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-information-message-root .webchat-information-message-content {
    svg {
        display: none;
    }

    &:before {
        content: var(--boschicon-bosch-ic-technical-service);
        font-size: 7rem;
        font-family: Bosch-Icon, sans-serif !important;
        color: var(--bosch-gray-70);
    }
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-header-close-button[data-disconnect-overlay-close-button="true"] {
    top: 0;
    right: 0;

    &:focus {
        outline: none !important;
    }
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .ReactModal__Content {
    border: none !important;
    border-radius: 0 !important;
    border-top: 6px solid var(--bosch-yellow-85) !important;
    box-shadow: 0 0 .5rem .1rem #00000026;
    padding: 3rem 2rem 2rem !important;
    max-width: 40rem;
    height: fit-content;

    &::before {
        content: var(--boschicon-bosch-ic-alert-warning);
        font-size: 3rem;
        line-height: 1;
        font-family: Bosch-Icon, sans-serif !important;
        color: black;
    }

    h2 {
        margin-top: 1rem;
        margin-bottom: 1 rem;
    }
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .ReactModal__Overlay.ReactModal__Overlay--after-open {
    backdrop-filter: blur(.25rem);
    background-color: hsla(213, 5%, 46%, .251) !important;
}


[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-homescreen-close-button,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-plugin-date-picker button[data-testid="button-close"],
.webchat-header-close-button,
.webchat-header-minimize-button,
.webchat-header-back-button,
.webchat-input-persistent-menu-button,
.webchat-header-delete-all-conversations-button,
.webchat-modal-close-button,
.webchat-rating-widget-thumbs-up-button,
.webchat-rating-widget-thumbs-down-button,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-input-button-send,
[data-cognigy-webchat-root] .webchat-teaser-message-header-close-button,
[data-cognigy-webchat-root] .flatpickr-prev-month,
[data-cognigy-webchat-root] .flatpickr-next-month {
    position: relative;
    height: 3rem;
    width: 3rem;

    &>svg {
        display: none
    }
}

/* [data-cognigy-webchat-root] .flatpickr-time .arrowUp>svg,
[data-cognigy-webchat-root] .flatpickr-time .arrowDown>svg {
    display: none
} */

[data-cognigy-webchat-root] .flatpickr-time .numInputWrapper [class^="arrowDown"]:after {
    background-color: red !important;
    content: "whats";
    font-size: 1.5em;
    line-height: 1;
    color: black !important;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-modal-close-button {
    width: auto;
}


[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-homescreen-close-button,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-plugin-date-picker button[data-testid="button-close"],
.webchat-header-close-button,
.webchat-modal-close-button,
.webchat-teaser-message-header-close-button {
    &::after {
        content: var(--boschicon-bosch-ic-close);
        font-size: 1.5em;
        line-height: 1;
        font-family: Bosch-Icon, sans-serif !important;
        color: black;
    }

    &:hover::after {
        color: var(--bosch-blue-50);
    }

    &:active::after {
        color: var(--bosch-blue-40);
    }
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-rating-widget-thumbs-up-button {
    &:after {
        content: var(--boschicon-bosch-ic-thumb-up);
        font-size: 1.5em;
        line-height: 1;
        font-family: Bosch-Icon, sans-serif !important;
        color: black;
    }

    &[aria-pressed="true"]:after {
        color: var(--bosch-white);
    }
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-rating-widget-thumbs-down-button {
    &:after {
        content: var(--boschicon-bosch-ic-thumb-down);
        font-size: 1.5em;
        line-height: 1;
        font-family: Bosch-Icon, sans-serif !important;
        color: black;
    }

    &[aria-pressed="true"]:after {
        color: var(--bosch-white);
    }
}


[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-chat-options-action-button {
    margin: 0px;
}


[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-input-persistent-menu-button[aria-expanded="true"] {
    background: transparent !important;
    height: auto;

    &::after {
        content: var(--boschicon-bosch-ic-close);
        font-size: 1.5em;
        line-height: 1;
        font-family: Bosch-Icon, sans-serif !important;
    }

    &:hover::after {
        color: var(--bosch-blue-50);
    }

    &:active::after {
        color: var(--bosch-blue-40);
    }
}


[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-header-minimize-button {
    &:after {
        content: var(--boschicon-bosch-ic-less-minimize);
        font-size: 1.5em;
        line-height: 1;
        font-family: Bosch-Icon, sans-serif !important;
    }

    &:hover::after {
        color: var(--bosch-blue-50);
    }

    &:hover:active {
        color: var(--bosch-blue-40);
    }
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-header-delete-all-conversations-button {
    &:after {
        content: var(--boschicon-bosch-ic-delete);
        font-size: 1.5em;
        line-height: 1;
        color: black;
        font-family: Bosch-Icon, sans-serif !important;
    }

    &:hover:after {
        color: var(--bosch-blue-50);
    }

    &:active:after {
        color: var(--bosch-blue-40);
    }

}

[data-cognigy-webchat-root] [data-cognigy-webchat] #webchatInputMessageSpeechButton,
[data-cognigy-webchat-root] [data-cognigy-webchat] #webchatInputMessageAttachFileButton {
    /* height: 100%; */
    border-radius: 0;
}


[data-cognigy-webchat-root] [data-cognigy-webchat] .webchat-input-button-speech-background {
    background-color: var(--bosch-blue-50);
}

[data-cognigy-webchat-root] [data-cognigy-webchat] .webchat-input-button-speech-background:hover {
    background-color: var(--bosch-blue-40);
}

[data-cognigy-webchat-root] [data-cognigy-webchat] .webchat-input-button-speech.webchat-input-button-speech-active {
    &:after {
        color: var(--bosch-white);
        z-index: 9999;
    }

    &:hover:after {
        color: var(--bosch-white);
    }
}


[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-plugin-date-picker button[data-testid="button-close"] {

    margin-right: 0;

    &:focus {
        outline: none;
    }
}


[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-header-back-button,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .flatpickr-prev-month {
    &::after {
        content: var(--boschicon-bosch-ic-back-left);
        font-family: Bosch-Icon, sans-serif !important;
        font-size: 1.5rem;
    }

    &:hover::after {
        color: var(--bosch-blue-50)
    }

    &:active::after {
        color: var(--bosch-blue-40);
    }
}



[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-input-persistent-menu .webchat-input-persistent-menu-item {
    align-items: center;
    background-color: var(--bosch-gray-50);
    border-radius: 1rem;
    color: var(--bosch-white);
    cursor: pointer;
    display: inline-flex;
    height: 2rem;
    justify-content: space-evenly;
    width: auto;
    padding: 0;

    &:hover {
        background-color: var(--bosch-gray-40);
    }

    &:active {
        background-color: var(--bosch-gray-30);
    }
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-input-persistent-menu .webchat-input-persistent-menu-item>span {
    margin: auto 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-input-persistent-menu>h3 {
    color: var(--bosch-white);
    font-weight: bold;
}



[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-input-persistent-menu-button {
    position: relative;
    min-height: 3rem;
    min-width: 3rem;
    background-color: #E0E2E5;
    border-radius: 0;
    /* height: 100%; */

    &:hover {
        background-color: var(--bosch-gray-80);
    }

    &:active {
        background-color: var(--bosch-gray-70);
    }
}


[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-input-message-container .webchat-input-message-input,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-input-message-input {
    font-size: var(--cognigy-text-sm);
    height: 3rem;
    padding: 0.75rem 1rem 0.75rem;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-input-message-container .webchat-input-message-label,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-input-message-label {
    padding: 0.75rem 1rem 0.75rem;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat #webchatInputMessageInputInTextMode {
    height: 3rem !important;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-input-persistent-menu-button:not([aria-expanded="true"]):after {
    content: var(--boschicon-bosch-ic-list-view-mobile);
    font-family: Bosch-Icon, sans-serif !important;
    font-size: 1.5em;
    color: black;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-input-persistent-menu .webchat-input-persistent-menu-item>span,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-buttons-template-root .webchat-buttons-template-button>span,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-delete-all-conversation-text {
    font-weight: normal;
    font-size: var(--cognigy-text-sm);
    font-family: boschsans, Helvetica Neue, Helvetica, Arial, sans-serif !important;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-input-persistent-menu .webchat-input-persistent-menu-item-container>li:before,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-buttons-template-root>ul>li:before,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-message-row.bot ul>li:before,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-homescreen-content .webchat-homescreen-buttons li:before,
[data-cognigy-webchat-root] .webchat-teaser-message-action-buttons ul li:before {
    display: none;

}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-homescreen-content .webchat-homescreen-buttons .webchat-homescreen-button-container {
    li {
        padding-left: 0px !important;
        margin: 0;
        width: 100%;
    }

    .webchat-homescreen-button {
        width: 100% !important;
    }
}

.webchat-scroll-to-bottom-button {
    visibility: hidden;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-scroll-to-bottom-button:after {
    visibility: visible;
    content: "scroll down";
    position: absolute;
    background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg"  fill="%23007bc0" viewBox="0 0 192 192"><path d="M96,133.65674L33.17139,70.82861l5.65723-5.65723L96,122.34326l57.17139-57.17188l5.65723,5.65723L96,133.65674z"/></svg>');
    background-repeat: no-repeat;
    top: 0px;
    left: 0px;
    width: 165px;
    padding: 7px;
    padding-left: 8px;
    padding-right: 0px;
    left: 50%;
    transform: translateX(-50%);
    background-origin: content-box;
    background-size: 1.5rem;
    background-position: center left;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-scroll-to-bottom-button:hover:after {
    background-color: var(--bosch-blue-90);
    color: var(--bosch-blue-40);
    border-color: var(--bosch-blue-40);
    background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg"  fill="%2300629a" viewBox="0 0 192 192"><path d="M96,133.65674L33.17139,70.82861l5.65723-5.65723L96,122.34326l57.17139-57.17188l5.65723,5.65723L96,133.65674z"/></svg>');
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-scroll-to-bottom-button:active:after {
    background-color: var(--bosch-blue-80);
    color: var(--bosch-blue-30);
    border-color: var(--bosch-blue-30);
    background-image: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg"  fill="%23004975" viewBox="0 0 192 192"><path d="M96,133.65674L33.17139,70.82861l5.65723-5.65723L96,122.34326l57.17139-57.17188l5.65723,5.65723L96,133.65674z"/></svg>');
}

/* Main Chat */
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat {
    /* max-width: 23rem;
    max-height: 30rem; */
    /* width: 100%; */
    height: 100%;
    bottom: 14px;
    right: 100px;
    border-radius: 0px;
    font-family: boschsans, Helvetica Neue, Helvetica, Arial, sans-serif;
}

@media screen and (min-width: 576px) {
    [data-cognigy-webchat-root] [data-cognigy-webchat] {
        height: calc(100% - 104px);
        /* width: 23rem !important; */
        /* max-height: 37rem; */
        max-height: 45rem;
    }
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-input {
    border-radius: 0px;
    gap: 0px;
}


[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-header-bar,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-plugin-date-picker-header {
    min-height: 3rem;
    padding: 0px;
    background-color: var(--bosch-white);
    border-bottom-color: gray;
}


[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-header-bar>div:last-of-type {
    gap: 0px;
    justify-content: center;
    align-items: center;

    & button[data-header-menu-button="true"]>svg {
        display: none;
    }

    & button[data-header-menu-button="true"]::after {
        content: var(--boschicon-bosch-ic-options-vertical);
        font-family: Bosch-Icon, sans-serif !important;
    }

    & button[data-header-menu-button="true"]:hover:after {
        color: var(--bosch-blue-50);
    }

    & button[data-header-menu-button="true"]:active:after {
        color: var(--bosch-blue-40);
    }
}



[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-header-bar>div:first-of-type:has(button[data-header-back-button="true"]) {
    width: 3rem !important;
}


/* Note: */
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .logoNameContainer {
    margin-left: 0;
    height: auto;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .logoNameContainer:first-child {
    margin-left: 1rem;
    height: auto;
}



[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-header-logo {
    border-radius: 50%;
    min-width: 30px;
    min-height: 30px;
    border: 1px solid var(--bosch-gray-80);
    /* margin-left: 1rem; */
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat h2.webchat-header-title {
    font-weight: bold;
}


[data-cognigy-webchat-root] [data-cognigy-webchat].webchat,
[data-cognigy-webchat-root].webchat-root .webchat-teaser-message-root {
    box-shadow: 0 0 0.5rem 0.1rem #00000040;
    overflow: visible;
    bottom: 14px;
    right: 100px;
    font-family: boschsans, Helvetica Neue, Helvetica, Arial, sans-serif;

}

[data-cognigy-webchat-root].webchat-root .webchat-teaser-message-action-buttons {
    background-color: var(--bosch-white);
    width: 100%;
}

[data-cognigy-webchat-root].webchat-root .webchat-teaser-message-action-buttons .webchat-teaser-message-button-container {
    align-items: baseline;
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 0 1rem 2rem;
    max-width: 100%;

    & li {
        padding-left: 0;
        margin-bottom: 0;
    }
}


[data-cognigy-webchat-root].webchat-root .webchat-teaser-message-root {
    gap: 0;
    align-items: center;
}

[data-cognigy-webchat-root].webchat-root .webchat-teaser-message-root .webchat-teaser-message-bubble {
    border-radius: 0px;
    border: none;
    box-shadow: none;
    padding: 0;
    /* max-width: 12.5rem; */
    /* height: 3rem; */
    /* padding: 0.5625rem 1rem;
    padding-right: 0; */
    gap: 0;

    &>div:first-of-type {
        height: 3rem;
        padding: 0.5625rem 1rem;
        padding-right: 0;
        border-bottom: 1px solid gray;
    }

    .webchat-teaser-message-header-logo {
        display: none;
    }

    .webchat-teaser-message-header-title {

        font-weight: bold;
        font-size: 1rem;
    }

    h6,
    .webchat-unread-message-preview-text {
        font-size: var(--cognigy-text-sm);
        line-height: 1.5;
        font-family: boschsans, Helvetica Neue, Helvetica, Arial, sans-serif;
    }

    .webchat-unread-message-preview-text {
        padding: 1.5rem 1rem 1.5rem;
        max-height: 30rem;
        overflow: hidden;
    }
}



[data-cognigy-webchat-root] [data-cognigy-webchat].webchat:after,
[data-cognigy-webchat-root].webchat-root .webchat-teaser-message-root:after {
    content: "";
    position: absolute;
    fill: var(--bosch-white);
    background-repeat: no-repeat;
    bottom: 15px;
    right: -0.75rem;
    width: 1.5rem;
    height: 1.5rem;
    background-color: var(--bosch-white);
    box-shadow: 0 0 0.5rem 0.1rem #00000040;
    rotate: 45deg;
    z-index: -1;
}

[data-cognigy-webchat-root].webchat-root .webchat-teaser-message-root:after {
    bottom: 14px;
    right: -12px;
}


/* MESSAGES */
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-message-row .chat-bubble {
    border-radius: 0px;
    border: none;
    font-weight: normal;
    /* max-width: 15.375rem !important; */
    /* max-width: 80% !important; */
    height: auto;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
}

/* WIDTH ADJUSTMENTS START*/
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-message-row>div {
    max-width: 90% !important;
    width: 75% !important;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat article div[class^="_player"] {
    max-width: 100% !important;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-message-row .swiper {
    /* width: 100% !important; */
    margin: 0;
    padding: 0;

}

/* WIDTH ADJUSTMENTS END*/

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-message-row .chat-bubble>div {
    border-radius: 0;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-message-row .chat-bubble>p,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-message-row .chat-bubble {
    font-size: var(--cognigy-text-sm);
    line-height: 1.5;
    text-align: left;
}


[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-message-row {
    display: flex;
    flex-direction: column-reverse;
    text-align: left;
    margin: 1rem;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-chat-history #webchatChatHistoryWrapperLiveLogPanel {
    overflow: hidden;
}


[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-message-row .message-header {
    color: black;
    margin-top: 0.5rem;
    font-size: var(--cognigy-text-sm);
    line-height: 1.5;
    font-family: boschsans, Helvetica Neue, Helvetica, Arial, sans-serif !important;

    & div>svg>circle {
        fill: black;
    }

    & time,
    & span {
        color: black;
        font-family: boschsans, Helvetica Neue, Helvetica, Arial, sans-serif !important;
    }
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-message-row .message-header .webchat-avatar.bot {
    min-width: 30px;
    min-height: 30px;
    border: 1px solid var(--bosch-gray-80);
    padding: 1px;
    padding: 1px;
    background-color: transparent;
}


[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-message-row.bot .chat-bubble {
    background-color: #EFF1F2 !important;
    text-align: left;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-message-row.user .chat-bubble {
    background-color: var(--bosch-blue-50);
    color: var(--bosch-white);
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-message-row .webchat-quick-reply-template-root ul.webchat-quick-reply-template-replies-container>li,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-input-persistent-menu ul.webchat-input-persistent-menu-item-container>li,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-message-row .webchat-buttons-template-root ul>li {
    margin: inherit !important;
    padding-left: inherit !important;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-message-row .webchat-quick-reply-template-root ul.webchat-quick-reply-template-replies-container>li button {
    margin: inherit;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-message-row .webchat-quick-reply-template-root .webchat-template-button-image {
    /* margin: auto;
    width: 80%;
    height: auto; */
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-message-row .webchat-quick-reply-template-root>div[class^="_bubble_"] {
    max-width: 100% !important;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-message-row .webchat-quick-reply-template-root ul.webchat-quick-reply-template-replies-container>li button>span,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-buttons-template-root .webchat-buttons-template-button>span {
    font-size: var(--cognigy-text-sm);
    font-weight: normal;
    line-height: 1.5;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-typing-indicator {
    border: none;
}


/* INPUT */
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-input-button-send {
    position: relative;
    /* height: 100%; */
    min-width: 3rem;
    min-height: 3rem;
    background-color: #e0e2e5;
    border-radius: 0;
    margin-left: auto;

    &::after {
        content: var(--boschicon-bosch-ic-paperplane);
        font-family: Bosch-Icon, sans-serif;
        font-size: 1.5em;
        color: black;
    }

    &:disabled {
        background-color: #eff1f2 !important;
    }

    &:disabled::after {
        color: var(--bosch-gray-65);
    }

    &:hover {
        background-color: var(--bosch-gray-80)
    }

    &:focus {
        background-color: var(--bosch-gray-70);
    }
}


[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-input {
    margin: 1rem;
    background-color: var(--bosch-gray-20);
    border: none;
    border-bottom: .0625rem solid #000000;
    color: #000000;
    padding: 0;
    box-sizing: border-box;
    min-height: 3rem;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-input:focus-within {
    border-bottom: 2px solid #000000;
}


[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-input .webchat-input-message-container {
    min-height: 3rem;
    background-color: var(--bosch-gray-90);

    &:hover {
        background-color: var(--bosch-gray-80);
    }

    &:focus-visible {
        background-color: var(--bosch-blue-90);
    }

    &:focus-within {
        background-color: var(--bosch-blue-90) !important;
    }
}


[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-input-text-active,
[data-cognigy-webchat-root] [data-cognigy-webchat] .webchat-input-button-add-attachments,
[data-cognigy-webchat-root] [data-cognigy-webchat] .webchat-input-button-speech {
    min-height: 3rem;
    background-color: var(--bosch-gray-90);

    &:hover {
        background-color: var(--bosch-gray-80);
    }

    &:active {
        background-color: var(--bosch-gray-70);
    }
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-input-menu-form {
    align-items: flex-end;
    gap: 0;
    flex-wrap: wrap;
    background-color: var(--bosch-gray-90);
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-input-menu-form:has(button[aria-expanded="true"]) {
    background-color: var(--bosch-gray-20);
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-input-menu-form .webchat-input-message-container {
    order: -1;
    width: 100%;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-input-menu-form .webchat-input-message-container .webchat-input-message-label {
    font-size: var(--cognigy-text-sm);
    color: rgba(0, 0, 0, 0.5);
}

/* PREVIOUS CHATS */
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-prev-conversations-content .webchat-prev-conversations-item {
    border: none;
    border-bottom: 1px solid black;
    border-radius: 0px;
    background-color: var(--bosch-white);
    flex: 0 0 4rem;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-prev-conversations-content .webchat-prev-conversations-item:hover {
    background-color: #e0e2e5;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-prev-conversations-content .webchat-prev-conversations-item:active {
    background-color: var(--bosch-gray-80);
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-prev-conversations-content .webchat-prev-conversations-item>div>img {
    height: 1.5rem;
    width: 1.5rem;
    border: 1px solid var(--bosch-gray-80);
    padding: 1px;
    background-color: transparent;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-prev-conversations-content .webchat-prev-conversations-item>div:last-of-type>svg {
    display: none;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-prev-conversations-content .webchat-prev-conversations-item>div>div {
    max-width: 225px;
}


[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-prev-conversations-content {
    gap: 0;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-prev-conversations-root .webchat-prev-conversations-actions {
    padding: 1rem;
}


[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-prev-conversations-content .webchat-prev-conversations-item>div:last-of-type {
    position: relative;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-prev-conversations-content .webchat-prev-conversations-item>div:last-of-type:after {

    content: var(--boschicon-bosch-ic-forward-right);
    font-family: Bosch-Icon, sans-serif !important;
}

[data-cognigy-webchat-root] .flatpickr-next-month {
    &:after {
        content: var(--boschicon-bosch-ic-forward-right);
        font-family: Bosch-Icon, sans-serif !important;
        font-size: 1.5rem;
    }

    &:hover::after {
        color: var(--bosch-blue-50)
    }

    &:active::after {
        color: var(--bosch-blue-40);
    }
}


[data-cognigy-webchat-root] [data-cognigy-webchat].webchat #webchatChatHistoryWrapperLiveLogPanel>div>div {
    font-size: var(--cognigy-text-sm);
    line-height: 1.5;
    font-family: boschsans, Helvetica Neue, Helvetica, Arial, sans-serif;
}

/* SLIDER CHANGES */



[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-message-row .webchat-carousel-template-root {

    /* background-color: var(--bosch-gray-95); */
    .gallery-button-next,
    .gallery-button-prev {
        /* bottom: 24px; */
        top: auto !important;
    }

    .gallery-button-prev {
        left: 0;
    }

    .gallery-button-next {
        right: 0;
    }
}





/* PRIVACY POLICY */
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-privacy-notice-root .webchat-privacy-notice-actions a.tertiary-button.webchat-privacy-policy-link {
    width: 100%;

    p {
        font-family: boschsans, Helvetica Neue, Helvetica, Arial, sans-serif;
        font-weight: normal;
        line-height: 1.5;
        font-size: 1rem;
        position: relative;
        text-decoration: underline;
    }

    svg {
        display: none;
    }
}




[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-message-row .webchat-media-template-image>img {
    border-radius: 0px;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .swiper.swiper-initialized.webchat-carousel-template-root .swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
    margin-top: 1rem !important;
    position: relative;
    /* bottom: 0;
    max-width: 69%;
    justify-content: center;
    margin: auto 3rem; */
    justify-content: center;
    padding-left: 3rem;
    display: flex;
    padding-right: 3rem;
    flex-wrap: wrap;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .swiper.swiper-initialized.webchat-carousel-template-root .swiper-pagination .swiper-pagination-bullet {
    background: var(--bosch-gray-50);
    border: none;
    border-radius: .25rem;
    cursor: pointer;
    height: .5rem;
    margin: .5rem;
    padding: 0;
    width: .5rem;

    &:focus {
        box-shadow: none;
    }
}


[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .swiper.swiper-initialized.webchat-carousel-template-root .swiper-pagination .swiper-pagination-bullet:hover {
    background: var(--bosch-gray-40);
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .swiper.swiper-initialized.webchat-carousel-template-root .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: var(--bosch-blue-50);
    border-radius: .375rem;
    height: .75rem;
    margin: .375rem;
    width: .75rem;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .swiper.swiper-initialized.webchat-carousel-template-root .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active:hover {
    background: var(--bosch-blue-40);
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-privacy-notice-markdown-container label,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-delete-conversation-text {
    font-size: 1rem;
}


/* WEBCHAT OPTIONS */
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-chat-options-root .webchat-chat-options-container .webchat-chat-options-action-btns-wrapper {

    font-family: boschsans, Helvetica Neue, Helvetica, Arial, sans-serif;

    & ul>li::before {
        display: none;
    }

    & ul>li {
        padding-left: 0;
    }
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-chat-options-tts-option-toggle.webchat-toggle-button-root {
    /* border-radius: .75rem;
    cursor: pointer;
    height: 1.5rem;
    position: relative;
    width: 3rem; */
    background-color: var(--bosch-gray-50);

    &:hover {
        background-color: var(--bosch-gray-40);
    }

    &:active {
        background-color: var(--bosch-gray-30);
    }
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-chat-options-tts-option-toggle.webchat-toggle-button-root.active {
    background-color: var(--bosch-blue-50);

    &:hover {
        background-color: var(--bosch-blue-40);
    }

    &:active {
        background-color: var(--bosch-blue-30);
    }
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-toggle-button-inner-circle {
    background-color: var(--bosch-white);
}


[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-chat-options-action-btns-root>h3.webchat-chat-options-action-btns-title,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-chat-options-root .webchat-chat-options-container .webchat-chat-options-action-btns-wrapper .webchat-chat-options-action-button>span,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-rating-widget-root>h3.webchat-rating-widget-title,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-rating-widget-root .webchat-rating-widget-comment-input-field-label,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-rating-widget-root .webchat-rating-widget-comment-input-field,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-rating-widget-root .webchat-rating-widget-send-button,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-chat-options-footer>a>p,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-chat-options-tts-option-label,
[data-cognigy-webchat-root] .webchat-teaser-message-button>span {
    font-family: boschsans, Helvetica Neue, Helvetica, Arial, sans-serif;
    font-weight: normal;
    font-size: 1rem;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-chat-options-footer>a>p {
    line-height: 1.5;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-rating-widget-root>div:last-of-type>div {
    border-radius: 0px;
    padding: 0px;
    border: none;
    outline: none;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-rating-widget-root .webchat-rating-widget-comment-input-field-container:not(:disabled) {
    padding: .75rem 1rem;
    background-color: var(--bosch-gray-90);
    border-radius: none;
    border-bottom: .0625rem solid;

    &:hover {
        background-color: var(--bosch-gray-80);
        color: black;
    }

    &:focus-within {
        background-color: var(--bosch-blue-90);
        outline: 3px solid black;
        outline-offset: -.1875rem;
    }
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-rating-widget-root .webchat-rating-widget-comment-input-field-label {
    color: rgba(0, 0, 0, 0.5);
    padding: .75rem 1rem;

}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat #webchatRatingInput {
    background-color: inherit;
    outline: none;
}


[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-rating-widget-root .webchat-rating-widget-comment-input-field-container .webchat-rating-widget-comment-input-field,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-homescreen-header {
    background-color: var(--bosch-white);
}

/* NEW */
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-list-template-root {
    border-radius: 0;
}


[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-list-template-element-button {
    border-radius: 0 !important;
    margin-left: 1rem !important;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-list-template-root .webchat-list-template-global-button,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-list-template-header-button,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-buttons-template-button-video {
    margin-left: 0 !important;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-list-template-root>div {
    justify-content: center;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-list-template-root>ul>li {
    padding-left: 0;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-list-template-root>ul>li>div {
    padding: 0;
    padding-bottom: 0.5rem;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-list-template-root .webchat-list-template-element-content {
    padding: 0.5rem;

}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat div[class^="_buttons_"] {
    max-width: 100%;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat div[class^="_buttons_"]>a {
    width: auto;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-list-template-root .webchat-list-template-element-content .webchat-list-template-element-subtitle {
    font-size: 1rem;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-list-template-root .webchat-list-template-element-content div {
    border-radius: 0;
}



/* VIDEO CONTROLS: */
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-buttons-template-button-video,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat [data-tooltip-id="downloadTranscriptButton"] {
    &>svg {
        display: none;
    }

    &:after {
        content: var(--boschicon-bosch-ic-download);
        font-family: Bosch-Icon, sans-serif !important;
        -webkit-font-smoothing: antialiased;
        font-size: 1.5em;
        line-height: 0;
        color: var(--bosch-blue-50);
    }

    &:hover::after {
        color: var(--bosch-blue-40);
    }

    &:active::after {
        color: var(--bosch-blue-30);
    }
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat [data-tooltip-id="downloadTranscriptButton"]:after {
    color: black;
}

/* AUDIO CONTROLS: */
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-media-template-audio {
    & button[aria-label="Play audio"] {
        border: none !important;
        padding: 0 !important;
        line-height: 0;

        &>svg {
            display: none;
        }

        &:after {
            content: var(--boschicon-bosch-ic-play);
            font-family: Bosch-Icon, sans-serif !important;
            -webkit-font-smoothing: antialiased;
            font-size: 1.5em;
            line-height: 1.4;
            color: black;
        }

        &:hover::after {
            color: var(--bosch-blue-40);
        }

        &:active::after {
            color: var(--bosch-blue-30);
        }
    }

    & button[aria-label="Pause audio"] {
        border: none !important;
        padding: 0 !important;
        line-height: 0;

        &>svg {
            display: none;
        }

        &:after {
            content: var(--boschicon-bosch-ic-pause);
            font-family: Bosch-Icon, sans-serif !important;
            -webkit-font-smoothing: antialiased;
            font-size: 1.5em;
            line-height: 1.4;
            color: var(--bosch-blue-50);
        }

        &:hover::after {
            color: var(--bosch-blue-40);
        }

        &:active::after {
            color: var(--bosch-blue-30);
        }
    }

    & buttons>button {
        display: flex;
        position: relative;

        &>svg {
            display: none;
        }
    }

    & div[class^="_controls"] {
        & .duration {
            order: 1;
        }

        & .buttons {
            order: 0;

        }

        & div[class^="_progressBar"] {
            order: 2;
        }
    }
}


[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-modal-root {
    border-radius: 0;
    padding: 0;

    .webchat-modal-header {
        padding: 0 2rem;
        height: 3rem;
    }

    .webchat-modal-close-button {
        width: 3rem;
        margin-right: 4px;
    }

    .webchat-modal-divider-wrapper {
        padding: 0;
    }

    .webchat-modal-body {
        padding: 1.5rem 2rem 0;
        margin-bottom: 0;

        p {
            margin: 0;
        }
    }

    .webchat-modal-footer {
        padding: 1.5rem 2rem 2rem;
    }

    h3 {
        margin-left: 0;
    }
}


[data-cognigy-webchat-root] .webchat-teaser-message-button.phone-number-or-url-anchor {
    gap: 0;
}

[data-cognigy-webchat-root] .webchat-teaser-message-button.phone-number-or-url-anchor>svg,
[data-cognigy-webchat-root] .webchat-chat-options-action-button.phone-number-or-url-anchor>svg,
[data-cognigy-webchat-root] .webchat-homescreen-button.phone-number-or-url-anchor>svg,
[data-cognigy-webchat-root] [data-cognigy-webchat] .webchat-input-button-add-attachments>svg,
[data-cognigy-webchat-root] [data-cognigy-webchat] .webchat-input-button-speech>svg,
.webchat-buttons-template-button.phone-number-or-url-anchor>svg {
    display: none;
}


[data-cognigy-webchat-root] [data-cognigy-webchat] .webchat-input-button-speech {
    &:after {
        content: var(--boschicon-bosch-ic-microphone-classic);
        font-family: Bosch-Icon, sans-serif !important;
        -webkit-font-smoothing: antialiased;
        font-size: 1.5em;
        color: black;
    }
}



[data-cognigy-webchat-root] [data-cognigy-webchat] .webchat-input-button-add-attachments {
    &:after {
        content: var(--boschicon-bosch-ic-paperclip);
        font-family: Bosch-Icon, sans-serif !important;
        -webkit-font-smoothing: antialiased;
        font-size: 1.5em;
        color: black;
    }
}

[data-cognigy-webchat-root] .webchat-chat-options-footer>a {

    &:hover {
        text-decoration: underline;
    }

    >p:after {
        line-height: 1 !important;
    }
}

/* [data-cognigy-webchat].webchat a[target="_blank"]:after{
    content: var(--boschicon-bosch-ic-externallink) !important;
        font-family: Bosch-Icon, sans-serif !important;
        -webkit-font-smoothing: antialiased;
        font-size: 1.5em;
        line-height: 1;
        vertical-align: bottom;
} */

[data-cognigy-webchat-root] .webchat-teaser-message-button.phone-number-or-url-anchor,
[data-cognigy-webchat-root] .webchat-chat-options-action-button.phone-number-or-url-anchor,
[data-cognigy-webchat-root] .webchat-homescreen-button.phone-number-or-url-anchor,
[data-cognigy-webchat-root] .webchat-chat-options-footer>a>p,
[data-cognigy-webchat-root] .webchat-carousel-template-button.phone-number-or-url-anchor>span,
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-privacy-notice-root .webchat-privacy-notice-actions a.tertiary-button.webchat-privacy-policy-link,
.webchat-buttons-template-button.phone-number-or-url-anchor,
.webchat-quick-reply-template-button.phone-number-or-url-anchor {
    &:after {
        content: var(--boschicon-bosch-ic-externallink) !important;
        font-family: Bosch-Icon, sans-serif !important;
        -webkit-font-smoothing: antialiased;
        font-size: 1.5em;
        line-height: 0;
        vertical-align: bottom;
    }

    &:hover::after {
        color: var(--bosch-blue-40);
    }

    &:active::after {
        color: var(--bosch-blue-30);
    }
}

[data-cognigy-webchat-root] .webchat-carousel-template-button.phone-number-or-url-anchor>span {
    &::after {
        line-height: 1 !important;
    }
}


[data-cognigy-webchat-root] .webchat-plugin-date-picker-header {
    padding: 0;
}


/* LOGO REMOVAL: */
#cognigyBrandingLink,
#cognigyHomeScreenBranding,
#cognigyConversationListBranding {
    display: none;
}

/* LATEST: */
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-modal-footer {
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-start;

    gap: 1rem;

    &>button {
        margin: 0 !important;
    }
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-quick-reply-template-replies-container .webchat-quick-reply-template-button {
    & div {
        border: none;
    }
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-list-template-root {
    & .webchat-list-template-header-button {
        background: transparent;
    }

    .webchat-list-template-header {
        background-color: var(--bosch-gray-95);

        & .webchat-list-template-header-content {

            h4,
            p {
                color: #000000 !important;
            }

        }
    }
}


/* GALLERY: */
[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .swiper-wrapper {
    align-items: stretch;

}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .swiper-slide {

    flex-direction: column;
    display: flex;
    height: auto;
    /* height: 450px; */

    &:not(:first-child) {
        display: flex;
        justify-content: center;
    }

    &:last-child {
        display: flex;
        justify-content: flex-end;
    }

    .webchat-carousel-template-frame {
        /* height: 530px; */
        flex: 1;
        display: flex;
        flex-direction: column;
        margin-bottom: 1rem;
        height: 100%;
        width: 100%;
        background-color: var(--bosch-gray-95);

        div,
        div>img,
        div>span {
            border-radius: 0px;
            border: none;
        }

        div:not(.webchat-carousel-template-content) {
            display: flex;
            flex-direction: column-reverse;
            background-color: #EFF1F2;

            ul>li {
                padding: 0;
                margin-bottom: 0;
            }
        }

        >div>img {
            /* height: 140px; */
            aspect-ratio: 16 / 9;
        }

        >div>span {
            /* height: 140px; */
        }

        .webchat-carousel-template-content {
            border-top: none;
            /* height: 280px; */
            height: 100%;
            gap: 0;
            margin: 0;
            display: flex;
            justify-content: space-between;
            background-color: #EFF1F2;

            .webchat-carousel-template-subtitle {
                display: -webkit-box;
                -webkit-box-orient: vertical;
                /* -webkit-line-clamp: 4; */
                overflow: hidden;
                /* min-height: 96px; */
                margin-bottom: 0.5rem;
            }

            ul {
                gap: 0.125rem
            }

            ul>li {
                margin: 0;
                padding: 0;
            }

            &>div {
                justify-content: flex-start;
                width: 100%;
            }
        }

        .webchat-carousel-template-title {
            padding: 0 0.5rem;
            margin-inline-end: 8px;
            position: relative;
            margin: 0px;
            width: 100%;
            bottom: 0;
            color: black;
            font-weight: bold !important;
            padding-top: 5px;
            border-radius: 0;
        }

        h4.webchat-carousel-template-title,
        .webchat-carousel-template-subtitle,
        .webchat-carousel-template-button>span {
            font-family: boschsans, Helvetica Neue, Helvetica, Arial, sans-serif;
            font-size: var(--cognigy-text-sm);
            font-weight: normal;
            line-height: 1.5;
        }

        .webchat-carousel-template-button {
            padding: 0;
            background-color: transparent;
            border: none;
            margin-left: 0;
            justify-content: flex-start;
            height: auto;
            width: fit-content;
        }

        .webchat-carousel-template-button>span {
            color: var(--bosch-blue-50);

            &:hover {
                text-decoration: underline;
                color: var(--bosch-blue-40);
                background-color: transparent;
            }

            &:active {
                color: var(--bosch-blue-30);
            }

            &:after {
                content: var(--boschicon-bosch-ic-forward-right);
                font-family: Bosch-Icon, sans-serif !important;
                vertical-align: bottom;
            }
        }
    }
}


/* DATE PICKER: */
[data-cognigy-webchat-root] .webchat-plugin-date-picker .webchat-monthSelector-datepicker,
[data-cognigy-webchat-root] .webchat-plugin-date-picker .yearSelector-datepicker,
[data-cognigy-webchat-root] .webchat-plugin-date-picker .numInput {
    border-radius: 0px !important;
}


[data-cognigy-webchat-root] .webchat-plugin-date-picker-footer {
    margin-bottom: 1rem;
}

[data-cognigy-webchat-root] .dayContainer .flatpickr-day .dayInner {
    border-radius: 0px !important;
}

[data-cognigy-webchat-root] .flatpickr-days .dayContainer .flatpickr-day.today .dayInner {
    background-color: var(--bosch-blue-90);

}

[data-cognigy-webchat-root] .flatpickr-days .dayContainer .flatpickr-day.selected .dayInner {
    border: .0625rem solid var(--bosch-blue-50);
    background-color: white;
    color: var(--bosch-gray-30);
}

[data-cognigy-webchat-root] .dayContainer .flatpickr-day {
    aspect-ratio: auto !important;
}

[data-cognigy-webchat-root] .webchat-prev-conversations-send-button {
    max-width: 100%;
}

/* MOBILE ADJUSTMENTS: */
@media screen and (max-width: 576px) {
    [data-cognigy-webchat-root] [data-cognigy-webchat].webchat h2.webchat-header-title {
        font-size: 1rem;
    }

    [data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-delete-confirmation-confirm-button {
        width: auto;
    }

    [data-cognigy-webchat-root].webchat-root .webchat-teaser-message-root {
        right: 20px !important;
        bottom: 92px;
        max-width: 90% !important;

        &::after {
            bottom: -12px;
            right: 16px;
        }

        .webchat-teaser-message-bubble {
            max-width: 100%
        }
    }
}

/*
 * ========================================================================
 * FINALES, PRAGMATISCHES CSS FÜR EINE FUNKTIONIERENDE GALERIE
 * ========================================================================
 */

[data-testid="gallery-message"] .webchat-carousel-template-frame {
    height: 100% !important;
    display: flex !important;
    flex-direction: column;
}

/* Der obere Teil mit dem Titel */
[data-testid="gallery-message"] ._top_1prat_8 {
    padding: 5px 1px 2px 4px !important;
    background: none !important;
    min-height: fit-content !important;
}
[data-testid="gallery-message"] ._top_1prat_8 img {
    display: none !important;
}
[data-testid="gallery-message"] .webchat-carousel-template-title {
    position: static !important;
    color: var(--cc-bot-message-contrast-color, #1c1c1c) !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    margin: 0 !important;
}

/* Der untere Teil mit Subtitle und Button */
[data-testid="gallery-message"] ._bottom_1prat_13 {
    border: none !important; /* Entfernt den Trennstrich */
    padding: 4px 12px 12px 12px !important;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Wichtig, damit der Button nach unten geschoben wird */
}
[data-testid="gallery-message"] .webchat-carousel-template-subtitle {
    font-size: 12px !important;
    color: var(--cc-black-40, #666) !important;
    margin-bottom: 12px; /* Abstand zum Button */
}

/* Positioniert den Button am Ende */
[data-testid="gallery-message"] div[data-testid="action-buttons"] {
    margin-top: auto !important;
    font-size: 12px !important;
}

/* The following lines are for specific styling of chatbot frizz: start */

[data-cognigy-webchat-root] [data-cognigy-webchat-toggle].webchat-toggle-button {
    min-width: 3.5rem;
    min-height: 3.5rem;
    background-color: var(--bosch-blue-50) !important;
    background-size: 75% !important;
    background-repeat: no-repeat !important;
    background-position: 50% !important;
    box-shadow: 0 0 0.5rem 0.1rem #00000040;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:%23007bc0;%7D.b%7Bfill:%23fff;%7D%3C/style%3E%3C/defs%3E%3Ctitle%3Efrizz_avatar_farbanpassung%3C/title%3E%3Crect class='a' width='56' height='56'/%3E%3Cpath class='b' d='M25.116,21.257a2.517,2.517,0,0,0-3.007,3.675A4.979,4.979,0,0,1,26.2,24.6c.113.04.22.088.328.136a2.71,2.71,0,0,0,.119-.249A2.528,2.528,0,0,0,25.116,21.257Z'/%3E%3Cpath class='b' d='M31.649,21.278a2.526,2.526,0,0,0-1.444,3.268,2.6,2.6,0,0,0,.125.247c.107-.051.213-.1.324-.145a4.983,4.983,0,0,1,4.1.225,2.517,2.517,0,0,0-3.1-3.6Z'/%3E%3Cpath class='b' d='M16.25,17.183a.681.681,0,0,0,.127.955l.921.7v8.22l-.955.865a.682.682,0,0,0,.458,1.187.674.674,0,0,0,.457-.177l1.4-1.27v-9.5l-1.455-1.114A.682.682,0,0,0,16.25,17.183Z'/%3E%3Cpath class='b' d='M16.25,33.271a.683.683,0,0,0,.127.956l.921.705V56h1.363V34.258l-1.455-1.114A.683.683,0,0,0,16.25,33.271Z'/%3E%3Cpath class='b' d='M38.232,13.64H28.765V12.464a2.086,2.086,0,1,0-1.363,0V13.64H18.12a4.613,4.613,0,0,0-4.608,4.608V56h1.363V32.115h26.6V56H42.84V18.248A4.613,4.613,0,0,0,38.232,13.64Zm3.245,17.112h-26.6v-12.5A3.248,3.248,0,0,1,18.12,15H38.232a3.248,3.248,0,0,1,3.245,3.245Z'/%3E%3C/svg%3E") !important;
  
    
    &:hover { 
        background-color: var(--bosch-blue-50) !important;
    }

    &:active {
    }
  
    &:after {
      content: var(--boschicon-bosch-ic-close);
      font-size: 1.5rem;
      line-height: 1;
      font-family: Bosch-Icon, sans-serif !important;
      color: black; 
      opacity: 0;
    }

}

[data-cognigy-webchat-root] [data-cognigy-webchat-toggle].webchat-toggle-button[aria-label="Close chat"] {
    background-image: none !important;
    background-color: var(--bosch-white) !important;
}

[data-cognigy-webchat-root] [data-cognigy-webchat-toggle].webchat-toggle-button[aria-label="Close chat"]::after {
    opacity: 1; /* Close Icon wird sichtbar */
}

[data-cognigy-webchat-root] [data-cognigy-webchat-toggle].webchat-toggle-button>svg {
    display: none;
}

[data-cognigy-webchat-root].webchat-root .webchat-unread-message-badge {
    background-color: var(--bosch-white);
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 1rem;
    height: 1rem;
    font-weight: normal;
    color: var(--bosch-blue-30);
    font-family: Bosch-Icon, sans-serif !important;

}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-header-minimize-button {
    display:none;
}

/* The following lines are for specific styling of chatbot frizz: end */