.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    padding: 15px 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Style the header links */
.header a {
    color: #f5f5f5; /* Light text color */
    text-align: center;
    padding: 12px 16px;
    text-decoration: none;
    font-size: 16px;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

/* Style the logo link */
.header a.logo {
    font-size: 24px;
    font-weight: bold;
    color: white; /* Accent color for the logo */
}

/* Change background color on hover */
.header a:hover {
    background-color: #555; /* Slightly lighter dark color */
    color: #ffffff;
}

/* Style the active/current link */
.header a.active {
    background-color: #007bff; /* Accent color */
    color: #ffffff;
}

/* Flexbox-based layout for right-aligned links */
.header-right {
    display: flex;
}

/* Responsive design */
@media screen and (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .header-right {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .header a {
        padding: 10px;
        text-align: left;
        width: 100%;
        box-sizing: border-box;
    }
}

* { box-sizing: border-box; }
body {
    font: 16px Arial;
}
.autocomplete {
    position: relative;
    display: inline-block;
    align-items: center;
}
input {
    border: 1px solid transparent;
    background-color: #f1f1f1;
    padding: 10px;
    font-size: 16px;
    width: 100%;
}

.autocomplete-items {
    max-height: 200px;
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    top: 100%;
    left: 0;
    right: 0;
    overflow-y: auto;
}
.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
}
.autocomplete-items div:hover {
    background-color: #e9e9e9;
}
.autocomplete-active {
    background-color: DodgerBlue !important;
    color: #ffffff;
}

.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #333; /* Dark background for consistency with the header */
    color: #f5f5f5; /* Light text color for contrast */
    text-align: center;
    padding: 20px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* Footer text styling */
.footer p {
    margin: 0; /* Remove default margin */
    font-size: 14px; /* Smaller font size for a footer */
    line-height: 1.5; /* Increased line-height for readability */
}

/* Responsive design adjustments */
@media screen and (max-width: 768px) {
    .footer {
        padding: 15px; /* Adjust padding for smaller screens */
    }

    .footer p {
        font-size: 12px; /* Slightly smaller font size on small screens */
    }
}


.plot-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}
.plot {
    flex: 1;
    width: 48%;
    height: 500px;
    min-width: 0;
}

.matrix {
    width: 850px;
    height: 400px;
    overflow: auto;
    border: 1px solid #ccc;
}

button {
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    justify-content: center;
    align-items: flex-start;
    padding-top: 20px;
    padding-bottom: 20px;
}

.modal-content {
    background-color: #fefefe;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #888;
    width: 100%;
    max-width: 900px;
    border-radius: 8px;
    overflow: auto;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

button {
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

.search-list {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.search-item {
    background-color: #e9ecef;
    padding: 10px;
    margin: 5px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 0 1 calc(10% - 10px);
    box-sizing: border-box;
}

.search-item button {
    background-color: #dc3545;
    border: none;
    border-radius: 4px;
    color: white;
    padding: 5px 10px;
    cursor: pointer;
    margin-left: 10px;
}

.search-item button:hover {
    background-color: #c82333;
}

.submit-button{
    color: white;
}