/*
    Chat main container styles
*/

[data-cognigy-webchat-root].webchat-root {
  --webchat-primary-contrast-color: rgba(0, 0, 0, 0.8);
  --nd-webchat-bottom-position: 36px;
  --nd-webchat-right-position: 36px;
  --nd-webchat-button-bottom-position-mobile: 24px;
  --nd-webchat-button-right-position-mobile: 16px;
  --nd-webchat-height: 780px;
  --nd-webchat-width: 460px;
}

[data-cognigy-webchat-root].webchat-root [data-cognigy-webchat].webchat {
  min-height: 0;
  font-family: YouNik;
}

@media screen and (min-width: 576px) {
  [data-cognigy-webchat-root].webchat-root [data-cognigy-webchat].webchat {
    bottom: var(--nd-webchat-bottom-position);
    right: var(--nd-webchat-right-position);
    width: var(--nd-webchat-width);
    height: min(
      calc(100vh - 2 * var(--nd-webchat-bottom-position)),
      var(--nd-webchat-height)
    );
    min-height: 0;
    border-radius: 24px;
  }
}

/*
    Chat toggle button styles
*/

[data-cognigy-webchat-root].webchat-root
  [data-cognigy-webchat-toggle].webchat-toggle-button {
  bottom: var(--nd-webchat-button-bottom-position-mobile);
  right: var(--nd-webchat-button-right-position-mobile);
  width: 56px!important;
  height: 56px!important;
  bottom: 16px!important;
  right: 16px!important;
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.16)!important;
}

@media screen and (min-width: 576px) {
  [data-cognigy-webchat-root].webchat-root
    [data-cognigy-webchat-toggle].webchat-toggle-button {
    bottom: var(--nd-webchat-bottom-position);
    right: var(--nd-webchat-right-position);
    width: 64px!important;
    height: 64px!important;
    bottom: 32px!important;
    right: 32px!important;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.16)!important;

  }
}

@media screen and (min-width: 576px) {
  [data-cognigy-webchat-root].webchat-root
    [data-cognigy-webchat-toggle].webchat-toggle-button
    svg {
    width: 32px;
    height: 32px;
  }
}

[data-cognigy-webchat-root].webchat-root
  [data-cognigy-webchat-toggle].webchat-toggle-button,
[data-cognigy-webchat-root].webchat-root
  [data-cognigy-webchat-toggle].webchat-toggle-button:hover {
  background: #3c3f34;
  fill: #ffffff !important;
  background: url("https://images.ctfassets.net/qn2mzafc6iit/3TIej07HTM9EZg26sj2zQ1/2f92001d29f7b32a9f0f3c5a0e4bdbb3/Chat_Desktop_Icon.svg")!important;
  background-repeat: no-repeat!important;
  background-size: 100%!important;
}

[data-cognigy-webchat-root].webchat-root
    [data-cognigy-webchat-toggle].webchat-toggle-button
    svg{
  display: none!important;
}

/*
    Chat homescreen header styles
*/

[data-cognigy-webchat-root].webchat-root
  .webchat-homescreen-content
  .webchat-homescreen-header {
  padding: 13px 4px 0 11px;
  height: unset;
}

[data-cognigy-webchat-root].webchat-root
  .webchat-homescreen-content
  .webchat-homescreen-header
  .webchat-homescreen-header-logo {
  border-radius: 0;
  width: auto;
  height: auto;
  margin: 0;
}

[data-cognigy-webchat-root].webchat-root
  .webchat-homescreen-content
  .webchat-homescreen-header
  .webchat-homescreen-close-button {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 24px;
  width: 24px;
  margin: 0;
  outline-color: var(--webchat-primary-color);
}

[data-cognigy-webchat-root].webchat-root
  .webchat-homescreen-content
  .webchat-homescreen-header
  .webchat-homescreen-close-button
  svg {
  fill: rgba(0, 0, 0, 0.87);
}

/*
    Chat homescreen content styles
*/

[data-cognigy-webchat-root].webchat-root
  .webchat-homescreen-content
  .webchat-homescreen-title {
  margin-inline: auto;
  margin-top: 57px;
  color: rgba(0, 0, 0, 0.8);
  font-family: YouNik;
  font-size: 40px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: 0.2px;
  text-align: center;
}

@media screen and (max-height: 600px) {
  [data-cognigy-webchat-root].webchat-root
    .webchat-homescreen-content
    .webchat-homescreen-title {
    margin-top: 26px;
  }
}

