/* Base Styles */
* {
    box-sizing: border-box;
}
body {
    font-family: "Titillium Web", "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    font-weight: 300;
    font-size: 17px;
    margin-left: auto;
    margin-right: auto;
    max-width: 1000px;
    padding-left: 20px;
    padding-right: 20px;
}
h1 {
    font-weight: 500;
    line-height: 1.15em;
    font-size: 36px;
    text-align: center;
}
h2 {
    font-size: 1.5em;
    font-weight: 400;
    margin: 16px 0px 4px 0px;
    text-align: center;
}
a:link, a:visited {
    color: #1772d0;
    text-decoration: none;
}
a:hover {
    color: #f09228;
}
p {
    line-height: 1.5;
}
hr {
    height: 1px;
    border: 0;
    border-top: 1px solid #ddd;
    margin: 0;
}
.text-center {
    text-align: center;
}

/* Layout */
.container {
    margin-left: auto;
    margin-right: auto;
}
.paper-title {
    padding: 16px 0px 16px 0px;
}
section {
    margin: 32px 0px 32px 0px;
    text-align: justify;
    clear: both;
}

/* Top Navigation */
.topnav {
    overflow: hidden;
    background-color: #EEEEEE;
}
.topnav a {
    float: left;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 18px;
}

/* Author & Affiliation Rows */
.author-row {
    overflow: auto;
    font-size: 18px;
    font-weight: 400;
    text-align: center;
}
.venue-row {
    overflow: auto;
    font-size: 24px;
    font-weight: 400;
    text-align: center;
}
.affil-row {
    overflow: auto;
    font-size: 18px;
    text-align: center;
}

/* Grid Columns */
.col-5 {
    width: 20%;
    float: left;
}
.col-3 {
    width: 33%;
    float: left;
}
.col-2 {
    width: 50%;
    float: left;
}
.col-1 {
    width: 100%;
    float: left;
}

/* Buttons */
.paper-btn-parent {
    display: flex;
    justify-content: center;
    margin: 16px 0px;
}
.supp-btn {
    background-color: #fff;
    border: 1.5px solid #000;
    color: #000 !important;
    font-size: 16px;
    padding: 12px 24px;
    border-radius: 50px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    transition-duration: 0.4s;
    cursor: pointer;
    letter-spacing: 1px;
    margin: 8px;
    width: fit-content;
    font-weight: 400;
}
.supp-btn:hover {
    background-color: #000;
    color: #fff !important;
}
.material-icons {
    vertical-align: -6px;
}

/* Scene Pill Navigation */
.nav {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}
.nav-pills {
    cursor: pointer;
    display: flex;
    justify-content: center;
    gap: 10px;
}
.nav-pills > li {
    float: left;
    position: relative;
    display: inline-block;
}
.new-center-pills {
    cursor: pointer;
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.dataset-pill {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 10px;
    padding: 6px 12px;
}
.dataset-pill a {
    padding: 8px 16px;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
}
.dataset-pill.active {
    background-color: #007bff;
    border-color: #007bff;
}
.dataset-pill.active a {
    color: white !important;
}
.dataset-pill:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
}
.dataset-pill.active:hover {
    background-color: #0056b3;
}

/* Dataset Description Box */
.dataset-description {
    margin: 20px 0;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}
.dataset-desc {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

/* Video Player */
.full-width-video-container {
    width: 100%;
    margin: 20px 0;
    padding: 0;
    background: #f5f5f5;
    overflow: hidden;
    border-radius: 8px;
}
.full-width-video {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Caption */
.caption-center {
    font-size: 16px;
    color: #666;
    text-align: center;
    margin-top: 8px;
    margin-bottom: 16px;
}

/* Citation */
#bibtex pre {
    font-size: 14px;
    background-color: #eee;
    padding: 16px;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-x: auto;
    max-width: 100%;
    box-sizing: border-box;
    border-radius: 8px;
}
