[data-cognigy-webchat-root].webchat-root {
    --yellowColor: #FCE500;
    --blueColor: #27509B;
    --globeBotColor: #EBEBEB;
    --globeUserColor: #D2EAFF;
    --textRegularColor: #333333;
}

[data-cognigy-webchat-root] .cognigy-webchat-1x6n7jn {
    border-radius: 10px !important;
    outline: none;
    opacity: 0;
    visibility: 0;
    animation-name: jumpUp;
    animation-duration: 0.35s;
    animation-delay: 0.5s;
    animation-fill-mode: forwards;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-header-bar {
    display: flex !important;
    flex-wrap: wrap !important;
    flex-direction: row !important;
    justify-content: space-between;
    align-items: flex-start;
    background: var(--blueColor);
    min-height: 95px !important;
    box-shadow: none !important;
    padding: 10px 10px 40px 20px !important;
    gap: 0px;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-header-title {
    font-size: 1.6rem;
    font-weight: lighter;
    width: 100%;
    order: 4 !important;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-header-close-button[aria-label="Close Chat"] {
    order: 3 !important;
    width: 42px;
    height: 42px;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-header-reload-button[aria-label="Reload Chat"] {
    order: 2 !important;
    width: 42px;
    height: 42px;
}

#content-header-logo {
    display: block;
    order: 1 !important;
    width: 60%;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-header-close-button:hover {
    background-color: transparent !important;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-header-close-button:hover>svg {
    fill: var(--yellowColor) !important;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-header-reload-button:hover {
    background-color: transparent !important;
}


#header-button-reload:hover svg path,
#header-button-reload:hover svg polyline {
    stroke: yellow !important;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-quick-reply-template-header-message {
    background: var(--globeBotColor);
    color: var(--textRegularColor);
    box-shadow: none;
    border-radius: 0px 16px 16px 16px !important;
    border: 1px solid rgb(230, 230, 230);
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .regular-message.bot {
    background: var(--globeBotColor);
    color: var(--textRegularColor);
    box-shadow: none;
    border-radius: 0px 16px 16px 16px !important;
    border: 1px solid rgb(230, 230, 230);
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .regular-message.bot a {
    color: rgba(0, 0, 0, .6);
    text-decoration: underline;
    font-weight: bold;
    transition: all 0.6s ease;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .regular-message.bot a:hover {
    color: rgba(0, 0, 0, 1);
    text-decoration: underline;
    font-weight: bold;
    transition: all 0.6s ease;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .regular-message.user {
    background: var(--globeUserColor);
    color: var(--textRegularColor);
    border-radius: 0px 12xp 12px 12px !important;
    box-shadow: none;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .webchat-avatar {
    align-self: flex-start !important;
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .cognigy-webchat-47vdrg {
    background-image: url("https://cognigy-bucket.s3.eu-west-3.amazonaws.com/prod/webchat/Michelin/tire_avatar.png");
}

[data-cognigy-webchat-root] [data-cognigy-webchat].webchat .cognigy-webchat-i64ipa {
    display: none;
}

[data-cognigy-webchat-root] .webchat-chat-options-action-btns-title {
    font-size: 18px;
    font-family: Arial, Helvetica, sans-serif;
    color: #FCE500;
}

[data-cognigy-webchat-root] .cognigy-webchat-1o2zi2f {
    background: var(--globeBotColor) !important;
    color: var(--textRegularColor) !important;
    box-shadow: none !important;
}

[data-cognigy-webchat-root] .webchat-quick-reply-template-replies-container .webchat-quick-reply-template-reply {
    color: var(--textRegularColor);
    border: 1px solid var(--blueColor);
    border-radius: 12px 0px 12px 12px;
}

[data-cognigy-webchat-root] .webchat-quick-reply-template-replies-container .webchat-quick-reply-template-reply:hover {
    background-color: var(--blueColor);
    color: white;
}

[data-cognigy-webchat-root] button[data-cognigy-webchat-toggle] {
    display: block;
    position: absolute;
    right: 20px !important;
    bottom: 150px !important;
    width: 48px;
    height: 48px;
    background: var(--blueColor);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    box-shadow: none !important;
    border-radius: 25px;
}

[data-cognigy-webchat-toggle] svg {
    display: none;
}

[data-cognigy-webchat-root] button[aria-label="Open chat"] {
    background-image: url("https://cognigy-bucket.s3.eu-west-3.amazonaws.com/prod/webchat/Michelin/openChat.png");
}

[data-cognigy-webchat-root] button[aria-label="Open chat"]:hover {
    background-image: url("https://cognigy-bucket.s3.eu-west-3.amazonaws.com/prod/webchat/Michelin/openChat.png");
}

[data-cognigy-webchat-root] button[aria-label="Close chat"] {
    background-image: url("https://cognigy-bucket.s3.eu-west-3.amazonaws.com/prod/webchat/Michelin/closeChat.png");
}

[data-cognigy-webchat-root] button[aria-label="Close chat"]:hover {
    background-image: url("https://cognigy-bucket.s3.eu-west-3.amazonaws.com/prod/webchat/Michelin/closeChat.png");
}

[data-cognigy-webchat-root] .cognigy-webchat-1x6n7jn {
    background-color: #FFFFFF !important;
    overflow: hidden !important;
}

[data-cognigy-webchat-root] .webchat-chat-history {
    background-color: #FFFFFF !important;
    overflow-x: hidden !important;
    outline-style: dotted;
}

[data-cognigy-webchat-root] .webchat-chat-history:focus {
    background-color: lightblue;
}

[data-cognigy-webchat-root] .cognigy-webchat-7dbdye {
    box-shadow: none !important;
}

[data-cognigy-webchat-root] .cognigy-webchat-7dbdye div {
    width: 96%;
    box-shadow: none !important;
    border-bottom: 2px solid var(--blueColor);
    margin: 0px auto 20px auto;
    border-radius: 0px;
}

[data-cognigy-webchat-root] .cognigy-webchat-7dbdye form {
    border-radius: 0px !important;
    border: none !important;
}

[data-cognigy-webchat-root] .cognigy-webchat-7dbdye textarea {
    border-radius: 0px !important;
}

[data-cognigy-webchat-root] #cognigyBrandingLink {
    display: none !important;
}

[data-cognigy-webchat-root] .cognigy-webchat-w1080 {
    fill: var(--blueColor) !important;
}

[data-cognigy-webchat-root] .webchat-message-row {
    align-items: flex-start;
}

#newGreetingMessage {
    position: absolute;
    z-index: 1000;
    max-width: 240px;
    padding: 20px 40px 15px 20px;
    border-radius: 10px 10px 0px;
    background-color: #FCE500;
    border: rgb(51, 51, 51);
    color: rgb(51, 51, 51);
    font-family: "Arial", sans-serif;
    text-align: center;
    font-size: 16px !important;
    font-weight: normal;
    bottom: 210px;
    right: 100px;
    user-select: none;
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: 0;
    cursor: pointer;
}

.showMsg {
    animation-name: slideRightIn;
    animation-duration: 0.35s;
    animation-fill-mode: forwards;
}

.hiddenMsg {
    animation-name: slideRightOut;
    animation-duration: 0.35s;
    animation-fill-mode: forwards;
}

#closeButtonGreeting {
    position: absolute !important;
    top: 0px !important;
    right: 0px !important;
    color: #27509B !important;
    border-radius: 0px 10px 0px 0px !important;
    width: 25px;
    height: 25px;
    background-color: transparent;
    border: 2px solid #27509B;
    cursor: pointer;
    z-index: 1001;
}

#closeButtonGreeting::before {
    content: "";
    display: block;
    position: absolute;
    background-color: #27509B;
    width: 2px;
    height: 15px;
    top: 3px;
    left: 9px;
    border-radius: 5px;
    transform: rotate(-45deg);
}

#closeButtonGreeting::after {
    content: "";
    display: block;
    position: absolute;
    background-color: #27509B;
    width: 2px;
    height: 15px;
    top: 3px;
    left: 9px;
    border-radius: 5px;
    transform: rotate(45deg);
}

#closeButtonGreeting:hover {
    background-color: #27509B;
}

#closeButtonGreeting:hover::before {
    background-color: #FCE500;
}

#closeButtonGreeting:hover::after {
    background-color: #FCE500;
}

#header-logo {
    display: block;
    width: 150px;
    height: auto;

}

div:focus {
    outline: none;
}

#reload-chat {
    border-radius: 50%;
    border: none;
    background-color: transparent;
    background: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
    margin: 5px;
    padding: 3px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


@keyframes jumpUp {
    from {
        transform: translate3d(0px, 45%, 0) perspective(300px) rotate3d(3, 0, 0, -45deg) scale(0.3, 0.1);
        opacity: 0;
    }

    to {
        opacity: 1;
        transform: translate3d(0px, 0, 0) perspective(500px) rotate3d(0, 0, 0, -25deg) scale(1);
    }
}

@keyframes slideRightIn {
    from {
        transform: translate3d(70px, 0%, 0) perspective(300px) rotate3d(0, 100, 0, -50deg) scale(0.6, 1);
        opacity: 0;
    }

    to {
        opacity: 1;
        transform: translate3d(0px, 0, 0) perspective(500px) rotate3d(0, 0, 0, -25deg) scale(1);
    }
}

@keyframes slideRightOut {
    from {
        opacity: 1;
        transform: translate3d(0px, 0, 0) perspective(500px) rotate3d(0, 0, 0, -25deg) scale(1);
    }

    to {
        transform: translate3d(70px, 0%, 0) perspective(300px) rotate3d(0, 100, 0, -50deg) scale(0.6, 1);
        opacity: 0;
    }
}
