@import "https://fonts.googleapis.com/css?family=Noto+Sans";

.disabled {
  cursor: not-allowed;
  pointer-events: none;
}

.floating-chat {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--main-dark-blue);
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 290px;
    height: 45px;
    border-radius: 1rem;
    transform: translateY(70px);
    transition: all 250ms ease-out;
    background-color: var(--main-dark-blue);
    /* box-shadow: 0 .5rem 2rem hsl(0, 0%, 50%); */
    z-index: 1031;
    transition: all 0.5s ease;
    width: 60px;
    height: 60px;
    bottom: 10px;
    right: 10px;
    border: 1px solid white;
}

    .floating-chat.expand {
        width: 350px;
        height: 390px;
        bottom: 10px;
        right: 10px;
    }

    .floating-chat.expand.ischatai {
        height: 590px;
    }

    .floating-chat.maximize {
        width: 100vw;
        height: 100%;
        right: 0;
        bottom: 0;
        border: 0px solid white;
        border-radius: 0;
    }

.floating-chat img.dennis-rasmus {
  position: absolute;
  top: -77px;
  left: -1px;
  max-width: auto;
  max-height: 120px;
  border-radius: 0 0 0 0;
  z-index: 1001;
}

.floating-chat.expand img.dennis-rasmus {
  position: absolute;
  top: -70px;
  transition: 0.5s;
  z-index: 1001;
}


    .floating-chat.maximize img.dennis-rasmus {

    }

    .floating-chat a.ai-blank,
    .floating-chat a.ai-scaling,
    .floating-chat.maximize img.dennis-rasmus,
    .floating-chat.maximize p.need-help {
        display: none
    }

   /*maximize*/

    .floating-chat.expand a.ai-blank, .floating-chat.maximize a.ai-blank {
        position: absolute;
        top: 11px;
        right: 70px;
        max-width: 20px;
        z-index: 1001;
        display: unset;
        color: white;
        cursor: pointer;
    }

    .floating-chat.expand a.ai-scaling, .floating-chat.maximize a.ai-scaling {
        position: absolute;
        top: 15px;
        right: 35px;
        max-width: 20px;
        z-index: 1001;
        display: unset;
        color: white;
        cursor: pointer;
    }

a.ai-scaling:hover, a.ai-blank:hover {
    color: rgb(249 115 22) !important;
}

.floating-chat img.arrow-down {
    position: absolute;
    top: 18px;
    right: 30px;
    max-width: 20px;
    z-index: 1001;
    transform: rotate(0deg);
    transition: transform 0.33s ease-in-out;
}

.floating-chat.expand img.arrow-down, .floating-chat.maximize img.arrow-down {
    transform: rotate(-180deg);
    top: 20px;
    right: 20px;
}

.floating-chat p.need-help {
  font-family: "CooperHewitt-Bold", sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: white;
  position: absolute;
  top: 10px;
  left: 120px;
  z-index: 1001;
}

.floating-chat.expand p.need-help {
  top: 10px;
}

.floating-chat img.animate-top {
  position: absolute;
  z-index: 1001;
  top: -10px;
  max-width: 65px;
  max-height: 65px;
}

.floating-chat .chat .header img {
  position: relative;
  max-height: 30px;
}

/* .floating-chat.enter:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
} */

.floating-chat.enter {
  transform: translateY(0);
}

.floating-chat.expand {
    background: #e5e7eb;
    background-color: #001635;
    width: 350px;
    height: 390px;
    border-radius: 2rem 5px 5px 5px;
    cursor: auto;
    z-index: 9999;
}

.tooltip.show {
  z-index: 10000;
}

.floating-chat :focus {
  outline: 0;
}

.floating-chat button {
    background: transparent;
    border: 0;
    color: white;
    border-radius: 3px;
    cursor: pointer;
    padding: 15px 20px;
    display: flex;
    text-align: left;
    gap: 20px;
    align-items: start;
    width: 100%;
    font-size: 18px;
    font-family: 'CooperHewitt-Book';
    align-items: center;
    border: 1px solid #f36823;
}

.floating-chat .chat {
    display: flex;
    flex-direction: column;
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    border-radius: 50%;
    transition: all 250ms ease-out;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    
}

.floating-chat .chat.enter {
  opacity: 1;
  border-radius: 0;
  /* margin: 10px; */
  width: auto;
  height: auto;
}

