    body, html {
      margin: 0;
      padding: 0;
      height: 100%;
      font-family: sans-serif;
      background: #f8f5f2;
    }

    .chatbot-container {
      width: 440px;
      height:455px;
      position: fixed;
      bottom: 110px;
      right: 20px;
      border-radius: 24px;
      display: flex;
      flex-direction: column;
      background: #ffffff; 
      Overflow: hidden;
      box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
      z-index: 1000;
    }

    .chat-header {
      background: 	#2d3e50;
      color: white;
      display: flex;
      align-items: center;
      padding: 10px;
      gap: 10px;
      flex-shrink: 0;
        border-top-left-radius: 24px;     /* 🟢 legg til dette */
  border-top-right-radius: 24px;
    }

    .avatar {
    width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background-color: #fff;
    }

    .chat-title {
      flex: 1;
      line-height: 1.2;
      font-size: 14px;
    }

    .close-button {
      background: none;
      border: none;
      color: white;
      font-size: 20px;
      cursor: pointer;
    }

    .chat-scroll-wrapper {
      flex: 1 1;
      overflow-y: auto;
      display: flex;
      flex-direction: column;
      min-height: 0;
      padding-bottom: 0;  
      scrollbar-width: auto;
    }

    .intro-message {
      padding: 4px 16px 14px 16px;
      background-color: #e8f3f9;
      border-radius: 14px;
      margin: 7px 16px 8px;
      font-size: 14px;
      color: #333;
      line-height: 1.4;
      flex-shrink: 0;
      white-space: pre-line;
    }

    .suggestions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      padding: 10px 16px 4px 16px;
      flex-shrink: 0;
    }

   .suggestion-button {
  flex: 1 1 calc(50% - 8px);
  height: 48px;
  background-color: #e6f2f2;
  color: #003333; /* anbefalt mørk tekst */
border: 1px solid #ccd9dd;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.2s ease, transform 0.1s ease;
  padding: 10px 12px;
   box-shadow: 0 0 0 1px #ccd9dd;
}

    .suggestion-button:hover {
      background-color: #d8e3f0;
      transform: translateY(-1px);
        box-shadow: 0 2px 6px rgba(0,0,0,0.05);
        border: 1px solid #444;


    }
    .suggestion-button:active {
  transform: scale(0.98);
  background-color: #cddbe9;
}

    .chat-messages {
      display: flex;
      flex-direction: column;
      gap: 10px;
      padding: 6px 10px 0px;
      flex-grow: 1;
      margin-top:auto;
    }

    .chat-messages::-webkit-scrollbar {
      width: 6px;
    }
    .chat-messages::-webkit-scrollbar-thumb {
      background-color: #ccc;
      border-radius: 10px;
    }

    .message {
      display: flex;
      flex-direction: column;
      animation: fadeInUp 0.25s ease-out;
      animation-fill-mode: both;
    }

    .bubble {
      padding: 10px 14px;
      border-radius: 12px;
      max-width: 80%;
      line-height: 1.5;
      font-size: 14px;
    }
    .bubble.user {
      background-color: #d8f3c2;
      align-self: flex-end;
      border-bottom-right-radius: 2px;
      border: 1px solid #cceab5;
    }
    .bubble.bot {
      background-color: white;
      align-self: flex-start;
      border-bottom-left-radius: 2px;
      border: 1px solid #eee;
    }

    form {
      display: flex;
      padding: 12px 12px 1px;
      border-top: 1px solid #eee;
      background-color: #ffffff;
      flex-shrink: 0;
    }

    #userInput {
      flex: 1;
      padding: 12px 14px;
      border: 1px solid #ccc;
      border-radius: 10px;
      font-size: 15px;
      background: #ffffff;
      box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }

    #sendButton {
      background: #2b4966; 
      color: white;
      border: none;
      padding: 0 16px;
      margin-left: 8px;
      border-radius: 10px;
      cursor: pointer;
    }

    .bot-signature {
      text-align: center;
      font-size: 0.7rem;
      color: #888;
      padding: 0px 0 0px;
      background-color: #ffffff;
      flex-shrink: 0;
      opacity: 0.5;
    }

    #sendButton:hover {
      background: #1d3552; 

    }

    .chat-toggle {
      position: fixed;
      bottom: 24px;
      right: 24px;
      width: 56px;
      height: 56px;
      background: #000000; /* svart bakgrunn */
      border: none;
      border-radius: 50%;
      box-shadow: 0 2px 12px rgba(48, 46, 46, 0.2);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.2s ease, transform 0.2s ease;
      z-index: 1000;
    }

    .chat-toggle img {
      width: 26px;
      height: 26px;
      filter: none; /* Viktig: Behold originalfarge */
    }

    .chat-toggle:hover {
      background: #222222; /* litt lysere svart ved hover */
      transform: scale(1.05);
    }

    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(6px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
.main-content { 
  max-width: 600px;
  margin: 60px auto;
  text-align: center;
  font-family: 'Inter', sans-serif;
  padding: 0 20px;
  color: #333;
}

.main-content h1 {
  font-size: 28px;
  margin-bottom: 12px;
}

.main-content p {
  font-size: 16px;
  margin-bottom: 24px;
}

.pdf-button {
  background-color: #3c2f2f;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  display: inline-block;
  transition: background-color 0.2s ease;
}

.pdf-button:hover {
  background-color: #5a4646;
}

.pdf-note {
  font-size: 13px;
  color: #888;
  margin-top: 8px;
}

/* Hint-tekst desktop */
.chat-hint-absolute.chat-hint-desktop {
  position: absolute;
  bottom: 100px;
  right: 100px;
  font-size: 14px;
  color: #444;
  animation: bounce 2s infinite;
  z-index: 999;
}

/* Hint-tekst mobil */
.chat-hint-absolute.chat-hint-mobile {
  display: none;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}
@media (max-width: 600px) {
  .chatbot-container {
    width: 95vw;
    max-width: 360px;
    height: calc(810px - 95vw); 
    bottom: 110px;
    right: 12px;
    left: auto;
    top: auto;
    transform: none;
    border-radius: 16px;
  }
/* Mobiltilpasning */

  .chat-hint-desktop {
    display: none !important;
  }

  .chat-hint-mobile {
    display: block !important;
    position: fixed;
    bottom: 95px;
    right: 20px;
    font-size: 13px;
    text-align: right;
    width: 180px;
    color: #444;
    z-index: 999;
    animation: none;
  }
  .suggestion-button {
    width: 100%;
    max-width: none;
    min-width: 0;
    height: 42px;
    font-size: 11.5px;
  }

  #userInput {
    font-size: 14px;
    padding: 10px;
  }

  #sendButton {
    padding: 0 14px;
  }
}



