
html {
  margin: 0 auto;
  height: 100%;
}

body {
  background-color: #1E2022;
  height: 100%;
  padding-bottom: 0;
}

.main {
  height: 100%;
  padding: 500px;
}

.navbar {
  border: 0;
  padding: 0;
  margin-bottom: 0;
  background-color: #383c44;
  width: 100%;
}

.aside-menu-underline {
  position: relative;
  display: inline-block;
}

.aside-menu-underline::after {
  content: '';
  position: absolute;
  left: -6px;
  right: -6px;
  bottom: -4px;
  height: 4px;
  background: #B5E064;
  transform-origin: left; /* Startpunkt der Animation */
  animation: underlineSlide 0.4s ease-in-out forwards;
}

#copyNPasteAlert {
  display: none;
}

/*--------------------- Sumernote Editor ----------------------------*/
.editor-card {
  background: hsl(0 0% 100%);
  color: hsl(200 50% 20%);
  line-height: 1.5;
  padding: 2rem;
  margin-left: -30px;
  margin-bottom: 1rem;
  border: 1px solid hsl(0 0% 83%);
  border-radius: 4px;
  box-shadow: 0 1rem 2rem hsl(0 0% 0% / 10%);
  width: 100%;
  box-sizing: border-box;
  display: block;
  position: relative;
}

  .editor-card .card-content {
    min-height: 50px;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .editor-card:hover {
    box-shadow: 0 1rem 2rem hsl(0 0% 0% / 15%);
  }

/* Für bessere Integration in Summernote */
.note-editable .editor-card {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  transition: all 0.3s ease;
}

@keyframes underlineSlide {
  0% {
    transform: scaleX(0); /* Unsichtbar am Start */
  }

  100% {
    transform: scaleX(1); /* Volle Breite am Ende */
  }
}

.language-chooser {
  top: 10px;
  right: 10px;
  position: absolute;
  font-weight: lighter;
  text-decoration: none;
}

  .language-chooser > a {
    text-decoration: none;
  }

  .language-chooser .active {
    font-weight: bold;
    text-decoration: underline;
  }

  .form-control-title{
    height: 38px !important;/* entspricht Bootstrap-Standard */
  }

.start-bg {
  background: url("assets/img/startseite_bg_aiHub.png") center;
  background-repeat: no-repeat;
  height: 900px;
  color: var(--bs-black);
}

@media (max-width: 575.98px) {
  body {
    padding-bottom: 110px !important;
  }
}

@media (max-width: 575.98px) {
  .header-logo {
    max-height: 20px !important;
    margin-top: 15px !important;
  }
}

@media (min-width: 576px) and (max-width: 991.98px) {
  body {
    padding-bottom: 75px !important;
  }
}

.scroll-to-top-container {
  display: none;
  position: absolute;
  top: -70px;
  right: 30px;

}

header {
  width: 100% !important
}

/* HD */
@media(max-width: 1439.98px) {
  .card-img-top {
    width: 35%;
  }

  .form-control-chat-window {
    height: 300px;
    width: 100%;
    font-size: 14px;
  }

  /* Accordion Container */
  .accordion {
    width: 100%;
    position: relative;
  }

  /* Accordion Item */
  .accordion-item {
    position: relative;
  }

  /* Collapse Bereich */
  .accordion-collapse {
    position: absolute;
    width: 100%; /* Gleiche Breite wie der Button */
    height: 240px; /* Feste Höhe */
    left: 0;
    top: 100%; /* Unterhalb des Headers */
    z-index: 1000;
    background: #383c44;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
  }

    /* TextArea Container */
    .accordion-collapse > div {
      height: 100%;
      padding: 0; /* Padding entfernen */
    }

  /* TextArea selbst */
  .form-control-accordion {
    height: 100% !important;
    width: 100% !important;
    min-height: 240px;
    resize: none;
    border: none;
    box-sizing: border-box;
    padding: 10px; /* Optional: Innenabstand */
    background: #383c44;
    color: white;
  }

  .imgChatNow {
    margin-left: auto;
    margin-right: auto;
    height: 100px;
  }

  .infoIcon {
    top: 20px;
    right: 30px;
    width: 20px;
    height: 20px;
  }

  .cardAssistantIndex {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 300px;
    overflow: hidden;
  }

  .card-title {
    font-size: 1em;
    margin-bottom: 8px;
    margin-top: 14px;
    color: #333;
    overflow-wrap: break-word;
  }

  .card-text {
    font-size: 0.9em;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #333;
  }

  .card-example {
    font-size: 0.9em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #333;
  }

  .containerBackground {
    width: 1000px;
    margin: auto;
  }

  .container-left {
    min-height: 650px;
    width: 200px;
    margin-right: 12px;
    margin-bottom:80px;
    border-radius: 15px;
    padding: 10px;
    color: black;
  }


  /*ChatNow Index*/

  .container-right-datenklassifikation {
    height: 180px;
    width: 776px;
    border-radius: 15px;
    margin-bottom: 12px;
    color: black;
    padding: 10px;
  }

  .container-right-chat {
    height: 458px;
    width: 776px;
    border-radius: 15px;
    color: black;
    padding: 16px;
  }

  .card-body {
    background-color: #E4E4E4;
    border: none;
    flex-wrap: wrap;
  }

  .card {
    background-color: transparent;
    height: 80%;
    border: none;
  }

  .form-control {
    height: 250px;
    font-size: 14px;
  }

  .form-select {
    border-radius: 5px;
    border: 1px solid #ced4da;
    padding: 10px;
  }

  .btn {
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
  }

  .btn-check:checked + .btn {
    background-color: #b5e064;
    color: black;
  }

  .btn-secondary {
    background-color: #383c44;
    color: white;
    border: none;
  }

    .btn-secondary:hover {
      background-color: #5a6268;
    }

  .btn-group-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
  }

  .btn-check {
    display: none;
  }

  .classification-container {
    height: 185px;
    display: flex;
    flex-direction: column;
    border-radius: 15px;
  }

  #cardContent {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px;
  }

  /*custom colours*/
  .custom-light-green {
    background-color: #b5e064;
    color: black;
  }

  .custom-dark-grey {
    background-color: #383c44;
    color: black;
  }

  .custom-text-light-green {
    color: #b5e064 !important;
  }

  .custom-light-grey {
    background-color: #e7e7e7;
  }


  .custom-light-light-grey {
    background-color: #f8f9fa;
  }

  .custom-light-red {
    background-color: #BD3039;
  }





  /*Admin-Dashboard*/


  .container-right {
    height: 650px;
    width: 788px;
    border-radius: 15px;
    padding: 15px;
    color: black;
    padding: 10px;
  }

  .AdminFont {
    font-size: 12px;
  }

  .adminButtons {
    font-size: 14px;
    width: 180px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 8px;
    color: white;
    border: none;
  }

    .adminButtons:hover {
      opacity: 0.5;
    }

  .iconButtons {
    font-size: 14px;
    width: 80px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 8px;
    color: white;
    border: none;
  }
}