@media screen and (max-height: 500px) {
  [data-cognigy-webchat-root].webchat-root
    .webchat-homescreen-content
    .webchat-homescreen-title {
    margin-top: 10px;
  }
}

[data-cognigy-webchat-root].webchat-root
  .webchat-homescreen-content
  .webchat-homescreen-title::after {
  content: "Sp\00f8rg os om alt";
  display: block;
  margin-top: 14px;
  color: rgba(0, 0, 0, 0.56);
  font-family: YouNik;
  font-size: 16px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: 0.2px;
  text-align: center;
}

[data-cognigy-webchat-root].webchat-root
  .webchat-homescreen-content
  .webchat-homescreen-buttons {
  width: 100%;
}

[data-cognigy-webchat-root].webchat-root
  .webchat-homescreen-content
  .webchat-homescreen-buttons
  .webchat-homescreen-button-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  max-width: none;
  border-top: 1px solid rgba(34, 31, 14, 0.23);
  padding-top: 24px;
}

[data-cognigy-webchat-root].webchat-root
  .webchat-homescreen-content
  .webchat-homescreen-buttons
  .webchat-homescreen-button-container::before {
  content: "\00d8jeblikkelige svar";
  display: block;
  color: rgba(0, 0, 0, 0.8);
  margin-bottom: 12px;
  flex: 1 1 100%;
  font-family: YouNik;
  font-size: 14px;
  font-weight: 500;
  line-height: 15px;
  text-align: center;
}

[data-cognigy-webchat-root].webchat-root
  .webchat-homescreen-content
  .webchat-homescreen-buttons
  .webchat-homescreen-button-container
  .webchat-homescreen-button {
  border: 1px solid rgba(34, 31, 14, 0.23);
  padding: 3px 6px;
}

/*
    Chat homescreen action buttons styles (start chat, chat history)
*/

[data-cognigy-webchat-root].webchat-root
  .webchat-homescreen-root
  .webchat-homescreen-actions {
  position: absolute;
  top: 192px;
  background: transparent;
}

@media screen and (max-height: 600px) {
  [data-cognigy-webchat-root].webchat-root
    .webchat-homescreen-root
    .webchat-homescreen-actions {
    top: 146px;
  }
}

@media screen and (max-height: 500px) {
  [data-cognigy-webchat-root].webchat-root
    .webchat-homescreen-root
    .webchat-homescreen-actions {
    top: 116px;
    background-color: rgb(240, 235, 220);
  }
}

[data-cognigy-webchat-root].webchat-root
  .webchat-homescreen-root
  .webchat-homescreen-actions::after {
  /* content: "Vi gemmer chatten i 30 dage ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬ ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦Ãƒâ€šÃ‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â¦ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã¢â‚¬Å“ ingen hemmeligheder, bare bedre service.\A\A Er du bekymret for din data? SÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬ ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬ ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¥ tjek vores privatlivspolitik ud pÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã¢â‚¬ ÃƒÂ¢Ã¢â€šÂ¬Ã¢â€žÂ¢ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬ ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â‚¬Å¾Ã‚Â¢ÃƒÆ’Ã†â€™Ãƒâ€ Ã¢â‚¬â„¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã‚Â¡ÃƒÆ’Ã†â€™ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â¥ https://yousee.dk/om-yousee/om-cookies"; */
  content: "";
  white-space: pre-wrap;
  display: block;
  margin-top: 24px;
  max-width: 172px;
  color: rgba(0, 0, 0, 0.56);
  font-family: YouNik;
  font-size: 12px;
  font-weight: 500;
  line-height: 14px;
  text-align: center;
}

[data-cognigy-webchat-root].webchat-root
  .webchat-homescreen-root
  .webchat-homescreen-actions
  button {
  width: 152px;
  min-height: 28px;
  height: 28px;
  margin: 0;
  border-radius: 100px;
  background: transparent;
  font-family: YouNik;
  font-size: 14px;
  line-height: 15px;
  font-weight: 500;
  letter-spacing: 0.2px;
  border: 2px solid #323232;
  color: #323232;
}

[data-cognigy-webchat-root].webchat-root
  .webchat-homescreen-root
  .webchat-homescreen-actions
  button
  + button {
  margin-top: 8px;
}

[data-cognigy-webchat-root].webchat-root
  .webchat-homescreen-root
  .webchat-homescreen-actions
  button:hover {
  opacity: 0.8;
}

