.sticky-btns{
	position: fixed;
	bottom: 150px;
	right: 10px;
	z-index: 10;
	cursor: pointer;
	.open-chatbot{
		height: 50px;
		width: 50px;
		background: #00dd8f !important;
		display: flex;
		justify-content: center;
		align-items: center;
		border-radius: 100%;
    box-shadow: 1px 1px 7px 0px rgb(0 0 0 / 22%);
		&:focus,&:focus-within{
			outline: 2px solid black;
		}
	}	  
}
#chatbot-cfa-pharmacie {
  background: #0b3c61 !important;
  height: 400px;
  width: 320px;
  overflow: hidden;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  position: absolute;
  bottom: 50%;
  right: 0;
  transform: scale(0);
  transition: all 0.3s ease-in-out;
  transform-origin: bottom right;
  @media(min-width:768px){
    width: 360px;
  }
  &.open {
    transform: scale(1);
    padding: 2px;
  }

  .chatbot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 15px;

    &>div {
      display: flex;
      align-items: center;
    }

    h4 {
      color: white;
      margin-left: 5px;
      font-size: 16px;
      font-weight: 400;
    }

    #chatbot-cfa-pharmacie-close {
      background: none;
      border: none;
      padding: 0;
	  &:focus,&:focus-within{
		  outline: 2px solid black;
	  }
    }
  }

  .chatbot-cfa-pharmacie-body {
    border-bottom-right-radius: 18px;
    border-bottom-left-radius: 18px;
    background-color: white;
    flex-grow: 1;
    max-height: 100%;
    overflow: auto;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
	cursor: default;

    .chatbot-product {
      &+.chatbot-product {
        margin-top: 5px;
      }

      display: flex;
      gap: 10px;
      padding: 5px;
      background-color: white;

      img,
      span {
        display: flex;
        justify-content: center;
        align-items: center;
      }

      img {
        width: 35%;
      }

      span {
        color: #009fe3;
        padding: 5px;
        width: 65%;
        font-size: 14px;
      }
    }

    &> :first-child {
      margin-top: auto !important;
    }

    div+div {
      margin-top: 15px;
    } 

    .replay {
      display: flex;
      margin-left: auto;
      align-items: center;
      margin-top: 15px;
      cursor: pointer;
	  background: none !important;
	  border: none !important;
	  &:focus-within{
		  outline: 2px solid black;
	  }

      span {
        display: block;
        margin-left: 15px;
        width: 100px;
		line-height: normal;
		color: #0b3c61;
      }
    }

    .loading {
      padding: 0 5px;

      span {
        display: inline-block;
        height: 8px;
        width: 8px;
        border-radius: 100%;
        background-color: white;
        margin: 0 4px;
      }
    }

    .bot-message {
      display: flex;
      justify-content: flex-start;
      align-items: flex-end;
      width: 100%;

      .avatar {
        background-image: url('/wp-content/plugins/chatbot-decisionnel/images/chatbot.png') !important;
        background-size: cover;
        display: block;
        height: 20px;
        width: 20px;
      }

      .message {
        margin-left: 3px;
        max-width: calc(100% - 46px);
        background-color: #0b3c61;
        color: white;
        padding: 15px 15px;
        border-radius: 18px;
        border-bottom-left-radius: 2px;
        line-height: 1.5;
    		a{
    			color: #00DD91 !important;
    			font-weight: 500;
    			text-decoration: underline !important;
    		}
        ul{
          margin-left:25px;
          margin-bottom:15px;
        }
      }
    }

    .user-message {
      display: flex;
      justify-content: flex-end;
      align-items: flex-end;
      width: 100%;

      .avatar {
        background-image: url('/wp-content/plugins/chatbot-decisionnel/images/user.svg') !important;
        background-size: 15px 15px;
        background-repeat: no-repeat;
        background-position: center;
        background-color: #00dd8f;
        display: block;
        height: 20px;
        width: 20px;
        border-radius: 100%;
      }

      .message {
        margin-right: 3px;
        max-width: calc(100% - 46px);
        background: #ddfbf0 !important;
        color: #0b3c61;
        font-weight: 500;
        padding: 10px 15px;
        border-radius: 18px;
        border-bottom-right-radius: 2px;
        display: flex;
        flex-direction: column;

        a {
          color: white;
          font-weight: 500;
          text-decoration: underline !important;
        }

        label.cb {
          display: flex;
          cursor: pointer;
          line-height:1.35em;
          margin-bottom: 10px;

          input {
            display: none;
            &:checked+.faked-cb:before {
              position: absolute;
              top: 2px;
              left: 2px;
              border-radius: 100%;
              content: '';
              width: 10px;
              height: 10px;
              background-color: #0b3c61;
            }
          }

          .faked-cb {
            margin-top: 4px;
            position: relative;
            display: inline-block;
            width: 16px;
            height: 16px;
            flex-shrink: 0;
            border-radius: 100%;
            border: 1px solid #0b3c61;
            margin-right: 5px;
			&:[tabindex="0"]:focus-within{
				outline: 2px solid black;
			}
          }
        }
      }
    }
  }
}