
body {
    font-family: Arial, sans-serif;
    /*margin: 20px;*/
    background-color: #f4f4f4;
    color: #333;
    width: 1600px;
    margin: 0 auto;
    margin-top: 75px;
}
h1 {
    text-align: center;
    color: #24796b; /* Darkened green */
}
h2 {
    font-weight: 900;            
}
h3 {
    font-size: 18px;
    font-weight: 900;
    margin-top: 0px;
    margin-bottom: 0px;
    
}
table {
    text-align: left;
    height: 40px;
    border-spacing: 20px;
}
.controls {
    /* upload-container not use .js */
    margin-bottom: 10px;
    background-color: #fafafa;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    position: relative;
}

#upload-container {
    /* upload-container not use .js */
    margin-bottom: 10px;
    background-color: #fafafa;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    position: relative;
    display: block;
    height: 100px;
}

/* Used in addStatPlot() */
#addContainer {
    margin-bottom: 10px;
    background-color: #fafafa;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    position: relative;
}

[id^="plot-container-"], [id^="statContainer-"]  {
    width: 100%;
    height: 500px;
    margin-top: 0px;
    background-color: #fff;
    border-radius: 8px;
    position: relative;
}
label {
    display: inline-block;
    font-weight: bold;
    color: #555; /* Muted grey */
}
#label00{
    height: 175px;
}
#label01, #label02, #label03, #label04 {
    width: 150px;
}
#label05, #label06 {
    width: 225px;
}
select, input, button {
    margin: 5px;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    background-color: #f0f0f0;
    color: #333;
}
.filter-group-0 select, input, button {
    margin: inherit;
    padding: inherit;
    border-radius: inherit;
    border: 1px solid #ccc;
    background-color: #f0f0f0;
    color: #333;
}
button {
    background-color: #666; /* Muted grey */
    color: white;
    cursor: pointer;
}
button:hover {
    background-color: #555;
}
.controls button {
    margin-right: 0px;
}
#files {
    margin-left: 150px;
    margin-top: 10px;
}
#filters {
    margin-left: 100px;
    margin-top: inherit;
}
#fits {
    margin-left: 50px;
    margin-top: 0px;
}
#peaks {
    margin-left: 50px;
    margin-top: 0px;
}
#addPlot {
    background-color: none;
    display: none;
    position: fixed;
    bottom: 30px; /* 20px from the bottom of the viewport */
    left: 60px;  /* 30px from the right of the viewport */
    width: 40px;
    height: 40px;
}

#addPlot img {
    width: 40px;
    height: 40px;
}
#addPlot:hover {
    background-color: #777;
}
#filter-Yraw-values, #filter-Xraw-values, .plot-forms {
    width: 100px;
}


.header-and-icons {
    display: flex;
    background-color: white;
    padding-left: 50px;
    gap: 20px; /* Adjust the space between the header and icons */
    z-index: 10;
}

#filter-icons {
    display: flex;
    gap: 20px; /* Set the distance between icons to 50 pixels */
    padding-top: 5px;
}

.icon-button-0, [class^="icon-button-"] {
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    align-items: center; /* Centers header and icons vertically */
}

.icon-button-0 img, [class^="icon-button-"] img {
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
}

.filter-group-0, [class^="filter-group-"] {
    display: none; /* Initially hide all filter groups */
    margin-top: inherit;
}

.controls-group {
    display: none; /* Initially hide all control groups */
    margin-top: 10px;
}

/*Notice ################################################## */
#notice {
    background-color: #ffcc00;
    color: #333;
    text-align: center;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
#notice button {
    margin-left: 15px;
    background: #333;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 3px;
}
#notice button:hover {
    background: #555;
}

/*Footer ################################################## */
footer {
background-color: #555;
color: white;
padding: 20px;
text-align: center;
bottom: 0;
width: 100%;
}
#footer {
background-color: #555;
color: white;
padding: 20px;
text-align: center;
position: relative;
bottom: 0;
/*width: 100%;*/
}

.footer-container {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
max-width: 1200px;
margin: 0 auto;
}

.footer-section {
margin: 10px;
min-width: 200px;
}

.footer-section h3 {
margin-bottom: 10px;
font-size: 16px;
}

.footer-section a {
color: #58cab7; /* Darkened green */
text-decoration: none;
}

.footer-section a:hover {
text-decoration: underline;
}
