body, html {
    height: 100%;
    margin: 0;
    font-family: 'Arial', sans-serif;
    /*background-color: #FFCD05;*/
    overflow-x: hidden; /* Prevent horizontal scrolling */
    background-image: url('images/background.jpg'); /* Replace with your image path */
    background-repeat: no-repeat;
    background-size: cover; /* This will make sure your image covers the whole page */
}

.navbar {
    background-color: #FFFFFF;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px !important;
}

#logo {
    width: auto;
    height: 50px;
}

#yesButton, #noButton, #iphoneButton, #androidButton, #huaweiButton, #downloadedButton{
    border-radius: 10px; /* Rounded corners */
    background-color: #FFD700; /* Gold background */
    color: black; /* Black text */
    font-weight: 600; /* Semi-bold text */
    padding: 10px 20px; /* Padding around text */
    border: none; /* No border */
    cursor: pointer; /* Pointer cursor on hover */
    margin: 5px; /* Space between buttons */
}

#chat-container {
    width: 850px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    justify-content: space-between; /* This will ensure that the input container is pushed to the bottom */
    height: 75%; /* You might need to set a specific height or 100% */
    border: 1px solid #9f9393;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.40); /* Black with 90% opacity */
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5), 
    inset 0px 0px 10px rgba(255, 255, 255, 0.5); /* Outer and inner shadow for embossed effect */
    padding: 20px 15px 20px 15px; /* Add padding to the container */ 
}

.message-wrapper {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.assistant-name {
  order: 2; /* name appears under the icon */
  font-size: 0.8em;
  font-weight: bold;
  color: #FFF;
  margin-top: 2px; /* space between icon and name */
}

/* Icon and name container */
.icon-and-name-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.message-container {
  flex-grow: 1;
  background-color: #F2F2F2; /* bot message background color */
  color: black;
  border: 1px #D1D1D1 solid;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 15px;
}

.bot-wrapper .message-text-container{
  flex-grow: 1;
  background-color: #F2F2F2; /* bot message background color */
  color: black;
  border: 1px #D1D1D1 solid;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 15px;
}


.bot-message .message-icon {
    width: 40px; /* Adjust the size of the icon as needed */
    height: 40px; /* Adjust the size of the icon as needed */
}

.user-message .message-icon {
    width: 40px; /* Adjust the size of the icon as needed */
    height: 40px; /* Adjust the size of the icon as needed */
}


.user-wrapper {
  flex-direction: row-reverse;
}

.bot-message {
    margin-left: 0; /* Adjust as needed */
}

.user-message {
    margin-right: 0; /* Adjust as needed */
}

.user-wrapper .message-container {
  background-color: #ffffff; /* user message background color */
  color: #2d2a2a;
  align-self: flex-end;
}

.navbar {
  justify-content: space-between; /* Adjusts space between logo and toggler */
}

/*.navbar-toggler {
  margin-right: 15px; /* Adjust as needed for spacing
}*/


.message {
  display: flex;
  align-items: flex-start; /* Align items to the top */
  flex-wrap: wrap; /* Allow items to wrap */
  margin-bottom: 15px;
  padding: 10px;
  background-color: #e0e0e0;
  border-radius: 10px;
}

.user-message {
  background-color: #ffffff;
  color: #2d2a2a;
  border: 1px #D1D1D1 solid;
}

.bot-message {
  background-color: #F2F2F2;
  color: black;
  border: 1px #D1D1D1 solid;
}

.chat-input-container {
  display: flex;
  padding: 10px;
  background-color: #fff;
  border-radius: 10px;
  border: 1px #D1D1D1 solid;
margin-top: auto; /* This will push the input container to the bottom */
}

#chat-input {
  flex-grow: 1;
  border: none;
  padding: 10px;
  font-family: Arial, sans-serif;
  font-size: 16px;
}

#chat-input:focus {
  outline: none;
}

#chat-action {
  background-color: #FFD700;
  border: none;
  padding: 10px 20px;
  margin-left: 10px;
  border-radius: 15px;
  cursor: pointer;
}

#chat-action:hover {
  background-color: darken(#FFD700, 40%);
}

.typing-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  margin: 10px 0;
}

.typing-indicator .dot {
  height: 10px;
  width: 10px;
  margin: 0 4px;
  background-color: #333;
  border-radius: 50%;
  display: inline-block;
  animation: typing-blink 1.4s infinite;
}