[data-cognigy-webchat-root].webchat-root
  .webchat-homescreen-root
  .webchat-homescreen-actions
  button:focus,
[data-cognigy-webchat-root]
  .webchat-homescreen-root
  .webchat-homescreen-actions
  button:active {
  opacity: 0.7;
}

[data-cognigy-webchat-root].webchat-root
  .webchat-homescreen-root
  .webchat-homescreen-actions
  .webchat-homescreen-send-button {
  background: #323232;
  color: white;
}

/*
    Chat header bar styles
*/

[data-cognigy-webchat-root].webchat-root .webchat .webchat-header-bar {
  padding: 24px;
}

[data-cognigy-webchat-root].webchat-root
  .webchat
  .webchat-header-bar
  .logoNameContainer {
  height: auto;
}

[data-cognigy-webchat-root].webchat-root
  .webchat-header-logo, .webchat-teaser-message-header-logo {
  display: none!important;
}

[data-cognigy-webchat-root].webchat-root .webchat-header-logo-name-container{
  margin-inline: inherit!important;
}

[data-cognigy-webchat-root].webchat-root .webchat-header-bar{
  justify-content: space-between!important;
  display: flex!important;
;
}

[data-cognigy-webchat-root].webchat-root
  .webchat-header-bar
  .webchat-header-minimize-button {
  display: none;
}

[data-cognigy-webchat-root].webchat-root
  .webchat-header-bar
  .webchat-header-back-button,
[data-cognigy-webchat-root].webchat-root
  .webchat-header-bar
  [data-header-menu-button],
[data-cognigy-webchat-root].webchat-root
  .webchat-header-bar
  .webchat-header-close-button {
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

[data-cognigy-webchat-root].webchat-root
  .webchat-header-bar
  .webchat-header-back-button
  svg,
[data-cognigy-webchat-root].webchat-root
  .webchat-header-bar
  [data-header-menu-button]
  circle,
[data-cognigy-webchat-root].webchat-root
  .webchat-header-bar
  .webchat-header-close-button
  svg {
  fill: rgba(255, 255, 255, 0.87) !important;
}

[data-cognigy-webchat-root].webchat-root
  .webchat-header-bar
  [data-header-menu-button]
  svg {
  width: 14px;
  height: 14px;
}

[data-cognigy-webchat-root].webchat-root
  .webchat-header-bar
  .webchat-header-close-button {
  margin-left: -7px;
}

[data-cognigy-webchat-root].webchat-root
  .webchat-header-bar
  .webchat-header-title {
  font-family: YouNik;
  font-weight: 500;
}

[data-cognigy-webchat-root].webchat-root .webchat-message-row {
  display: flex;
  flex-direction: column;
  margin: 0 16px 8px;
}

[data-cognigy-webchat-root].webchat-root .webchat-message-row div {
  font-weight: 400;
}

[data-cognigy-webchat-root].webchat-root .webchat-message-row .message-header {
  column-gap: 8px;
  margin-block: 8px;
  height: auto;
}

[data-cognigy-webchat-root].webchat-root .webchat-message-row .message-header,
[data-cognigy-webchat-root].webchat-root
  .webchat-message-row
  .message-header
  div,
[data-cognigy-webchat-root].webchat-root
  .webchat-message-row
  .message-header
  span {
  display: flex;
  align-items: center;
  font-family: YouNik;
  color: #000000cc;
  line-height: 10px;
}

[data-cognigy-webchat-root].webchat-root
  .webchat-message-row
  .message-header
  span {
  font-size: 10px;
}

[data-cognigy-webchat-root].webchat-root
  .webchat-message-row
  .message-header
  span
  time {
  position: relative;
}

[data-cognigy-webchat-root].webchat-root
  .webchat-message-row
  .message-header
  .webchat-avatar {
  height: 24px;
  width: 24px;
}

/*
    Chat user avatar name
*/
[data-cognigy-webchat-root].webchat-root
  .webchat-message-row.user
  .message-header
  span::before {
  content: "Dig";
  position: relative;
  left: -16px;
}

/*
    Chat user avatar separator
*/
[data-cognigy-webchat-root].webchat-root
  .webchat-message-row.user
  .message-header
  span
  time::before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  left: -8px;
}

[data-cognigy-webchat-root].webchat-root .webchat-message-row .chat-bubble {
  background: rgba(240, 235, 220, 0.6);
  border: none;
  font-size: 16px;
  line-height: 20px;
  margin-block: 0;

  &[class*="_outgoing"] {
    background: #3c3f34;
    color: #ffffff;
  }
}

