html {
    box-sizing: border-box;
    overflow: -moz-scrollbars-vertical;
    overflow-y: scroll;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    margin: 0;
    background: #fafafa;
}

html, body, #swagger-ui {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.topbar-wrapper a {
    content:url('');
    transform: scale(.5);
}


.swagger-ui .topbar {
    background-color: rgb(9, 21, 34);
    color: rgb(255, 255, 255);
    border-top: 1px solid rgb(255, 255, 255);
}

/* NASA POWER API Pages - Externalized Styles
   Moved from inline <style> for CSP compliance
   ------------------------------------------- */

footer {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: auto;
    box-sizing: content-box;
    width: 100%;
}

footer p {
    text-align: left;
    padding-left: 10px;
}

/* Accessibility: Skip navigation link (WCAG 2.4.1) */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    padding: 8px 16px;
    background: #0b3d91; /* NASA blue */
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    z-index: 10000;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid #fc3d21; /* NASA red */
    outline-offset: 2px;
}

/* Screen-reader-only heading (SEO + WCAG) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}