/* Copyright (c) Microsoft Corporation.
Licensed under the MIT license. */

header {
    background-color: #007FFF;
    height: 0px;
    width: 100%;
}

header > p {
    color: #FFFFFF;
    font: bold 1.6em "segoe ui", arial, sans-serif;
    margin-left: 31px;
    padding-top: 20px;
}

body {
    background-color: #F1EDE8;
    height: 100%;
}

/* Navigation Bar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
    background-color: #4F474E;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-logo {
    height: 35px;
    width: 35px;
    background-color: #4F474E; /* Placeholder background */
    display: flex;
    align-items: left;
    justify-content: left;
    border-radius: 4px;
}

.navbar-logo img {
    max-height: 35px;
}

.navbar-links {
    display: flex;
    gap: 2rem;
}

.navbar-link {
    color: #CCC;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s;
    cursor: pointer;
}

.navbar-link:hover {
    color: #FFBA49;
    text-decoration: none;
}

.navbar-link.active {
    color: #FFBA49;
    border-bottom: 4px solid #FFBA49;
}

main {
    background-color: #104862;
    /* background-color: #F1EDE8; */
    margin: 0 auto;
    width: 90%;
    height: 100%;
}

#container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

#overlay {
    position: absolute;
    width: inherit;
    height: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
}

#overlay img {
    animation: pulse 2s linear infinite;
    margin-bottom: 15px;
}

.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loading-text {
    font-family: "segoe ui", arial, sans-serif;
    color: #FFBA49;
    font-size: 18px;
    margin: 0;
    text-align: center;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { opacity: 0.6; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.05); }
    100% { opacity: 0.6; transform: scale(0.95); }
}

.loading-dots:after {
    content: '...';
    animation: dots 1.5s infinite;
    display: inline-block;
    width: 20px;
    text-align: left;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

#overlay .spinner {
    position: relative;
    top: calc(50% - 100px);
    left: calc(50% - 100px);
}

div#text-container > div > p {
    font: 1.2em "segoe ui", arial, sans-serif;
}

div#report-container {
    width: 100%;
    height: calc(0.5625 * 90vw); /* 16:9 aspect ratio */
}

@media only screen and (max-width: 100%) {
    div#report-container {
        height: calc(0.5625 * 100vw); /* 16:9 aspect ratio */
    }
}

footer > p {
    font: 1em "segoe ui", arial, sans-serif;
}

iframe {
    border: none;
}

/* Dashboard overlay bar - hovers over iframe content */
.dashboard-overlay-bar {
    position: absolute;
    top: 110px;
    left: 0;
    width: calc(100% - 15px);
    height: 41px;
    background-color: #104862;
    z-index: 1000;
    pointer-events: none;
}