body {
  font-family: 'Noto Sans', sans-serif;
}


.footer .icon-link {
    font-size: 25px;
    color: #000;
}

.link-block a {
    margin-top: 5px;
    margin-bottom: 5px;
}

.link-block .button.coming-soon-btn {
  position: relative;
  cursor: default;
}

.link-block .button.coming-soon-btn .icon,
.link-block .button.coming-soon-btn .btn-text {
  transition: opacity 0.2s ease;
}

.link-block .button.coming-soon-btn .btn-coming-soon {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.2s ease;
  white-space: nowrap;
  font-size: 0.85em;
}

.link-block .button.coming-soon-btn:hover {
  background: #888;
  border-color: #888;
}

.link-block .button.coming-soon-btn:hover .icon,
.link-block .button.coming-soon-btn:hover .btn-text {
  opacity: 0;
}

.link-block .button.coming-soon-btn:hover .btn-coming-soon {
  opacity: 1;
}

.dnerf {
  font-variant: small-caps;
}


.teaser .hero-body {
  padding-top: 0;
  padding-bottom: 3rem;
}

.teaser {
  font-family: 'Google Sans', sans-serif;
}


.publication-title {
}

.publication-banner {
  max-height: parent;

}

.publication-banner video {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  object-fit: fit;
}

.publication-header .hero-body {
}

.publication-title {
    font-family: 'Google Sans', sans-serif;
}

.publication-authors {
    font-family: 'Google Sans', sans-serif;
}

.publication-venue {
    color: #555;
    width: fit-content;
    font-weight: bold;
}

.publication-awards {
    color: #ff3860;
    width: fit-content;
    font-weight: bolder;
}

.publication-authors {
}

.publication-authors a {
   color: hsl(204, 86%, 53%) !important;
}

.publication-authors a:hover {
    text-decoration: underline;
}

.author-block {
  display: inline-block;
}

.publication-banner img {
}

.publication-authors {
  /*color: #4286f4;*/
}

.publication-video {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;

    overflow: hidden;
    border-radius: 10px !important;
}

.publication-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.publication-body img {
}

.results-carousel {
  overflow: hidden;
}

.results-carousel .item {
  margin: 5px;
  overflow: hidden;
  border: 1px solid #bbb;
  border-radius: 10px;
  padding: 0;
  font-size: 0;
}

.results-carousel video {
  margin: 0;
}


.interpolation-panel {
  background: #f5f5f5;
  border-radius: 10px;
}

.interpolation-panel .interpolation-image {
  width: 100%;
  border-radius: 5px;
}

.interpolation-video-column {
}

.interpolation-panel .slider {
  margin: 0 !important;
}

.interpolation-panel .slider {
  margin: 0 !important;
}

#interpolation-image-wrapper {
  width: 100%;
}
#interpolation-image-wrapper img {
  border-radius: 5px;
}

/* Elegant and Simple Table Styles */
.results-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    margin: 2rem auto;
    border: 1px solid #ddd;
}

.results-table th,
.results-table td {
    padding: 0.75rem;
    border: 1px solid #ddd;
    text-align: center;
}

.results-table thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
}

.main-header {
    background-color: #f8f9fa;
    font-weight: 600;
    border-bottom: 1px solid #dee2e6;
}

.main-header.header-dark {
    background-color: #f3f3f3;
}

.category-row {
    background-color: #f8f9fa;
    text-align: left !important;
    padding-left: 1rem;
}

.model-row {
  background-color: #fafafa;
}

.highlight-row {
    background-color: rgba(230, 243, 255, 0.5);
    border-top: 2px solid #dee2e6;
    border-bottom: 2px solid #dee2e6;
}

.table-caption {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.table-note {
    font-size: 0.85rem;
    color: #666;
    margin-top: 1.5rem;
    text-align: left;
    padding-left: 0.5rem;
}

.table-container {
    overflow-x: auto;
    margin: 0 auto;
    border: 1px solid #eee;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.x-title {
    color: rgb(250, 166, 0); /* This is the dark yellow color from your LaTeX definition */
    font-family: 'Noto Sans Math', sans-serif;
    font-weight: bold;
    font-size: 1.1em;
}

.x-struck {
  font-family: 'Noto Sans Math', sans-serif;
}

.org-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.org-logo {
  height: 50px;
  object-fit: contain;
  margin: 0 2rem;
  transition: transform 0.2s ease;
}

.org-logo:hover {
  transform: scale(1.05);
}

@media screen and (max-width: 768px) {
  .org-logo {
    height: 40px;
    margin: 0.5rem;
  }
}

#typed-text::after {
  content: '|';
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.model-list {
  border-right: 2px solid #eee;
  overflow-y: auto;
}

.model-item {
  padding: 1.5rem;
  margin: 0.5rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: white;
}

.model-item.is-active {
  transform: scale(1.02);
  background-color: hsl(48, 100%, 90%);
}

.model-item:hover:not(.is-active) {
  background-color: hsl(48, 100%, 96%);
}

.conversation-panel {
  padding: 0 2rem;
  height: calc(100vh - 4rem);
  display: flex;
  flex-direction: column;
}


@media screen and (min-width: 768px) {
  .conversation-cols, .conversation-cols .column {
    height: 800px;
 }
 .model-list {
    height: calc(100vh - 4rem);
 }
}

#conversation-container {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1rem;
}

.message {
  max-width: 80%;
  padding: 1rem;
  border-radius: 15px;
}

.user-message {
  background-color: #e6f7ff;
  margin-left: auto;
}

.ai-message {
  background-color: #f5f5f5;
  margin-right: auto;
}

.table-cell-right-border {
  border-width: 0 2px 2px 0 !important;
}

.message ol li, .message ul li {
  /* Fixes the alignment of the numbers */
  margin-left: 1rem;
  padding-left: 1rem;
}

.message ul li {
  list-style-type: disc;
  margin-left: 2rem;
}

.message {
  position: relative;
  overflow: hidden;
  line-height: 1.5;
}

.message.expandable {
  max-height: 22.5em; /* 15 lines (1.5em per line) */
  transition: max-height 1s ease-in-out;
  margin-bottom: 0;
}

.message.expandable.collapsed {
  max-height: 22.5em;
}

.message.expandable.expanded {
  margin-bottom: 1rem;
}

.message.expandable .fade {
  transition: opacity 1s ease-in-out;
}

.message.expandable.expanded .fade {
  opacity: 0;
}

.message.expandable.collapsed .fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4rem;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
}

.message h1 {
  color: #363636;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.125;
  margin-bottom: 1.5rem;
}

.message h2, .message h3 {
  margin: 1.5rem 0;
  word-break: break-word;
  color: #4a4a4a;
  font-weight: 400;
  line-height: 1.25;
}

.message h2 {
  font-size: 1.25rem;
}

.message h3 {
  font-size: 1.125rem;
}

.toggle-container {
  text-align: center;
  margin-bottom: 2rem;
  max-width: 80%;
}

button.toggle {
  font-size: 0.875rem;
}

.message .toggle:hover {
  text-decoration: none;
}

.ml-auto {
  margin-left: auto;
}

.mr-auto {
  margin-right: auto;
}

.my-8 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}