[data-cognigy-webchat-root].webchat-root
  .webchat-message-row
  .message-header
  + .webchat-quick-reply-template-root {
  margin-top: 12px;
}

[data-cognigy-webchat-root].webchat-root .message-header div svg,
[data-cognigy-webchat-root].webchat-root .message-header span time::before {
  width: 0;
  height: 10px;
  border: 0.5px solid #a2a2a2;
}

[data-cognigy-webchat-root].webchat-root
  .webchat-rating-widget-root
  .webchat-rating-widget-content-container
  .webchat-rating-widget-thumbs-up-button,
[data-cognigy-webchat-root]
  .webchat-rating-widget-root
  .webchat-rating-widget-content-container
  .webchat-rating-widget-thumbs-down-button {
  border: 1px solid rgba(0, 0, 0, 0.3);
  background: transparent;
  padding: 8px 16px;
  border-radius: 32px;
}

[data-cognigy-webchat-root].webchat-root
  .webchat-rating-widget-root
  .webchat-rating-widget-content-container
  .webchat-rating-widget-thumbs-up-button[aria-pressed="true"],
[data-cognigy-webchat-root]
  .webchat-rating-widget-root
  .webchat-rating-widget-content-container
  .webchat-rating-widget-thumbs-down-button[aria-pressed="true"] {
  border-color: #1a1a1a;
}

[data-cognigy-webchat-root].webchat-root
  .webchat-rating-widget-root
  .webchat-rating-widget-content-container
  .webchat-rating-widget-thumbs-up-button[aria-pressed="true"]
  svg
  path,
[data-cognigy-webchat-root].webchat-root
  .webchat-rating-widget-root
  .webchat-rating-widget-content-container
  .webchat-rating-widget-thumbs-down-button[aria-pressed="true"]
  svg
  path {
  fill: #1a1a1a;
}

[data-cognigy-webchat-root].webchat-root
  .webchat-rating-widget-root
  .webchat-rating-widget-content-container
  .webchat-rating-widget-thumbs-up-button::after {
  content: "God";
  display: block;
  color: rgba(0, 0, 0, 0.8);
}

[data-cognigy-webchat-root].webchat-root
  .webchat-rating-widget-root
  .webchat-rating-widget-content-container
  .webchat-rating-widget-thumbs-down-button::after {
  content: "D\00e5rlig";
  display: block;
  color: rgba(0, 0, 0, 0.8);
}

[data-cognigy-webchat-root].webchat-root
  .webchat-rating-widget-root
  div:focus-within {
  border-color: inherit;
  outline: initial;
}

[data-cognigy-webchat-root].webchat-root
  .webchat-rating-widget-root
  .webchat-rating-widget-send-button {
  background: #00dc00;
  color: rgba(0, 0, 0, 0.8);
  padding: 9px 14px;
  border-radius: 100px;
  width: auto;
  min-height: auto;
  height: 28px;
}

[data-cognigy-webchat-root].webchat-root
  .webchat-rating-widget-root
  .webchat-rating-widget-send-button:not(:disabled):hover,
[data-cognigy-webchat-root]
  .webchat-rating-widget-root
  .webchat-rating-widget-send-button:not(:disabled):active {
  background-color: rgba(0, 220, 0, 0.6) !important;
}

[data-cognigy-webchat-root].webchat-root .webchat-rating-widget-root textarea {
  background: transparent;
}

/*
    Previous conversations content styles
*/

[data-cognigy-webchat-root].webchat-root
  .webchat-prev-conversations-root
  .webchat-prev-conversations-content {
  row-gap: 0;
}

[data-cognigy-webchat-root].webchat-root
  .webchat-prev-conversations-root
  .webchat-prev-conversations-content
  .webchat-prev-conversations-item {
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 0;
  padding-block: 24px;
  height: auto;
}

[data-cognigy-webchat-root].webchat-root
  .webchat-prev-conversations-root
  .webchat-prev-conversations-content
  .cognigy-webchat-0
  + svg {
  width: 14px;
  height: 0;
  border: 0.5px solid #cecbbd;
  transform: rotate(90deg);
}

[data-cognigy-webchat-root].webchat-root
  .webchat-prev-conversations-root
  .webchat-prev-conversations-actions {
  padding: 26px 0;
  border-top-color: #cccccc3e;
}