.floating-chat .chat .header {
  flex-shrink: 0;
  padding: 10px;
  display: flex;
  background-color: var(--main-dark-blue);
/*  background: -moz-linear-gradient(
    45deg,
    #010e22 0%,
    #010e22 25%,
    var(--main-dark-blue) 50%,
    var(--main-dark-blue) 75%,
    var(--main-dark-blue) 100%
  );
  background: linear-gradient(
    45deg,
    #010e22 0%,
    #010e22 25%,
    var(--main-dark-blue) 50%,
    var(--main-dark-blue) 75%,
    var(--main-dark-blue) 100%
  );*/
  background-repeat: no-repeat;
  background-attachment: fixed;
  border-radius: 2rem 0 0 0;
}

.floating-chat .chat .header .title {
  flex-grow: 1;
  flex-shrink: 1;
  padding: 0 5px;
  align-content: center
}

.floating-chat .chat .header button,
a {
  flex-shrink: 0;
  transition: 0.4s ease-in-out;
}

.floating-chat .chat .header a {
  color: white;
}

.floating-chat .chat .header button:hover {
  color: rgb(249 115 22);
}
.floating-chat .chat .header a:hover {
  color: rgb(249 115 22);
}

    .floating-chat .chat .messages {
        padding: 20px;
        margin: 0;
        list-style: none;
        overflow-y: scroll;
        overflow-x: hidden;
        flex-grow: 1;
        border-radius: 4px;
        background: transparent;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
    }

.floating-chat .chat .messages::-webkit-scrollbar {
  width: 5px;
  margin-right: 10px;
}

.floating-chat .chat .messages::-webkit-scrollbar-track {
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.1);
}

.floating-chat .chat .messages::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.2);
}

.floating-chat .chat .messages li {
  position: relative;
  clear: both;
  display: inline-block;
  font: 12px/16px "Noto Sans", sans-serif;
  border-radius: 10px;
  background-color: rgba(25, 147, 147, 0.2);
  word-wrap: break-word;
}

.floating-chat .chat .messages li:before {
  position: absolute;
  top: 0;
  width: 25px;
  height: 25px;
  border-radius: 25px;
  content: "";
  background-size: cover;
}

.floating-chat .chat .messages li:after {
  position: absolute;
  top: 10px;
  content: "";
  width: 0;
  height: 0;
  border-top: 10px solid white;
}

.floating-chat .chat .messages li.other {
  animation: show-chat-odd 0.15s 1 ease-in;
  -moz-animation: show-chat-odd 0.15s 1 ease-in;
  -webkit-animation: show-chat-odd 0.15s 1 ease-in;
  float: right;
  /* margin-right: 45px; */
  background-color: var(--main-dark-blue);
  color: white;
  width: 100%;
  max-width: 300px;
}

/* .floating-chat .chat .messages li.other:before {
    right: -45px;
    background-image: url('https://www.fonde.dk/images/Media/233270158/Dennis2.jpg');
}

.floating-chat .chat .messages li.other:after {
    border-right: 10px solid transparent;
    right: -10px;
} */

.floating-chat .chat .messages li.self {
  animation: show-chat-even 0.15s 1 ease-in;
  -moz-animation: show-chat-even 0.15s 1 ease-in;
  -webkit-animation: show-chat-even 0.15s 1 ease-in;
  float: left;
  margin-left: 45px;
  background-color: white;
  color: black;
}

.floating-chat .chat .messages li.self:not(:last-child),
.floating-chat .chat .messages li.other:not(:last-child) {
  margin: 0 0 10px 45px;
}

.floating-chat .chat .messages li.self:before {
  left: -45px;
  background-image: url("https://www.fonde.dk/images/Media/233270158/Dennis2.jpg");
}

.floating-chat .chat .messages li.self + li.self:before {
  background-image: unset;
}

.floating-chat .chat .messages li.self:after {
  border-left: 10px solid transparent;
  left: -10px;
}

.floating-chat .chat .messages li.self:not(:first-child):after {
  border-left: 0px solid transparent;
  left: 0px;
}

.floating-chat .chat .footer {
  flex-shrink: 0;
  display: flex;
  padding: 10px;
  max-height: 90px;
  background: white;
  position: absolute;
  width: 100%;
  bottom: 0 !important;
}

.floating-chat .chat .footer .text-box {
  border-radius: 10px;
  background-color: rgb(229, 231, 235);
  min-height: 100%;
  width: 100%;
  margin-right: 10px;
  color: black;
  overflow-y: auto;
  padding: 5px 10px;
}

.floating-chat .chat .footer .text-box::-webkit-scrollbar {
  width: 5px;
}

.floating-chat .chat .footer .text-box::-webkit-scrollbar-track {
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.1);
}

