html {
  background-color: #ffffff;
}

body {
  font-family: 'Noto Sans', sans-serif;
  background-color: #ffffff;
  color: #000000;
}

.hero-body {
  color: #000000;
}

.title {
  color: #000000 !important;
}

.publication-title {
  color: #000000 !important;
}

.publication-authors {
  color: #000000;
}

.content {
  color: #000000;
}

.content p {
  color: #000000;
}

.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
  color: #000000 !important;
}

.has-text-justified {
  color: #000000;
}

.nav-item {
  background-color: #f5f5f5;
  border: 1px solid #dddddd;
  color: #000000;
}

.nav-tabs .nav-link.active {
  background-color: #00aaff;
  color: #ffffff;
  font-weight: 500;
}

.footer {
  background-color: #f5f5f5;
  color: #000000;
}

.footer a {
  color: #00aaff;
}


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

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

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


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

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


.publication-title {
  color: #ffffff;
}

.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: #cccccc;
    font-weight: bold;
    display: block;
    text-align: center;
    font-size: 1.25rem;
    margin-top: 16px;
    margin-bottom: 0px;
}

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

.publication-authors {
}

.publication-authors a {
   color: #0056b3 !important;
}

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

/* Affiliation links styling - make them look like regular text */
.publication-authors .affiliation-link {
  color: #000000 !important;
  text-decoration: none !important;
  font-weight: inherit !important;
}

.publication-authors .affiliation-link:hover {
  color: #000000 !important;
  text-decoration: none !important;
  font-weight: inherit !important;
}

/* Increase gap between author names and affiliations */
.publication-authors.affiliations {
  margin-top: 20px;
}

.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;
}

.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;
  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-video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

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

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

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

/* for recon list */
li { 
  cursor: pointer;
}

/* Style the buttons that are used to open the tab content */
.nav-item {
  overflow: hidden;
  text-align: center;
  width: 100%;
  float: left;
  outline: none;
  cursor: pointer;
  transition: 0.0s;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
}

.nav a {
  color: #000000;
  text-decoration: none;
}
.nav a:hover {
  color: #00aaff;
  font-weight: 500;
  text-decoration: none;
}

.b-dics__slider {
  color: #f0f0f0;
}
.b-dics__slider:after {
  width: 2px;
}

/* Go from zero to full opacity */
@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}

.content-row {
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  text-align: center;
}

.demo-scene-panel {
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 10px;
  color: #000000;
  border-radius: 7px;
  border: #dddddd 1px solid;
  background-color: #f5f5f5;
  width: 220px;
  margin-left: 8px;
  margin-right: 8px;
}

.method-caption {
  text-align: left;
  margin: 5px 0px 15px 0;
  padding: 6px 3px;
  font-style: normal;
  color: #000000;
  font-size: 1.05em;
  background: #ffffff;
  border-radius: 4px;
  font-family: 'Google Sans', sans-serif;
  line-height: 1.6;
  transition: all 0.3s ease;
}

.method-caption:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.7);
  transform: translateY(-1px);
}

.method-caption strong {
  color: #1a73e8;
  font-weight: 600;
}

.method-caption em {
  color: #d38b17;
  font-weight: 500;
}

/* Unify emphasis styles across main content paragraphs */
.content strong {
  color: #1a73e8;
  font-weight: 600;
}

.content em {
  color: #d38b17;
  font-weight: 500;
}
/* 
.method-caption a {
  color: #00aaff !important;
  text-decoration: underline;
} */

.tldr-caption {
  text-align: left;
  margin: 20px 0;
  padding: 20px 28px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-left: 4px solid #00aaff;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  font-family: 'Google Sans', sans-serif;
  font-size: 1.1em;
  line-height: 1.7;
  color: #000000;
  position: relative;
  transition: all 0.3s ease;
}

.tldr-caption:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.7);
}

.tldr-caption::before {
  content: "TL;DR";
  position: absolute;
  top: -8px;
  left: 20px;
  background: #00aaff;
  color: #000000;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8em;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.tldr-caption strong {
  color: #00aaff;
  font-weight: 600;
}