/* Large Devices (Laptops, kleinere Desktops) */
@media (min-width: 1440px) and (max-width: 1919.98px) {
  .card-img-top {
    width: 35%;
  }

  .accordion-collapse {
    width: 100% !important;
  }

  .imgChatNow {
    margin-left: auto;
    margin-right: auto;
    height: 100px;
  }

  .infoIcon {
    top: 20px;
    right: 30px;
    width: 20px;
    height: 20px;
  }


  .cardAssistantIndex {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 300px;
    overflow: hidden;
  }

  .cardExample {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 120px;
    overflow: hidden;
  }

  .card-title {
    font-size: 1em;
    margin-bottom: 8px;
    margin-top: 14px;
    color: #333;
  }

  .card-text {
    font-size: 0.9em;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #333;
  }
  .card-example {
    font-size: 0.9em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #333;
  }

  .containerBackground {
    width: 1200px;
    margin: auto;
  }

  .container-left {
    min-height: 700px;
    width: 280px;
    margin-bottom: 80px;
    margin-right: 24px;
    border-radius: 15px;
    padding: 10px;
    color: black;
  }


  /*ChatNow Index*/

  .container-right-datenklassifikation {
    height: 180px;
    width: 896px;
    border-radius: 15px;
    margin-bottom: 24px;
    color: black;
    padding: 10px;
  }

  .container-right-chat {
    height: 495px;
    width: 896px;
    border-radius: 15px;
    color: black;
    padding: 16px;
  }

  .card-body {
    background-color: #E4E4E4;
    border: none;
  }

  .card {
    background-color: transparent;
    height: 80%;
    border: none;
  }

  .form-control-chat-window {
    height: 300px;
    width: 100%;
    font-size: 14px;
  }

  /* Accordion Container */
  .accordion {
    width: 100%;
    position: relative;
  }

  /* Accordion Item */
  .accordion-item {
    position: relative;
  }

  /* Collapse Bereich */
  .accordion-collapse {
    position: absolute;
    width: 100%; /* Gleiche Breite wie der Button */
    height: 240px; /* Feste Höhe */
    left: 0;
    top: 100%; /* Unterhalb des Headers */
    z-index: 1000;
    background: #383c44;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
  }

    /* TextArea Container */
    .accordion-collapse > div {
      height: 100%;
      padding: 0; /* Padding entfernen */
    }

  /* TextArea selbst */
  .form-control-accordion {
    height: 100% !important;
    width: 100% !important;
    min-height: 240px;
    resize: none;
    border: none;
    box-sizing: border-box;
    padding: 10px; /* Optional: Innenabstand */
    background: #383c44;
    color: white;
  }}

  .form-select {
    border-radius: 5px;
    border: 1px solid #ced4da;
    padding: 10px;
  }

  .btn {
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
  }

  .btn-check:checked + .btn {
    background-color: #b5e064;
    color: black;
  }

  .btn-secondary {
    background-color: #383c44;
    color: white;
    border: none;
  }

    .btn-secondary:hover {
      background-color: #5a6268;
    }

  .btn-group-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
  }

  .btn-check {
    display: none;
  }

  .classification-container {
    height: 185px;
    display: flex;
    flex-direction: column;
    border-radius: 15px;
  }

  #cardContent {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px;
  }

  /*custom colours*/
  .custom-light-green {
    background-color: #b5e064;
    color: black;
  }

  .custom-dark-grey {
    background-color: #383c44;
    color: black;
  }

  .custom-text-light-green {
    color: #b5e064 !important;
  }

  .custom-light-grey {
    background-color: #e7e7e7;
  }


  .custom-light-light-grey {
    background-color: #f8f9fa;
  }

  .custom-light-red {
    background-color: #BD3039;
  }

  /*Admin-Dashboard*/


  .container-right {
    height: 700px;
    width: 896px;
    border-radius: 15px;
    padding: 15px;
    color: black;
    padding: 10px;
  }

  .adminButtons {
    font-size: 14px;
    width: 180px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 8px;
    color: white;
    border: none;
  }

    .adminButtons:hover {
      opacity: 0.5;
    }

  .iconButtons {
    font-size: 14px;
    width: 80px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 8px;
    color: white;
    border: none;
  }

  /*ChatLLM*/
  .tab-container {
    height: 1096px;
  }

  .message-body {
    background-color: #E4E4E4;
    border: none;
    height: 520px;
  }

  .textInput {
    width: 970px;
  }

  .submitButton {
    width: 110px;
    border: none;
  }