.floating-chat .chat .footer .text-box::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.2);
}

.floating-chat .chat .footer button {
  border-radius: 0.5rem;
  padding: 0.5rem 0.8rem;
  border: none;
  background-color: #010e22;
  transition: 0.5s;
}

.floating-chat .chat .footer button:hover {
  background-color: rgb(249 115 22);
  transition: 0.5;
}

@keyframes show-chat-even {
  0% {
    margin-left: -480px;
  }

  100% {
    margin-left: 0;
  }
}

@-moz-keyframes show-chat-even {
  0% {
    margin-left: -480px;
  }

  100% {
    margin-left: 0;
  }
}

@-webkit-keyframes show-chat-even {
  0% {
    margin-left: -480px;
  }

  100% {
    margin-left: 0;
  }
}

@keyframes show-chat-odd {
  0% {
    margin-right: -480px;
  }

  100% {
    margin-right: 0;
  }
}

@-moz-keyframes show-chat-odd {
  0% {
    margin-right: -480px;
  }

  100% {
    margin-right: 0;
  }
}

@-webkit-keyframes show-chat-odd {
  0% {
    margin-right: -480px;
  }

  100% {
    margin-right: 0;
  }
}

.wipe-effect {
  border-width: 5px;
  border-image-source: linear-gradient(
    45deg,
    rgb(249 115 22) 0%,
    rgb(249 115 22) 25%,
    rgb(30 58 138) 50%,
    rgb(30 58 138) 75%,
    rgb(30 58 138) 100%
  );
  border-style: solid;
  border-image-slice: 1;
  border-radius: 0.5rem !important;
  /* Add this */
  animation: wipe 1.75s linear infinite;
}

@keyframes wipe {
  0% {
    border-image-source: linear-gradient(
      45deg,
      rgb(249 115 22) 0%,
      rgb(249 115 22) 25%,
      rgb(30 58 138) 50%,
      rgb(30 58 138) 75%,
      rgb(30 58 138) 100%
    );
  }

  20% {
    border-image-source: linear-gradient(
      45deg,
      rgb(30 58 138) 0%,
      rgb(249 115 22) 25%,
      rgb(249 115 22) 50%,
      rgb(30 58 138) 75%,
      rgb(30 58 138) 100%
    );
  }

  40% {
    border-image-source: linear-gradient(
      45deg,
      rgb(30 58 138) 0%,
      rgb(30 58 138) 25%,
      rgb(249 115 22),
      rgb(249 115 22) 75%,
      rgb(30 58 138) 100%
    );
  }

  60% {
    border-image-source: linear-gradient(
      45deg,
      rgb(30 58 138) 0%,
      rgb(30 58 138) 25%,
      rgb(30 58 138) 50%,
      rgb(249 115 22) 75%,
      rgb(249 115 22) 100%
    );
  }

  80% {
    border-image-source: linear-gradient(
      45deg,
      rgb(249 115 22) 0%,
      rgb(30 58 138) 25%,
      rgb(30 58 138) 50%,
      rgb(30 58 138) 75%,
      rgb(249 115 22) 100%
    );
  }

  100% {
    border-image-source: linear-gradient(
      45deg,
      rgb(249 115 22) 0%,
      rgb(249 115 22) 25%,
      rgb(30 58 138) 50%,
      rgb(30 58 138) 75%,
      rgb(30 58 138) 100%
    );
  }
}

.border-solid {
  border: var(--main-dark-blue) solid 3px !important;
  border-radius: 1rem;
}

.dropdown-icon-change:hover {
  content: "Select icon";
  color: black;
}

.alert-login {
    height: 100%; 
    background-color: #001635 !important;
    color: black; 
    display: flex; 
    justify-content: center;
    align-items: center;
}

.button-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.custom-button {
    padding: 2rem 1.5rem;
    background-color: #f3ffff;
    color: #333;
    border-radius: 0.5rem;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .custom-button:hover {
        background-color: #ecf8f8;
    }

    .custom-button:disabled {
        cursor: not-allowed;
        opacity: 0.6;
    }

.icon-size {
    width: 25px;
    height: 25px;
}

/* Specific button colors */
.bg-light-blue {
    background-color: transparent;
}

.bg-light-green {
    background-color: transparent;
}

.bg-light-pink {
    background-color: transparent;
}

.hover-light-blue:hover {
    background-color: #283e5d;
    opacity: 0.8
}

.hover-light-green:hover {
    background-color: #283e5d;
    opacity: 0.8
}

.hover-light-pink:hover {
    background-color: #283e5d;
    opacity: 0.8
}