.typing-indicator .dot:nth-child(1) {
animation-delay: 0s;
}

.typing-indicator .dot:nth-child(2) {
animation-delay: 0.2s;
}

.typing-indicator .dot:nth-child(3) {
animation-delay: 0.4s;
}

@keyframes typing-blink {
0%, 100% {
  transform: scale(0.4);
  opacity: 0.5;
}
50% {
  transform: scale(1);
  opacity: 1;
}
}

#messages {
  max-height: 500px;
  overflow-y: auto;
  scrollbar-width: none; /* for Firefox */
  -ms-overflow-style: none; /* for Internet Explorer and Edge */
}

#messages::-webkit-scrollbar {
  display: none; /* for Chrome, Safari, and Opera */
}

.chat-header h2 {
  font-size: 28px;
  text-align: center;
  padding-bottom: 10px;
  color: #FFF;
}


/* Rounded border */
hr.rounded {
  border-top: 2px solid #d6d6d6;
  border-radius: 5px;
}

.webflow-section {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  background-color: #ffcc00 !important;
  border-radius: 10px !important;
  padding: 20px !important;
}

@font-face {
  font-family: webflow-icons;
  src: url("data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8SBiUAAAC8AAAAYGNtYXDpP+a4AAABHAAAAFxnYXNwAAAAEAAAAXgAAAAIZ2x5ZmhS2XEAAAGAAAADHGhlYWQTFw3HAAAEnAAAADZoaGVhCXYFgQAABNQAAAAkaG10eCe4A1oAAAT4AAAAMGxvY2EDtALGAAAFKAAAABptYXhwABAAPgAABUQAAAAgbmFtZSoCsMsAAAVkAAABznBvc3QAAwAAAAAHNAAAACAAAwP4AZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpAwPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAQAAAAAwACAACAAQAAQAg5gPpA//9//8AAAAAACDmAOkA//3//wAB/+MaBBcIAAMAAQAAAAAAAAAAAAAAAAABAAH//wAPAAEAAAAAAAAAAAACAA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f/9/70FtgPDAAAACAACAAAAAAAAAAEAAAPA/8AAAAW3//3//QW2AAEAAAAAAAAAAAAAAAAAAAAMBAAAAAAAAAAAAAAAAgAAAAQAASAEAADgBAAAwAQAAJ0EAP/9BAAAAAQAAAAFtwAAAAAAAAAKABQAHgAyAEYAjACiAL4BFgE2AY4AAAABAAAADAA8AAMAAAAAAAIAAAAAAAAAAAAAAAAAAAAAAAAADgCuAAEAAAAAAAEADQAAAAEAAAAAAAIABwCWAAEAAAAAAAMADQBIAAEAAAAAAAQADQCrAAEAAAAAAAUACwAnAAEAAAAAAAYADQBvAAEAAAAAAAoAGgDSAAMAAQQJAAEAGgANAAMAAQQJAAIADgCdAAMAAQQJAAMAGgBVAAMAAQQJAAQAGgC4AAMAAQQJAAUAFgAyAAMAAQQJAAYAGgB8AAMAAQQJAAoANADsd2ViZmxvdy1pY29ucwB3AGUAYgBmAGwAbwB3AC0AaQBjAG8AbgBzVmVyc2lvbiAxLjAAVgBlAHIAcwBpAG8AbgAgADEALgAwd2ViZmxvdy1pY29ucwB3AGUAYgBmAGwAbwB3AC0AaQBjAG8AbgBzd2ViZmxvdy1pY29ucwB3AGUAYgBmAGwAbwB3AC0AaQBjAG8AbgBzUmVndWxhcgBSAGUAZwB1AGwAYQByd2ViZmxvdy1pY29ucwB3AGUAYgBmAGwAbwB3AC0AaQBjAG8AbgBzRm9udCBnZW5lcmF0ZWQgYnkgSWNvTW9vbi4ARgBvAG4AdAAgAGcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAASQBjAG8ATQBvAG8AbgAuAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==") format("truetype");
  font-weight: normal;
  font-style: normal;
}

.button-link {
    display: inline-block;
    margin: 10px;
    padding: 10px 15px;
    background-color: #ffcc00;
    color: #000000;
    text-decoration: none;
    border-radius: 5px;
}
.qr-code {
    display: inline-block;
    margin: 10px;
}