.submitButton:hover {
  opacity: 0.6;
}

.nav-item-sub {
  padding-left: 20px;
}

.col-text-left {
  text-align: left;
}

.col-text-right {
  text-align: right;
}


@media (min-width: 1900px) {
  /*Assistant List*/
  .card-img-top {
    width: 35%;
  }


  .imgChatNow {
    margin-left: auto;
    margin-right: auto;
    height: 100px;
  }

  .infoIcon {
    top: 20px;
    right: 30px;
    width: 20px;
    height: 20px;
  }

  .cardAssistantIndex {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 300px;
    overflow: hidden;
  }

  .card-title {
    font-size: 1em;
    margin-bottom: 8px;
    margin-top: 14px;
    color: #333;
  }

  .card-text {
    font-size: 0.9em;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #333;
  }

  .card-example {
    font-size: 0.9em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #333;
  }

  .containerBackground {
    width: 1440px;
    margin: auto;
  }

  .container-left {
    min-height: 800px;
    width: 300px;
    margin-right: 24px;
    margin-bottom: 80px;
    border-radius: 15px;
    padding: 10px;
    color: black;
  }

  /*Accordeon and Chat Now fenster*/

  .form-control-chat-window {
    height: 300px;
    width: 100%;
    font-size: 14px;
  }

  /* Accordion Container */
  .accordion {
    width: 100%;
    position: relative;
  }

  /* Accordion Item */
  .accordion-item {
    position: relative;
  }

  /* Collapse Bereich */
  .accordion-collapse {
    position: absolute;
    width: 100%; /* Gleiche Breite wie der Button */
    height: 240px; /* Feste Höhe */
    left: 0;
    top: 100%; /* Unterhalb des Headers */
    z-index: 1000;
    background: #383c44;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
  }

    /* TextArea Container */
    .accordion-collapse > div {
      height: 100%;
      padding: 0; /* Padding entfernen */
    }

  /* TextArea selbst */
  .form-control-accordion {
    height: 100% !important;
    width: 100% !important;
    min-height: 240px;
    resize: none;
    border: none;
    box-sizing: border-box;
    padding: 10px; /* Optional: Innenabstand */
    background: #383c44;
    color: white;
  }

  /*ChatNow Index*/

  .container-right-chat {
    height: 576px;
    width: 1116px;
    border-radius: 15px;
    color: black;
    padding: 16px;
  }

  .card-body {
    background-color: #E4E4E4;
    border: none;
  }

  .card {
    background-color: transparent;
    height: 80%;
    border: none;
  }

  .form-control {
    height: 380px;
    font-size: 14px;
  }


  .form-select {
    border-radius: 5px;
    border: 1px solid #ced4da;
    padding: 10px;
  }

  .btn {
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
  }

  .btn-check:checked + .btn {
    background-color: #b5e064;
    color: black;
  }

  .btn-secondary {
    background-color: #383c44;
    color: white;
    border: none;
  }

    .btn-secondary:hover {
      background-color: #5a6268;
    }

  .btn-group-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
  }

  .btn-check {
    display: none;
  }

  .classification-container {
    height: 185px;
    display: flex;
    flex-direction: column;
    border-radius: 15px;
  }

  #cardContent {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px;
  }

  .custom-dark-grey {
    background-color: #383c44;
    color: black;
  }

  .underline-green-custom {
    border-bottom: 3px solid rgba(181,224,100,1) !important;
  }

  .custom-text-light-green {
    color: #b5e064 !important;
  }

  .custom-light-grey {
    background-color: #e7e7e7;
  }


  .custom-light-light-grey {
    background-color: #f8f9fa;
  }

  .custom-light-red {
    background-color: #BD3039;
  }

  /*Admin-Dashboard*/


  .container-right {
    height: 800px;
    width: 1116px;
    border-radius: 15px;
    padding: 15px;
    color: black;
    padding: 10px;
  }

  .adminButtons {
    font-size: 14px;
    width: 180px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 8px;
    color: white;
    border: none;
  }

    .adminButtons:hover {
      opacity: 0.5;
    }

  .iconButtons {
    font-size: 14px;
    width: 80px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 8px;
    color: white;
    border: none;
  }

  /*ChatLLM*/
  .tab-container {
    height: 1096px;
  }

  .message-body {
    background-color: #E4E4E4;
    border: none;
    height: 600px;
  }

  .textInput {
    width: 970px;
  }

  .submitButton {
    width: 110px;
    border: none;
  }

    .submitButton:hover {
      opacity: 0.6;
    }

  .form-select {
    border-radius: 5px;
    border: 1px solid #ced4da;
    padding: 10px;
  }

}

.datenklassifikation {
  border-radius: 15px;
  margin-bottom: 24px;
  color: black;
  padding: 10px;
}








