/* Hide the logo on the header */
[data-cognigy-webchat-root] .webchat-header-bar .logoNameContainer .webchat-header-logo {
    display: none;
}

/* Quick reply buttons */
[data-cognigy-webchat-root] button.webchat-quick-reply-template-button {
    border-radius: 0px;
    font-size: 16px;
    font-weight: 400;
    background-color: #6f6660;
    transition: all 250ms ease-in-out;
    border: 1px solid #6f6660;
    padding: 4px 16px;
    min-width: 40px;
    color: white;
    cursor: pointer;
    outline: none;
    min-height: 40px;
}

/* WCAG style for focus */
[data-cognigy-webchat-root] button.webchat-quick-reply-template-button:focus {
    background-color: #6f6660;
}

[data-cognigy-webchat-root] button.webchat-quick-reply-template-button:hover,
[data-cognigy-webchat-root] button.webchat-quick-reply-template-button:active {
    background-color: #554e49 ;
    color: #ffffff;
    border-color: #554e49;
}

[data-cognigy-webchat-root] button.webchat-quick-reply-template-button:disabled {
    background-color: white;
    color: #CCCCCC;
    border: 1px solid #CCCCCC;
}

/* pick date button */
[data-cognigy-webchat-root] button._primaryButton_1s4tq_13._button_1s4tq_1 {
    background-color: white;
    color: rgb(204, 0, 0);
    border: 1px solid rgb(204, 0, 0);
    border-radius: 4px;
    padding: 4px 16px;
}
[data-cognigy-webchat-root] button._primaryButton_1s4tq_13._button_1s4tq_1:hover,
[data-cognigy-webchat-root] button._primaryButton_1s4tq_13._button_1s4tq_1:focus {
    background-color: rgb(204, 0, 0);
    color: #ffffff;
}
[data-cognigy-webchat-root] button._primaryButton_1s4tq_13._button_1s4tq_1:disabled {
    background-color: white;
    color: #CCCCCC;
    border: 1px solid #CCCCCC;
}

/* Buttons from Temporary Contact Information created by BIS team */
[data-cognigy-webchat-root] button.ac-pushButton:hover {
    background: rgb(204, 0, 0);
    color: white;
}

/* Genaral buttons */
[data-cognigy-webchat-root] .webchat-buttons-template-root button.webchat-buttons-template-button,
[data-cognigy-webchat-root] .webchat-buttons-template-root a.phone-number-or-url-anchor {
    border-radius: 0px;
    font-size: 16px;
    font-weight: 400;
    background-color: #6f6660!important;
    transition: all 250ms ease-in-out;
    border: 1px solid #6f6660;
    padding: 4px 16px;
    min-width: 40px;
    color: white;
    cursor: pointer;
    outline: none;
    min-height: 40px;
}
[data-cognigy-webchat-root] .webchat-buttons-template-root a.phone-number-or-url-anchor span {
    color: white;
}
[data-cognigy-webchat-root] .webchat-buttons-template-root a.phone-number-or-url-anchor span:after{
    content: url("../Images/ext_link_v3.svg");
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 5px;
}
[data-cognigy-webchat-root] .webchat-buttons-template-root a.phone-number-or-url-anchor:hover,
[data-cognigy-webchat-root] .webchat-buttons-template-root button.webchat-buttons-template-button:hover {
    background-color: #554e49!important;
    color: #ffffff;
    border-color: #554e49;
}
[data-cognigy-webchat-root] .webchat-buttons-template-root a.phone-number-or-url-anchor:hover span {
    color: #ffffff;
}

/* WCAG style for focus */
[data-cognigy-webchat-root] .webchat-buttons-template-root button.webchat-buttons-template-button:focus,
[data-cognigy-webchat-root] .webchat-buttons-template-root a.phone-number-or-url-anchor:focus {
    background-color: #6f6660!important;
}

 /* WCAG add border when input field for user text is focused */
[data-cognigy-webchat-root] .webchat .webchat-input.webchat-input-text-active {
    border: 1px solid rgb(204, 0, 0);
    border-radius: 4px;
}

 /* CTI adaptive card link */
[data-cognigy-webchat-root] .ac-richTextBlock .ac-textRun a {
    font-size: 14px !important;
    color: #CC0000 !important;
    text-decoration: underline !important;
}
[data-cognigy-webchat-root] .ac-richTextBlock .ac-textRun a:hover {
    color: #990000 !important;
}

/* links inside say nodes */
[data-cognigy-webchat-root] .webchat-message-row.bot p a {
    color: #CC0000 !important;
    text-decoration: underline !important;
    font-size: 16px !important;
}
[data-cognigy-webchat-root] .webchat-message-row.bot p a:hover {
    color: #990000 !important;
}

/* Rating plugin */

[data-cognigy-webchat-root] .rating-plugin-container {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: #f2f3f6;
}

[data-cognigy-webchat-root] .rating-plugin-title {
  font-size: 16px;
  font-weight: bold;
  color: #101010;
  margin-bottom: 16px;
}

[data-cognigy-webchat-root] .custom-circle-rating {
  display: flex;
  gap: 10px;
  align-items: center;
}

[data-cognigy-webchat-root] .rating-circle-button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-cognigy-webchat-root] .rating-circle-button:focus {
  outline: 2px solid #cc0000;
  border-radius: 50%;
}

[data-cognigy-webchat-root] .rating-circle-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

[data-cognigy-webchat-root] .rating-circle-empty {
  border: 2px solid #52627c;
  background: transparent;
}

[data-cognigy-webchat-root] .rating-circle-filled {
  background: transparent;
  border: 2px solid #101010;
  position: relative;
}

[data-cognigy-webchat-root] .rating-circle-filled::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: #101010;
  border-radius: 50%;
}

[data-cognigy-webchat-root] .rating-plugin-submit-button {
  border-color: #cc0000;
  color: #fff;
  background: #cc0000;
  font-weight: bold;
  padding: 12px;
}

[data-cognigy-webchat-root] .rating-plugin-submit-button:hover {
  border-color: #990000;
  background: #990000;
}

[data-cognigy-webchat-root] .rating-plugin-labels-container {
  display: flex;
  justify-content: space-between;
  width: 228px;
  font-size: 12px;
  font-weight: bold;
  color: #101010;
  margin: 10px 0 16px;
}