@keyframes flashEffect {
    0% { background-color: #ffff99; } /* Light yellow, adjust as needed */
    100% { background-color: transparent; }
}

.flash-animation {
    animation: flashEffect 1s; /* Run for 1 second */
}


  /* Rest of your CSS 

============================ MOBILE STYLING START HERE ============================ */

  @media (max-width: 845px) {

      body, html {
          background-image: url('images/background_mobile.jpg'); /* Replace with your image path */
      }
    
    #chat-container {
      width: 100%;
      margin: 10px auto;
      height: 86%; /* You might need to set a specific height or 100% */
      margin-top: 0px !important;
      margin-bottom: 27px !important;
    }

    .navbar {
      background-color: #FFFFFF;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      margin-bottom: 0px !important;
    }

    /* Ensure the navbar toggler is aligned to the right */
    .navbar-toggler {
        margin-left: auto; /* This will push the toggler to the right */
    }


  .message {
      display: flex;
      align-items: flex-start; /* Align items to the top */
      flex-wrap: wrap; /* Allow items to wrap */
      margin-bottom: 15px;
      padding: 10px;
      background-color: #e0e0e0;
      border-radius: 10px;
  }

  .user-message {
      background-color: #ffffff;
      color: #2d2a2a;
      border: 1px #D1D1D1 solid;
  }

  .bot-message {
      background-color: #F2F2F2;
      color: black;
      border: 1px #D1D1D1 solid;
  }

  .chat-input-container {
      display: flex;
      padding: 10px;
      background-color: #fff;
      border-radius: 10px;
      border: 1px #D1D1D1 solid;
    margin-top: auto; /* This will push the input container to the bottom */
  }

  #chat-input {
      flex-grow: 1;
      border: none;
      padding: 10px;
      font-family: Arial, sans-serif;
      font-size: 16px;
  }

  #chat-input:focus {
      outline: none;
  }

  #chat-action {
      background-color: #FFD700;
      border: none;
      padding: 10px 20px;
      margin-left: 10px;
      border-radius: 15px;
      cursor: pointer;
  }

  #chat-action:hover {
      background-color: darken(#FFD700, 40%);
  }

  .typing-indicator {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 40px;
      margin: 10px 0;
  }

  .typing-indicator .dot {
      height: 10px;
      width: 10px;
      margin: 0 4px;
      background-color: #333;
      border-radius: 50%;
      display: inline-block;
      animation: typing-blink 1.4s infinite;
  }

  .typing-indicator .dot:nth-child(1) {
    animation-delay: 0s;
  }

  .typing-indicator .dot:nth-child(2) {
    animation-delay: 0.2s;
  }

  .typing-indicator .dot:nth-child(3) {
    animation-delay: 0.4s;
  }

  @keyframes typing-blink {
    0%, 100% {
      transform: scale(0.4);
      opacity: 0.5;
    }
    50% {
      transform: scale(1);
      opacity: 1;
    }
  }

  #messages {
      max-height: 500px;
      overflow-y: auto;
      scrollbar-width: none; /* for Firefox */
      -ms-overflow-style: none; /* for Internet Explorer and Edge */
  }

  #messages::-webkit-scrollbar {
      display: none; /* for Chrome, Safari, and Opera */
  }


  .message-text {
      flex: 1; /* Allow the message text to fill the remaining space */
      order: 3; /* Ensure text comes after the name */
  }

    /* You may need to adjust the padding or margin of the navbar-nav as well */
    .navbar-nav {
        padding-left: 0;
    }

    .navbar-brand {
        margin-left: 0; /* Aligns the logo to the left */
        margin-right: auto; /* Pushes everything else to the right */
    }

    /* Reset margins for navbar collapse to align items properly */
    .navbar-collapse {
        margin-left: 0;
    }

    /* Adjust the logo image size if necessary */
    #logo {
        height: auto; /* maintain aspect ratio */
        max-height: 50px; /* adjust as per your design */
        width: auto; /* maintain aspect ratio */
    }

    .chat-header  h2 {
      font-size: 20px;
      padding-bottom: 10px;
      text-align: center;
      padding-top:20px;
      padding-left: 0px !important;
    }

    .footerdesktop {
      padding-top: 20px !important;
      margin-top: 0px !important;
    }

    .section-2---intro {
      padding-top: 0px !important;
      margin-top: 0px !important;
    }

    .webflow-section {
      margin-top: 10px !important;
      padding-bottom: 50px !important;
    }

  }