html {
    scrollbar-gutter: stable;
    background-color: #f5f5f5;
}

body {
    margin: 0 0;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

main {
    margin: 0 10px;
}

.header {
    text-align: center;
}

.component {
    border: 1px solid #696969;
    padding: 0.2rem;
    margin: 1rem;
    text-align: center;
}

.component h2 {
    text-align: center;
}

button {
 margin-right: 0.5rem;
}

.debug-state-window {
    position: fixed;
    background-color: rgba(14, 12, 12, 0.84);
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    max-height: 20vh;
    max-width: 50vw;
    overflow-y: auto;
    top: 0;
    right: 0;
    z-index: 999999999 !important;
}

.debug-state-window pre {
    margin: 0;
    color: white;
    font-size: 12px;
    text-align: left;
}

h1 {
    color: #092833;
    margin-top: 17px;
    text-transform: uppercase;
    font-size: 1.5em;
    font-weight:6800;
    letter-spacing:2px;
}

h2 {
    color: #092833;
    letter-spacing:2px;
    font-weight:500;
}

h3 {
    color:#092833;
    font-weight:600;
    letter-spacing:1.5px;
}

a {
    font-weight:400;
    color:#092833;
}


.navbar {
    background-color: white;
    padding: 10px 0;
    position: relative;
    width: 100%;
    z-index: 1000;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0;
    padding: 0 10px;
}

.navbar-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.navbar-title{
    font-style:italic;
    margin:0;
    padding:0;
    font-size:larger;
}

.navbar-subtitle{
    margin:0;
    padding:0;
    font-weight:200;
    font-size:larger;
}

.navbar-links {
    text-decoration: none;
    color: #092833;
    padding: 8px 15px;
    transition: background 0.3s;
    font-weight: 200;
    letter-spacing: 1px;
}

select.navbar-links {
    border:none;
    padding-right: 0;
}

.navbar-links:hover {
    text-decoration: dotted;
    border-radius: 4px;
    font-weight: 350;
}

.app-disclaimer {
    color: #092833;
    border-radius: 0.25rem;
    font-size: small;
    /*margin: 1rem 0 1.4rem 0;*/
    margin: 1rem 1rem 0rem 0.7rem;
    /*background-color: #aae1f1;*/
}

.app-disclaimer a {
    color: #107fab;
    text-decoration: underline;
}

.disclaimer-summary {
    padding: 1em 2.5em;
    cursor: pointer;
    font-weight: bold;
    color: #092833;
    list-style: none;
}

.disclaimer-summary::-webkit-details-marker {
    display: none;
}

.disclaimer-summary::marker {
    content: '';
}

.disclaimer-summary::before {
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="1em" height="1em" fill="%2399b8c1"><polygon points="8,6 18,12 8,18"/></svg>');
    display: inline-block;
    transition: transform 0.3s ease;
    margin-right: 1rem;
    vertical-align: middle;
}

details[open] .disclaimer-summary::before {
    transform: rotate(90deg);
}

.disclaimer-content {
    padding: 0 2.5em 2em 2.5em;
}

.tab-container {
    display: flex;
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    background: #EBF5F8;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
}

.tab.active {
    background: #87ceeb;
    font-weight: bold;
    transition: all 0.3s;
}

.tab-content > div {
    display: none;
    padding: 15px 0;
}

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

.skeleton-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    background-color: #f0f0f0;
    border-radius: 8px;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
}

.skeleton-row::after {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background: linear-gradient(90deg, #f0f0f0 0%, #e0e0e0 50%, #f0f0f0 100%);
    opacity: 0.7;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.overview-publication-table.overlay-mode {
    display: block;
}

/* block the top-level filter view if overviews are linked horizontally */
.overview-linked-horizontally .filter-view {
    opacity: 0.3;
    pointer-events: none;
}

#screenwidth-hint {
    display: none;
}

/* we will not display anything if we have narrow screens */
@media (max-width: 1300px) {
    .navbar-container .navbar-menu {
        display: none;
    }
    #overview-container, #detailview-container {
        display: none;
    }
    #screenwidth-hint {
        padding: 30px;
        font-size: 30pt;
        display: block;
    }

}