[data-cognigy-webchat-root].webchat-root
  .webchat-prev-conversations-root
  .webchat-prev-conversations-send-button {
  min-height: auto;
  height: auto;
  margin: 0;
  padding: 8px 14px;
  border: 2px solid rgba(0, 0, 0, 0.8);
  border-radius: 100px;
  width: auto;
  background: transparent;
  color: rgba(0, 0, 0, 0.8);
  font-family: YouNik;
  font-size: 16px;
  line-height: 12px;
  font-weight: 500;
  letter-spacing: 0.2px;
}

[data-cognigy-webchat-root].webchat-root
  .webchat-prev-conversations-root
  .webchat-prev-conversations-send-button:hover {
  background: transparent !important;
  opacity: 0.8;
}

[data-cognigy-webchat-root].webchat-root
  .webchat-prev-conversations-root
  .webchat-prev-conversations-send-button:active {
  background: transparent !important;
  opacity: 0.7;
}

[data-cognigy-webchat-root].webchat-root
  .webchat-prev-conversations-item
  > div
  > div:first-child {
  font-size: 16px;
  font-weight: 500;
}

[data-cognigy-webchat-root].webchat-root
  .webchat-prev-conversations-item
  > div
  > div {
  max-width: 250px;
}

[data-cognigy-webchat-root].webchat-root
  .webchat-header-bar
  div.logoNameContainer {
  margin-left: 16px;
}

[data-cognigy-webchat-root].webchat-root .webchat-header-bar div:first-child {
  width: auto !important;
}

/*
    Chat input styles
*/

[data-cognigy-webchat-root].webchat-root .webchat-input {
  display: block;
  margin: 16px;
  padding: 13px 15px;
  border: 1px solid transparent;
  border-radius: 16px;
  background-color: #f2f2f2;
}

[data-cognigy-webchat-root].webchat-root
  .webchat-input.webchat-input-text-active {
  border-color: #00dc00;
}

[data-cognigy-webchat-root].webchat-root
  .webchat-input
  .webchat-input-menu-form {
  border: none;
  align-items: flex-end;
  gap: 0px;
}

[data-cognigy-webchat-root].webchat-root
  .webchat-input
  .webchat-input-menu-form
  .webchat-input-message-input {
  min-height: 52px;
  font-family: YouNik;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  order: 0;
}

[data-cognigy-webchat-root].webchat-root
  .webchat-input
  .webchat-input-menu-form
  .webchat-input-button-add-attachments {
  order: 1;
}

[data-cognigy-webchat-root].webchat-root
  .webchat-input
  .webchat-input-menu-form
  .webchat-input-button-add-attachments
  > svg {
  fill: #000000cc;
  width: 19px;
  height: 19px;
}

[data-cognigy-webchat-root].webchat-root
  .webchat-input
  .webchat-input-menu-form
  .webchat-input-button-speech {
  margin-left: 12px;
}

[data-cognigy-webchat-root].webchat-root
  .webchat-input
  .webchat-input-menu-form
  .webchat-input-button-speech
  > svg {
  width: 19px;
  height: 19px;
}

[data-cognigy-webchat-root].webchat-root
  .webchat-input
  .webchat-input-menu-form
  .webchat-input-button-speech-active {
  fill: black !important;
}

/* Animated background when chat muicrophone is active */
[data-cognigy-webchat-root].webchat-root
  .webchat-input
  .webchat-input-menu-form
  .webchat-input-button-speech
  .webchat-input-button-speech-background {
  top: -6px;
  left: -6px;
  height: 31px;
  width: 31px;
}

[data-cognigy-webchat-root].webchat-root
  .webchat-input
  .webchat-input-menu-form
  .webchat-input-button-send {
  order: 2;
  margin-left: 20px;
}

[data-cognigy-webchat-root].webchat-root
  .webchat-input
  .webchat-input-menu-form
  .webchat-input-button-send
  > svg {
  fill: #000000cc;
  width: 19px;
  height: 19px;
}

/* CHAT FORMATING (LIST) */
[data-cognigy-webchat-root].webchat-root p._text_fm2u2_1 ul,
[data-cognigy-webchat-root].webchat-root p._text_fm2u2_1 ol {
  list-style-position: inside;
}


       /* --- Adaptive Card Styling --- */
div:has(> #ys_id_1) {
    border: none;
}

#ys_id_1 {
    background-color: rgba(240, 235, 220, 0.6) !important;
    position: relative;
}

