body {
  font-family: "Open Sans", sans-serif;
  background-color: #ffffff;
  color: #000;
  margin: 0;
  padding: 2rem;
}

#chatbox {
  max-width: 600px;
  margin: auto;
}

header {
  background-color: #1c8200;
  color: white;
  padding: 1em;
  text-align: center;
  font-weight: bold;
  font-size: 1.2em;
}

.head2-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

main {
  padding: 1em;
  max-width: 600px;
  margin: auto;
}

h1, h2, h3, h4 {
  color: #1c8200;
  margin-top: 0;
  text-align: left;
}

h2 {
  font-size: 1em;
}

.spinner {
  border: 4px solid #ccc;
  border-top: 4px solid #444;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  background: white;
  padding: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.hidden {
  display: none !important;
}

#source-mode {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0.5rem auto;
}

.mode-toggle img {
  width: 2.5rem;
  height: auto;
  cursor: pointer;
  margin: 0 1rem;
}

.mode-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mode-label {
  font-size: 0.9rem;
  text-align: center;
}

.pulse {
  animation: pulseAnim 0.3s;
}

@keyframes pulseAnim {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
.mode-option .icon-wrapper {
  position: relative;
  display: inline-block;
}

#soon {
  display: none;
  position: absolute;
  top: -4px;
  right: -6px;
  background-color: #ccc;
  color: #000;
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 10px;
  white-space: nowrap;
  font-weight: bold;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.mode-option#www:hover #soon {
  display: block;
}

#explanation {
  font-size: 0.9em;
  color: #555;
  margin: 0.75em auto 1em auto;
  max-width: 90%;
  text-align: center;
  line-height: 1.4;
}
#explanation p {
  margin: 0;
}

#knowledge {
  text-align: center;
  margin: auto 0;
  font-size: 0.9em;
  color: #555;
  max-width: 90%;
}

input, button, textarea {
  font-size: 1em;
  font-family: inherit;
}

.question-box {
  width: 100%;
  padding: 0.8rem;
  margin: 0.5em 0 0 0;
  border: 2px solid #1c8200;
  border-radius: 10px;
  background-color: #f9f9f9;
  box-sizing: border-box;
}
.question-box:focus {
  outline: none;
  border-color: #0285f4;
}

.answer-box {
  width: 100%;
  padding: 1rem;
  margin: 0.5em 0 1em;
  background-color: #f1f1f1;
  border-radius: 10px;
  border: 2px solid #ccc;
  font-size: 1.1em;
  line-height: 1.7;
  min-height: 80px;
  opacity: 0.5;
  transition: opacity 0.3s ease;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  white-space: pre-wrap;
}
.answer-box.ready {
  opacity: 1;
}
.answer-box h2, .answer-box h3, .answer-box h4 {
  margin: 0.5rem 0 0 0;
  font-size: 1.1em;
  font-weight: 600;
  color: #1c8200;
  line-height: 1.4;
}
.answer-box p {
  margin: 0 0 0.25rem 0;
}
.answer-box ul, .answer-box ol {
  margin: 0.5rem 0 1rem 1.5rem;
  padding-left: 1.2rem;
}
.answer-box ul li, .answer-box ol li {
  margin-bottom: 0;
  line-height: 1.6;
}
.answer-box ul {
  list-style-type: disc;
}
.answer-box ol {
  list-style-type: decimal;
}

.buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}
.buttons button {
  background: #1c8200;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}
.buttons button:hover {
  background: #0285f4;
}

#native-action-buttons {
  justify-content: center;
}
#native-action-buttons button {
  font-size: 1em;
  padding: 0.6em 1.2rem;
  border-radius: 5px;
  background: #1c8200;
  color: white;
  border: none;
  cursor: pointer;
}
#native-action-buttons button:hover {
  background: #0285f4;
}

.footer-link {
  color: #1c8200;
  text-align: center;
  margin-top: 2em;
  display: block;
}

.embedded-mode {
  max-width: 100% !important;
}
.embedded-mode header,
.embedded-mode .footer-link {
  display: none;
}
.embedded-mode body {
  margin: 0;
  padding: 10px;
}
.embedded-mode header,
.embedded-mode .footer-link {
  display: none;
}
.embedded-mode main {
  padding: 0.5em;
}
.embedded-mode h2 {
  font-size: 1em;
}

@media (max-width: 600px) {
  main {
    padding: 0.5em;
  }
  .buttons {
    flex-direction: column;
  }
}
@media (max-width: 480px) {
  #karte {
    flex-direction: row-reverse;
    justify-content: center;
    gap: 0.5rem;
  }
  #www {
    flex-direction: row;
    justify-content: center;
    gap: 0.5rem;
  }
  .mode-label {
    margin-top: 0;
    font-size: 0.85rem;
    text-align: left;
  }
  #source-mode {
    justify-content: flex-start;
  }
  #explanation {
    text-align: left;
    padding-left: 0.25rem;
    font-size: 0.85rem;
  }
  #knowledge {
    text-align: left;
    font-size: 0.85rem;
  }
  main {
    text-align: left;
  }
  h2 {
    text-align: left;
  }
  .buttons {
    justify-content: flex-start;
  }
}

/*# sourceMappingURL=main.css.map */
