/* General resets */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Arial Rounded MT Bold", Arial, monospace;
    line-height: 1.6;
    background-color: #f9f9f9;
}

/* Navbar */
.navbar {
    background-color: #333;
    color: #fff;
    padding: 1rem;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 90%;
    margin: auto;
}

.nav-logo {
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
    vertical-align: top;
    display: flex;
    align-items: center;
    font-family: "Arial Rounded MT Bold", Arial, monospace;
}

.nav-logo:hover {
    color: #ddd;
}

.nav-logo > img {
    height: 6rem;
    vertical-align: central;
    margin-right: 2rem;
}


.nav-links {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
}

.nav-links a.active,
.nav-links a:hover {
    background-color: #555;
    border-radius: 5px;
}

/* Tabs */
.tab-content {
    display: none;
    padding: 2rem;
    max-width: 90%;
    margin: auto;
    background: #fff;
    margin-top: 1rem;
    border-radius: 8px;
}

.tab-content.active {
    display: block;
}

.paper-title {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

/* Table */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

table, th, td {
    border: 1px solid #ccc;
}

th, td {
    padding: 0.75rem;
    text-align: left;
}

/* Plots */
#plots img {
    max-width: 45%;
    margin: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Authors Grid */
.authors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.author-card {
    background: #f1f1f1;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.author-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 0.5rem;
}

.author-card a {
    display: block;
    color: #0073e6;
    text-decoration: none;
    margin: 0.2rem 0;
}

/* Results Tables */
.table-wrapper {
    margin-top: 2rem;
}

/* Plots Section */
#plots-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

#plots-section-2row {
    margin-top: 5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.plot-item img {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.plot-item figcaption {
    text-align: center;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Abstract */
#abstract-text {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    text-align: justify;
}

#abstract-schema-figure {
    text-align: center;
    margin-bottom: 2rem;
}

#abstract-schema {
    margin: 2rem auto;
    width: 100%; /* full width of container */
    max-width: 1200px; /* up to 1200px wide */
    border: 1px solid #ccc;
    border-radius: 6px;
}

#abstract-schema-caption {
    font-size: 1rem;
    color: #555;
    margin-top: 0.5rem;
}

#abstract-schema-download {
    font-size: 0.9rem;
    color: #0073e6;
    text-decoration: underline;
}

#abstract-schema-download:hover {
    color: #004499;
}


#moabb-comparison-figure {
    text-align: center;
    margin-bottom: 2rem;
}

#moabb-comparison {
    margin: 2rem auto;
    width: 100%; /* full width of container */
    max-width: 1200px; /* up to 1200px wide */
    border: 1px solid #ccc;
    border-radius: 6px;
}

#moabb-comparison-caption {
    font-size: 1rem;
    color: #555;
    margin-top: 0.5rem;
}