#ys_id_1 .ac-textBlock {
    font-size: 16px !important;
}

/* --- Header Info Icon --- */
#ys_id_1 #header_info {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url('https://images.ctfassets.net/qn2mzafc6iit/5K8iYZ08Jp6Wa3V4m9j1Ke/f125a46a74ec3bc09aa9b742e20d8215/Union.svg');
    background-size: contain;
    background-repeat: no-repeat;
    cursor: help;
    overflow: visible !important;
}

#ys_id_1 #header_info p {
    display: none !important;
}

#ys_id_1 #header_info::before {
    content: "Når du indtaster dit CPR-nummer, giver du os lov til at hente information om dit kundeforhold hos os.";
    position: absolute;
    top: 25px;
    left: 0;
    width: calc(100% - 10px);
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.32);
    border-radius: 7px;
    padding: 5px;
    font-size: 11px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
    white-space: normal;
    display: none;
}

#ys_id_1 #header_info:hover::before {
    display: block;
}

#ys_id_1 #card_info {
    font-size: 12px!important;
}



#ys_id_1 .ac-columnSet {
    position: relative;
}

/* --- Input Styling --- */
#ys_id_1 input {
    height: 48px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.32) !important;
    font-size: 16px !important;
    color: rgba(0, 0, 0, 0.8) !important;
}

#ys_id_1 input:focus-visible {
    border: 2px solid #757464 !important;
    outline: none;
}

#ys_id_1 input::placeholder {
    font-size: 16px !important;
    color: rgba(0, 0, 0, 0.56);
}

/* --- Autofill Styling --- */
#ys_id_1 .ac-input:-webkit-autofill {
    background-color: #e6f7ff !important;
    border: 1px solid #0072ce !important;
    color: #000 !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* --- Disable States --- */
#ys_id_1 #accountNumbers-disable .ac-input,
#ys_id_1 #phone-disable .ac-input {
    pointer-events: none;
    background-color: #cdcdcd;
}

/* --- Floating Labels --- */
#ys_id_1 .ac-input-container {
    position: relative;
}

#ys_id_1 .ac-input-container:has(input[placeholder="YouSee konto- eller CPR-nummer*"])::after {
    content: "YouSee konto- eller CPR-nummer*";
}

#ys_id_1 .ac-input-container:has(input[placeholder="Navn"])::after {
    content: "Navn";
}

#ys_id_1 .ac-input-container:has(input[placeholder="Telefonnummer"])::after {
    content: "Telefonnummer";
}

#ys_id_1 .ac-input-container::after {
    position: absolute;
    top: -9px;
    left: 12px;
    font-size: 11px;
    color: #666;
    background: linear-gradient(to bottom, #F6F3EA 0%, #F6F3EA 50%, #ffffff 50%, #ffffff 100%);
    padding: 0 4px;
    display: block;
}

#ys_id_1 .ac-input-container:has(.ac-input:placeholder-shown)::after {
    display: none;
}

/* --- Placeholder Styling --- */
#ys_id_1 .ac-input::placeholder {
    color: #666 !important;
    font-size: 14px;
    transition: all 0.2s ease;
}

/* --- Buttons --- */
#ys_id_1 .ac-actionSet button:nth-child(1) {
    background-color: #00dc00;
    color: rgba(0, 0, 0, 0.8);
    height: 32px;
    border: none;
    font-size: 16px !important;
}

#ys_id_1 .ac-actionSet button:nth-child(3) {
    background: none;
    color: rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(0, 0, 0, 0.8);
    height: 32px;
    font-size: 16px !important;
}

/* focus på knapper er synligt */
        #ys_id_1 > div:nth-child(7) > div:nth-child(1){
            overflow: visible!important;
        }

        #ys_id_1 > div:nth-child(6) > div:nth-child(1){
            overflow: visible!important;
        }

        #ys_id_1 > div:nth-child(5) > div:nth-child(1){
            overflow: visible!important;
        }

        #ys_id_1 > div:nth-child(8) > div:nth-child(1){
            overflow: visible!important;
        }
        


/* Temporary disable alerts in MYS summary page and finance page */
.alert_alertBoxContainer__istVp.finance_customAlertBoxContainer__V0qtS.alert_warning__8L4dG.alert_withoutBorder__MBTLr,
div.overview_notificationsWrapper__gFSGo
  .alert_alertBoxContainer__istVp.alert_withoutBorder__MBTLr {
  display: none;
}