html {
    font-size: 16px;
}
body {
    margin: 0;
    font-family: Arial, sans-serif;
    font-size: 1rem;
}
h1 {
    margin: 0.5rem 0;
}
.container {
    display: flex;
    min-height: 100vh;
    
}
.container > .sidebar {
    align-self: stretch;
}

.navbar {
    background-color: #363739ff;
    color: white;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
    margin: 0;
    height: 60px;
}
.nav-links {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    flex-grow: 1;
    padding-left: 10px;
    height: 100%;
}
.nav-links a {
    color: #363739ff;
    text-decoration: none;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center; /* Centers text vertically in the white bar */
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.nav-links a:hover {
    background-color: #f0f0f0; /* Light gray hover effect */
    color: #00797F;; /* Teal accent on hover */
}
.logo {
    width: 220px;   
    background-color: #363739;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    padding-left: 0.75rem;
    box-sizing: border-box;
}
.logo-img {
    display: flex;
    align-items: center;
    text-decoration: none;

}
.logo-img img{
    width: auto;
    height: 35px;
}
.logo-title {
    color: #ffffff;   
    margin-left: 0.75rem;
}
.sidebar {
    width: 220px;
    flex-shrink: 0;
    background-color: #363739ff;
    color: white;
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
}

.sidebar ul li {
    padding: 12px 1rem;
}

.sidebar ul li a {
    color: white;
    text-decoration: none;
    display: inline-block;
}

.sidebar ul li a:hover {
    background-color: #6F747C;
}

.main-content {
    flex-grow: 1;
    padding: 15px;
    padding-bottom: 80px;
    font-size: 18px;
    line-height: 1.5;
    background-color: #edededff;
}
.chart-container {
    position: relative;
    height: 60vh;
    max-width: 900px;
    padding: 2rem;
    border-radius: 5px;
    border-top: solid 2px #41bdacff;;
    background: white;
}

.map-container {
    position: relative;
    height: 60vh;
    max-width: 900px;
    margin-bottom: 1rem;
}

.hidden-item {
    display: none;
}    
.hidden-item a {
    margin-bottom: 0.5rem;
}
details {
    width: 90%;
} 

details > summary {
    list-style: none;
    font-size: 24px;
    border-top: 1px solid #1ec2f9ff;
    background-color: #f9fbfde5;
    color: rgb(22, 54, 65);
    padding: 10px;
    cursor: pointer;
}

details > summary::marker, 
details > summary::-webkit-details-marker {
    display: none;
}   

details p {
    padding: 10px;
    background-color: #f9f9f9;
}

.header h1{
    font-size: 2rem;
    font-weight: 400;
}

.pulldown-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    background-color: #edededff;
    padding: 10px 0;
    flex-wrap: wrap; 
}

.controls-group {
    display: flex;
    gap: 15px;
    align-items: center;
}

.select-item {
    display: flex;
    align-items: center;
    background-color: #00797F;
    padding: 0 0.5rem;
    gap: 8px;
    border-radius: 2px;
}

.download-btn {
    cursor: pointer;
    background-color: #f9f9f9;
    transition: background-color 0.2s;
}

.download-btn:hover {
    background-color: #e0e0e0;
}

.selectText {
    background-color: #00797F; /* #41bdacff; */  
    padding: 0.5rem; 
    border-radius: 2px; 
    color: white;
    font-size: 1.2rem;
}

.selectBox {
    padding: 2px;   
    border-color: #41bdacff;
    border-radius: 2px;
    font-size: 18px;
}

.dataBox {
    border-radius: 5px;
    border-top: solid 2px #41bdacff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background: white;
    padding: 30px; /* Increased padding for better readability */
    width: 100%;
    max-width: 1200px; /* Prevents text from stretching too far */
    margin-bottom: 40px;
}
.dataBox p {
    margin-bottom: 1.5rem;
    color: #444;
    line-height: 1.6; /* Better vertical spacing for long text */
}
.btn {
    font-size: 1rem;
    padding: 0.5rem 1.2rem; 
    border: 1px solid #41bdacff; 
    background-color: #ffffff;
    color: #333;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease; 
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn:hover {
    background-color: #41bdacff;
    color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color:#363739ff;
    padding: 8px;
    text-align: center;
    z-index: 1000;
}
.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px; /* Space between logo and text */
}

.footer-logo {
    display: block;
}

.footer-tagline {
    font-style: italic;
    color: white;
    font-size: 14px;
}
footer a {
    color: #fff;
    text-decoration: none;
    display: inline-block;
    vertical-align: middle;
}
#viewDiv {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    border: 1px solid #ccc;
}
/* Chart Menu */
.chart-controls {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 100;
}
/* Hamburger icon */

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 10;
}

.hamburger span {
    height: 4px;
    background: #333;
    border-radius: 2px;
}

/* Menu styles */
.menu {
    position: absolute;
    /*top: 320px;
    left: 900px;*/
    background: white;
    border: 1px solid #ccc;
    padding: 8px 0;
    display: none;
    width: 125px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    z-index: 10;
}

.menu a {
    display: block;
    text-decoration: none;
    color: #333;
    padding: 6px 10px;
    font-size: 10px;
}

.menu a:hover {
    background-color: #f0f0f0;
    color: #41bdacff;
}

.menu.show {
        display: block; /* Show when 'show' class is present */
    }
/* About the Data */
.section-title {
    color: #163641;
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}
    .variable {
    font-weight: bold;
    color: #00797F;
    font-size: 1.1rem;
}
.example {
    font-style: italic;
}

/* Contact Page */
.contact-wrapper {
    display: flex;
    gap: 40px;
    padding: 30px;
    box-sizing: border-box;
    flex-wrap: wrap;
    background-color: #fff;
    border-radius: 5px;
    border: solid 1px #ccc;
}

.contact-info {
    flex: 1;
    min-width: 250px;
    border-right: 1px solid #eee;
    padding-right: 40px;
    text-align: center;
}
.contact-form {
    flex: 1.5;
}
.contact-input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    display: block; 
    box-sizing: border-box;
}
.address {
    font-size: 1.125rem;
    margin-bottom: 10px;
    text-align: center;
}
.nefsc {
    margin-bottom: 1rem;
    text-align: center;
}
.ssb {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}
.notice {
    text-align: center;
}
.send {
    background-color:#00797F; 
    color: white;
    width: 100%;
    font-style: bold;
}
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    max-width: 1200px;
}

.alert-success {
    background-color: #dff0d8;
    color: #3c763d;
    border: 1px solid #d6e9c6;
}

.alert-danger {
    background-color: #f2dede;
    color: #a94442;
    border: 1px solid #ebccd1;
}

.alert ul {
    margin: 0;
    padding-left: 20px;
}