/* Mobile responsive title */
@media screen and (max-width: 768px) {
  .publication-title {
    font-size: 1.5rem !important;
    line-height: 1.3;
  }
  
  .publication-title img {
    width: 24px !important;
    height: 24px !important;
    margin-right: 6px !important;
  }
}

@media screen and (max-width: 480px) {
  .publication-title {
    font-size: 1.2rem !important;
    line-height: 1.25;
  }
  
  .publication-title img {
    width: 20px !important;
    height: 20px !important;
    margin-right: 4px !important;
  }
}

/* Mobile responsive TL;DR caption */
@media screen and (max-width: 768px) {
  .tldr-caption {
    font-size: 1rem;
    padding: 16px 20px;
    margin: 15px 0;
  }
  
  .tldr-caption::before {
    font-size: 0.75em;
    padding: 3px 10px;
  }
}

@media screen and (max-width: 480px) {
  .tldr-caption {
    font-size: 0.9rem;
    padding: 14px 16px;
    margin: 12px 0;
  }
  
  .tldr-caption::before {
    font-size: 0.7em;
    padding: 2px 8px;
  }
}


/* Mobile responsive author names and links */
@media screen and (max-width: 768px) {
  .publication-authors {
    font-size: 0.9rem !important;
    line-height: 1.4;
  }
  
  .author-block {
    margin-bottom: 4px;
  }
  
  .publication-links .link-block {
    margin: 3px 2px;
  }
  
  .publication-links .button {
    font-size: 0.8rem !important;
    padding: 0.4rem 0.6rem !important;
  }
}

@media screen and (max-width: 480px) {
  .publication-authors {
    font-size: 0.8rem !important;
    line-height: 1.3;
  }
  
  .author-block {
    margin-bottom: 3px;
    display: inline-block;
    margin-right: 8px;
  }
  
  .publication-links .link-block {
    margin: 2px 1px;
    width: 100%;
  }
  
  .publication-links .button {
    font-size: 0.75rem !important;
    padding: 0.3rem 0.5rem !important;
    width: 100%;
  }
  
  .publication-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
}

pre.bibtex-container {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 1px solid #dddddd;
  border-left: 3px solid #00aaff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 20px;
  color: #333333;
  white-space: pre-wrap;
  word-wrap: break-word;
  text-align: left;
}

pre.bibtex-container code {
  font-family: 'Courier New', Courier, monospace;
  background: none;
  color: inherit;
  font-size: 0.9em;
  text-align: left;
}

/* Unified media styling for consistent width across all videos and figures */
.media-container {
  width: 100%;
  max-width: 900px;
  margin: 30px auto;
  display: block;
}

.media-container video,
.media-container img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Inline icon images inside text: keep aspect ratio and inline flow */
.inline-icon {
  height: 0.4em;
  width: auto !important;
  display: inline !important;
  vertical-align: -0.2em;
  margin: 0 !important;
  border-radius: 0 !important;
}

/* Ensure media container defaults don't override inline icons */
.media-container .inline-icon {
  height: 1em !important;
  width: auto !important;
  display: inline !important;
}

/* Apply consistent styling to all video elements */
video {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

/* Apply consistent styling to content images */
.content img {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

/* Comparison container consistent styling */
.b-dics {
  margin: 30px auto !important;
}

/* References section links styling for better visibility on dark background */
#References .content a {
  color: #0056b3 !important;
  font-weight: 500;
  text-decoration: none;
}

#References .content a:hover {
  color: #0056b3 !important;
  text-decoration: underline;
}

/* Responsive navigation for example selectors */
@media (max-width: 768px) {
  .responsive-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch; /* for smooth scrolling on iOS */
    scrollbar-width: none; /* for Firefox */
  }

  .responsive-nav::-webkit-scrollbar {
    display: none; /* for Chrome, Safari, and Opera */
  }

  .responsive-nav .nav-item {
    flex-shrink: 0;
  }
}