.gradient-custom {
/* fallback for old browsers */
background: #fccb90;

/* Chrome 10-25, Safari 5.1-6 */
background: -webkit-linear-gradient(to bottom right, rgb(29, 58, 143), rgb(106, 191, 163));

/* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
background: linear-gradient(to bottom right, rgb(29, 58, 143), rgb(106, 191, 163));
}

html, body {
  background: radial-gradient(circle at 50% 20%, #22546D 0%, #1B3C53 100%);
}

.navbar-dark {
  background: radial-gradient(circle at 50% 20%, #22546D 0%, #1B3C53 100%);
  color: white;
}

.btn-outline-light {
  color: #a6cbbe;                     /* your teal accent */
  border-color: #a6cbbe;
  transition: all 0.2s ease-in-out;
   border-width: 1.5px;
  border-radius: 8px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
  background-color: #6BBFA3;
  border-color: #6BBFA3;
  color: #fff;
  box-shadow: 0 0 12px rgba(107, 191, 163, 0.4);
}

.mask-custom {
background: rgb(26, 27, 32, 0.5);
border-radius: 2em;
backdrop-filter: blur(15px);
border: 2px solid rgba(255, 255, 255, 0.05);
background-clip: padding-box;
box-shadow: 10px 10px 10px rgba(46, 54, 68, 0.03);
}

/* Chatbot Intro Banner */
.intro-banner {
  position: center;              /* bleibt beim Scrollen oben sichtbar */
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.08); /* halbtransparent für Glass-Look */
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0 0 12px 12px;
  padding: 1rem 1.5rem;
  color: #eaeaea;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto 1rem auto;
}

/* Optional – Text etwas feiner abgestuft */
.intro-banner h5 {
  font-weight: 600;
  color: #ffffff;
}

.intro-banner p {
  font-size: 0.95rem;
  color: #d0d0d0;
}

.user-avatar {
  background-color: white;
  color: white;
  margin-left: 14px;
}

.bot-avatar {
  background-color: white;
  color: white;
  margin-right: 14px;
}

.empty-state {
  align-self: center;
  justify-self: center;
  text-align: center;
  color: #e9eef7;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 24px 20px;
  max-width: 720px;
  width: 100%;
}
.empty-hero { font-size: 42px; margin-bottom: 8px; }
.suggestions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.suggestions .btn {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
  white-space: normal !important;
  word-wrap: break-word;
  width: 100%;
  max-width: 500px;      /* keeps buttons nicely contained */
  line-height: 1.3;
  text-align: center;
}


.ieee-bib .ieee-row {
  display: grid;
  grid-template-columns: 3.2ch 1fr;
  column-gap: .6rem;
  align-items: start;
  margin-bottom: .25rem;
}

.ieee-bib .ieee-num {
  font-weight: 600;
  white-space: nowrap;
}

.ieee-bib .ieee-text {
  overflow-wrap: anywhere;
  line-height: 1.35;
}

/* Auszug kompakt */
.ieee-bib .excerpt .ieee-text small {
  display: block;
  color: #aaa;
  line-height: 1.3;
  max-height: 4.2em; /* ca. 3 Zeilen */
  overflow: hidden;
  position: relative;
}

.ieee-bib .excerpt .ieee-text small::after {
  content: "… mehr anzeigen";
  position: absolute;
  bottom: 0;
  right: 0;
  padding-left: 0.5em;
  background: linear-gradient(to right, transparent, var(--bs-body-bg, #000) 50%);
  color: #999;
  font-size: 0.9em;
  cursor: pointer;
}

.ieee-bib .excerpt .ieee-text small.expanded {
  max-height: none;
}

.ieee-bib .excerpt .ieee-text small.expanded::after {
  content: "  weniger anzeigen";
  position: static;
  background: none;
  cursor: pointer;
}
