body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #252539;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 175px;
    overflow-x: auto;
    overflow-y: hidden;
    background-color: rgb(14, 25, 53);
    z-index: 1000;
    white-space: nowrap;
    transition: top 0.3s ease; /* Add this line */
}


nav {
    min-width: max-content; /* Ensure nav can expand horizontally */
}

nav ul {
    display: flex;
    justify-content: flex-start; /* Prevent centering */
    list-style-type: none;
    padding: 0;
    margin: 0;
    gap: 20px;
    min-width: max-content; /* Ensure it overflows when needed */
}

nav ul {
    padding-left: 10px;
}

.logo {
    height: 50px;
}

nav ul li {
    flex-grow: 0; /* Allow tabs to grow evenly */
    text-align: center; /* Ensure text is centered */
}

nav ul li a {
    display: block;
    padding: 20px 20px; /* Increase padding for wider buttons */
    font-size: 18px; /* Increase font size for better readability */
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    background-color: #ffffff; /* Optional: Background color */
    border-radius: 20px; /* Optional: Rounded corners */
}

nav ul li a:hover {
    background-color: #0056b3;
    text-decoration: none;
}


.form-section {
    background-color: #ffffff;
    padding: 20px;
    font-size: 16px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
    position: relative; /* Ensure the form is positioned correctly */
    z-index: 1; /* Keep it above background elements */
}

h3 {
    margin: 20px 0 10px;
    font-size: 1.2em;
}

label {
    display: block;
    margin-bottom: 5px;
}

input, select {
    width: 96%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    padding: 10px 20px;
    background-color: #007BFF;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    margin: 0 auto;
}

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

#message {
    margin-top: 20px;
    color: red;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.sponsors-grid img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

input[type="file"] {
    width: 96%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.content {
    display: none;
    margin-top: 200px; /* Adjust this value to match the height of your fixed header */
    padding: 20px;
    font-family: "Arial Rounded MT", "Helvetica Rounded", Arial, sans-serif;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    flex: 1;
    margin-top: 110px; /* Add margin to clear the fixed header */
    margin-left: auto;
    margin-right: auto;
}

.content:target {
    display: block !important; /* Ensures only one section is shown when targeted */
}

.variant-explanation {
    font-size: 20px;
    line-height: 1.6;
}

.drop-zone {
    width: 100%;
    height: 150px;
    border: 2px dashed #ccc;
    border-radius: 10px;
    text-align: center;
    line-height: 150px;
    color: #aaa;
    cursor: pointer;
    margin-bottom: 20px;
    background-color: #f9f9f9;
}

.drop-zone.dragover {
    border-color: #333;
    color: #333;
}

#fileList {
    margin-top: 10px;
    list-style-type: none;
    padding: 0;
}

.submit-image-container {
    text-align: center; /* Center the image horizontally */
    margin: 2px auto; /* Add space above and below, and center within its container */
    display: flex;
    justify-content: center; /* Center horizontally */
}

.submit-image {
    max-width: 600px; /* Adjust this value to control the size */
    height: auto; /* Maintain aspect ratio */
}

/* Citation text styling */

.citation-text {
    font-size: 14px; /* Adjust font size */
    margin-top: 10px;
    text-align: center;
    line-height: 1.5;
}

.citation-text a {
    color: #1e90ff; /* Link color */
    text-decoration: underline;
}


#breseq-section {
    padding: 20px;
    text-align: left;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 20px auto;
}

#midauthorbio-button {
    position: fixed; /* Ensures it stays in the lower-right corner even when scrolling */
    bottom: 20px; /* Distance from the bottom of the screen */
    right: 20px; /* Distance from the right side of the screen */
    z-index: 1000; /* Ensure it appears above other elements */
}

#midauthorbio-button img {
    max-width: 250px; /* Adjust size of the button */
    height: auto; /* Maintain aspect ratio */
    border-radius: 50%; /* Optional: Make it circular */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Add shadow for depth */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Add hover effect */
}

#midauthorbio-button img:hover {
    transform: scale(1.1); /* Slightly enlarge on hover */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2); /* Add a deeper shadow on hover */
}

.nav-icon {
    width: 175px; /* Set a uniform width */
    height: 125px; /* Set a uniform height */
    padding: 5px; /* Adjust padding for better spacing */
    background-color: #1c1c2e; /* Add white background to icons */
    object-fit: contain; /* Ensure the entire image fits within the box */
    border-radius: 8px; /* Optional: Rounded corners */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Hover effects */
    margin: 0 2px; /* Add spacing between icons */
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Add hover effect */
    display: inline-block;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5); /* Subtle shadow for depth */
}

.nav-icon:hover {
    transform: scale(1.1); /* Slightly enlarge on hover */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Add depth on hover */
}

.nav-icon img {
    width: 100%; /* Increase the size relative to the white background */
    height: auto; /* Maintain the aspect ratio */
    display: block; /* Ensure it doesn’t have extra inline spacing */
    margin: auto; /* Center the image within the white background */
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

footer {
  background-color: rgb(14, 25, 53);
  color: white; /* White text for footer content */
  text-align: left;
  padding: 10px;
  width: 100%;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
  margin-top: auto;
}

footer p {
  color: white !important; /* Explicitly white */
  margin: 0;
}

.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#thank-you-section {
    text-align: center;
    padding: 50px 20px;
    background-color: #f8f9fa;
    color: #333;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Base button style */
.toggle-button {
    flex: 1;
    padding: 10px 15px;
    border: none;
    outline: none;
    cursor: pointer;
    background: #f0f0f0;
    color: #555;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
}

/* Active button style */
.toggle-button.active {
    background: #7ED321;
    color: #fff;
    box-shadow: inset 0px 0px 5px rgba(0, 0, 0, 0.2);
}

/* Hover effect */
.toggle-button:hover {
    background: #e6e6e6;
}

/* Rounded corners for first and last buttons */
.toggle-button:first-child {
    border-radius: 25px 0 0 25px;
}

.toggle-button:last-child {
    border-radius: 0 25px 25px 0;
}

.sequencing-target-title {
    text-align: center;
    font-size: 24px;
    font-weight: normal;
    margin-bottom: 20px;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 15px; /* Space between buttons */
    margin-bottom: 20px;
    margin-top: 20px;
}

button {
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

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

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 10px auto; /* Center the spinner horizontally */
}

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


.form-step {
    display: none;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.active-step {
    display: block;
}

.next-button, .prev-button, .submit-button {
    margin: 10px 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #3498db;
    color: white;
    cursor: pointer;
}

.next-button:hover, .prev-button:hover, .submit-button:hover {
    background-color: #2980b9;
}

.argument-container {
    margin-bottom: 10px;
}

#flags-container {
    display: grid;
    grid-template-columns: auto 1fr; /* Two columns: checkbox and label */
    gap: 20px 20px; /* 10px row gap, 20px column gap */
    padding: 5;
    margin: 0;
    align-items: center;
}

.flag-container {
    display: contents; /* Allow grid items to behave as direct children of the grid */
}

.flag-container input[type="checkbox"] {
    justify-self: start; /* Ensure checkbox is aligned to the left */
    margin: 0;
}

.flag-container label {
    justify-self: start; /* Ensure label is aligned to the left */
    margin: 0;
    word-wrap: break-word; /* Allow long text to wrap */
}

input[type="file"] {
    margin-bottom: 20px;
    display: block;
    width: 100%;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.toggle-button {
    flex: 1;
    padding: 10px 15px;
    border: none;
    outline: none;
    cursor: pointer;
    background: #f0f0f0;
    color: #555;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.toggle-button.active {
    background: #007BFF;
    color: white;
    box-shadow: inset 0px 0px 5px rgba(0, 0, 0, 0.2);
}


#magiclamp-section {
    padding: 20px;
    text-align: left;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 20px auto;
}



.card {
    max-width: 600px;
    margin: 20px auto;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background-color: #fff;
}

.card-image {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #ccc;
}

.card-content {
    padding: 20px;
    text-align: center;
}

.card-content h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #333;
}


.card-content p {
    font-size: 1em;
    color: #666;
    line-height: 1.5;
}

#genieNameContainer {
    margin-top: 10px;
    display: none;
}

#genieName {
    width: 96%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

input:disabled {
    background-color: #ddd;
    color: #666;
    cursor: not-allowed;
}

.file-format-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px; /* Adds spacing between options */
    margin-bottom: 10px;
}

.format-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.rotated-label {
    transform-origin: center;
    font-size: 14px;
    text-align: center;
    width: 120px;
    margin-bottom: 5px;
}

.file-format-container input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}


/* Base button style */
.toggle-button {
    flex: 1;
    padding: 10px 15px;
    border: none;
    outline: none;
    cursor: pointer;
    background: #f0f0f0;
    color: #555;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
}

/* Active button style */
.toggle-button.active {
    background: #7ED321;
    color: #fff;
    box-shadow: inset 0px 0px 5px rgba(0, 0, 0, 0.2);
}

/* Hover effect */
.toggle-button:hover {
    background: #e6e6e6;
}

/* Rounded corners for first and last buttons */
.toggle-button:first-child {
    border-radius: 25px 0 0 25px;
}

.toggle-button:last-child {
    border-radius: 0 25px 25px 0;
}

.mode {
    text-align: center;
    font-size: 24px;
    font-weight: normal;
    margin-bottom: 20px;
}


button {
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

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

#youtube-container {
    display: none;
    position: fixed;
    bottom: 0; /* Pushes it to the bottom */
    right: 20px;
    width: 400px;
    height: 400px;
    background-color: black;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    z-index: 9999;
    padding: 10px;
}


#youtube-container iframe {
    width: 100%;
    height: 100%; /* or whatever height you prefer */
    border: none;
}

#open-video {
    display: block; /* Ensure this is visible from the start */
}

#youtube-video {
    width: 100%;
    height: 100%;
    border: none;
}

#close-video {
    position: absolute;
    top: 5px;
    right: 5px;
    background: red;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 2px 6px;
    border-radius: 50%;
    z-index: 1001;
}

#close-video:hover {
    background: darkred;
}

#youtube-message {
    background-color: #222;
    color: white;
    padding: 8px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
}

#open-video {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgb(14, 25, 53);
    color: white;
    padding: 10px 15px;
    font-size: 30px;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1001;
    display: block;
}

#open-video:hover {
    background: #388E3C;
}

#radio-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    background: black;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

#radio-player {
    width: 100%;
}

#close-radio {
    position: absolute;
    top: 5px;
    right: 5px;
    background: red;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 2px 6px;
    border-radius: 50%;
    z-index: 1001;
}

#close-radio:hover {
    background: darkred;
}

#open-radio {
    position: fixed;
    bottom: 20px;
    right: 80px;
    padding: 10px;
    background: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#open-radio:hover {
    background: #0056b3;
}

#binarena-section {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}


#binarena-button {
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    background-color: #007BFF;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    display: inline-block;
    margin-top: 15px;
    transition: all 0.3s ease;
}

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

.mhcscan-container {
    display: flex;
    align-items: center; /* Align items vertically */
    justify-content: center; /* Center content horizontally */
    gap: 20px; /* Add spacing between the image and form */
    max-width: 1000px; /* Adjust width as needed */
    margin: 0 auto; /* Center container */
}

#mhcscan-image {
    max-width: 600px; /* Set a stricter maximum width */
    width: 100%; /* Allow responsive scaling */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Treat the image as a block element */
    margin: 0 auto; /* Center the image horizontally */
    padding-top: 20px; /* Optional: Add some space above the image if needed */
}

#mhcscan-section {
    padding: 20px;
    text-align: left;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 20px auto;
}

#gtotree-section {
    padding: 20px;
    text-align: left;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 20px auto;
}

#gtotree-section {
    text-align: left;
    max-width: 600px; /* Ensure the section doesn't exceed the form's width */
    margin: 0 auto; /* Center the section */
}

#gtotree-image {
    max-width: 600px; /* Set a stricter maximum width */
    width: 100%; /* Allow responsive scaling */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Treat the image as a block element */
    margin: 0 auto; /* Center the image horizontally */
    padding-top: 20px; /* Optional: Add some space above the image if needed */
}

#gtotreeDropdown {
    width: 96%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

#gtotreeGenomesDropZone,
gtotreeGbkDropZone
#gtotreeProtDropZone {
    width: 100%;
    height: 150px;
    border: 2px dashed #ccc;
    border-radius: 10px;
    text-align: center;
    line-height: 150px;
    color: #aaa;
    cursor: pointer;
    margin-bottom: 20px;
    background-color: #f9f9f9;
}

#gtotreeGenomesDropZone.dragover,
gtotreeGbkDropZone.dragover
#gtotreeProtDropZone.dragover {
    border-color: #333;
    color: #333;
}

#gtotreeProtList,
gtotreeGenomeList
#gtotreeGbkList {
    margin-top: 10px;
    list-style: none;
    padding: 0;
}

#gtotreeProtList li,
#gtotreeGbkList li,
#gtotreeGenomeList li {
    margin-bottom: 5px;
    font-size: 14px;
}


.fegenie-image {
    max-width: 400px; /* Set a stricter maximum width */
    width: 100%; /* Allow responsive scaling */
    height: auto;
    display: block;
    margin: 0 auto;
    background: none; /* Ensure no background color */
}

.megahit-image {
    max-width: 400px; /* Set a stricter maximum width */
    width: 100%; /* Allow responsive scaling */
    height: auto;
    display: block;
    margin: 0 auto;
    background: none; /* Ensure no background color */
}

.binarena-image {
    max-width: 600px; /* Set a stricter maximum width */
    width: 100%; /* Allow responsive scaling */
    height: auto;
    display: block;
    margin: 0 auto;
    background: none; /* Ensure no background color */
    padding-top: 5px; /* Optional: Add some space above the image if needed */
}

.omics-image {
    max-width: 600px; /* Set a stricter maximum width */
    width: 100%; /* Allow responsive scaling */
    height: auto;
    display: block;
    margin: 0 auto;
    background: none; /* Ensure no background color */
    padding-top: 5px; /* Optional: Add some space above the image if needed */
}

.spraynpray-image {
    max-width: 640px; /* Set a stricter maximum width */
    width: 100%; /* Allow responsive scaling */
    height: auto;
    display: block;
    margin: 0 auto;
    background: none; /* Ensure no background color */
    padding-top: 5px; /* Optional: Add some space above the image if needed */
}


#mhcscanMessage {
    display: block !important;  /* Ensure it is visible */
    color: red;                 /* Set color to red */
    font-size: 16px;            /* Make text readable */
    margin-top: 10px;           /* Add spacing */
}


#gtotreeMessage {
    display: block !important;  /* Ensure it is visible */
    color: red;                 /* Set color to red */
    font-size: 16px;            /* Make text readable */
    margin-top: 10px;           /* Add spacing */
}


#fegenieMessage {
    display: block !important;  /* Ensure it is visible */
    color: red;                 /* Set color to red */
    font-size: 16px;            /* Make text readable */
    margin-top: 10px;           /* Add spacing */
}

#megahitMessage {
    display: block !important;  /* Ensure it is visible */
    color: red;                 /* Set color to red */
    font-size: 16px;            /* Make text readable */
    margin-top: 10px;           /* Add spacing */
}

#baktaMessage {
    display: block !important;  /* Ensure it is visible */
    color: red;                 /* Set color to red */
    font-size: 16px;            /* Make text readable */
    margin-top: 10px;           /* Add spacing */
}


#mailing-list-container {
    display: none;
    position: fixed;
    top: 180px;
    left: 20px;
    width: 350px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 1000;
}


#mailing-list-container label {
    display: block;
    margin-top: 10px;
    font-size: 14px;
}

#mailing-list-container input,
#mailing-list-container textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}


#close-mailing-list {
    position: absolute;
    top: 5px;
    right: 5px;
    background: red;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 2px 6px;
    border-radius: 50%;
}

#close-mailing-list:hover {
    background: darkred;
}

#open-mailing-list {
    position: fixed;
    top: 200px;
    left: 20px;
    background: rgb(14, 25, 53);
    color: white;
    padding: 10px 15px;
    font-size: 30px;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1001;
}

#open-mailing-list:hover {
    background: #388E3C;
}

#mailing-list-message {
    background-color: white;
    color: black;
    padding: 0px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}


/* Ensure the checkbox and label are aligned properly */
.checkbox-container {
    display: flex;
    align-items: center; /* Align checkbox with label */
    margin-bottom: 20px;
    gap: 0px; /* Reduce spacing between checkbox and text */
    max-width: 100%; /* Prevents overflow */
    flex-wrap: wrap; /* Ensures it stays inside the container */
}

/* Ensure label text does not break outside */
.checkbox-container label {
    font-size: 16px;
    color: #333;
    cursor: pointer;
    white-space: normal; /* Allows wrapping */
    word-break: break-word; /* Ensures text breaks instead of overflowing */
    max-width: 100%; /* Keeps text within container */
    font-weight: bold; /* Make only the consent text bold */
    text-align: center; /* Center the text */
}

/* Style the checkbox */
.checkbox-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #007BFF; /* Match theme */
    cursor: pointer;
    margin: 0; /* Remove any default margin */
    padding: 0;
}

#close-form {
    position: absolute;
    top: 5px;
    right: 5px;
    background: red;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 2px 6px;
    border-radius: 50%;
    z-index: 1001;
}

#close-form:hover {
    background: darkred;
}

#qiime2-section {
    padding: 20px;
    text-align: left;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 20px auto;
}

#qiime2-section .form-section {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: -20px auto;
}

#qiime2-image {
    max-width: 600px; /* Set a stricter maximum width */
    width: 100%; /* Allow responsive scaling */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Treat the image as a block element */
    margin: 0 auto; /* Center the image horizontally */
    padding-top: 20px; /* Optional: Add some space above the image if needed */
}

#qiime2DropZone {
    width: 100%;
    height: 150px;
    border: 2px dashed #ccc;
    border-radius: 10px;
    text-align: center;
    line-height: 150px;
    color: #aaa;
    cursor: pointer;
    margin-bottom: 20px;
    background-color: #f9f9f9;
}

#qiime2DropZone.dragover {
    border-color: #333;
    color: #333;
}

#qiime2SelectedFiles li {
    margin-bottom: 5px;
    font-size: 14px;
}

/* ************************************************************************ */
/* ************************************************************************ */
/* ************************************************************************ */
/* ************************************************************************ */
/* ************************************************************************ */
/* ************************************************************************ */


#spraynpray-section .form-section {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: -20px auto;
}

#spraynpray-image {
    max-width: 10px; /* Set a stricter maximum width */
    width: 100%; /* Allow responsive scaling */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Treat the image as a block element */
    margin: 0 auto; /* Center the image horizontally */
    padding-top: 20px; /* Optional: Add some space above the image if needed */
}


#spraynpray-section h2 {
    text-align: center;
}

#spraynpray-section p {
    text-align: center;
}

#spraynprayMessage {
    display: block !important;  /* Ensure it is visible */
    color: red;                 /* Set color to red */
    font-size: 16px;            /* Make text readable */
    margin-top: 10px;           /* Add spacing */
}

/* ************************************************************************ */

.pseudofinder-image {
    max-width: 400px; /* Set a stricter maximum width */
    width: 100%; /* Allow responsive scaling */
    height: auto;
    display: block;
    margin: 0 auto;
    background: none; /* Ensure no background color */
}

#pseudofinder-section {
    padding: 20px;
    text-align: center;
    background-color: #ffffff; /* Match the form background color */
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for aesthetics */
    max-width: 600px;
    margin: 20px auto;
}

/* Style for form labels */
#pseudofinder-section label {
    display: block;
    text-align: left;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333; /* Adjust for readability */
}

/* Style for form inputs */
#pseudofinder-section input[type="text"],
#pseudofinder-section input[type="email"],
#pseudofinder-section input[type="file"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
    padding: 5px;
}

/* Button styling */
#pseudofinder-section button[type="submit"] {
    background-color: #007bff; /* Primary button color */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

#pseudofinder-section button[type="submit"]:hover {
    background-color: #0056b3; /* Darker shade on hover */
}

/* Progress bar styling */
#pseudofinderProgressContainer {
    margin-top: 10px;
    text-align: center;
}

#pseudofinderUploadProgress {
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background-color: #e0e0e0;
    margin-bottom: 5px;
}

#pseudofinderProgressText {
    font-size: 14px;
    color: #333;
}

#pseudofinderMessage {
    display: block !important;  /* Ensure it is visible */
    color: red;                 /* Set color to red */
    font-size: 16px;            /* Make text readable */
    margin-top: 10px;           /* Add spacing */
}



/* ************************************************************************ */
/* ************************************************************************ */
/* ************************************************************************ */
/* ************************************************************************ */
/* ************************************************************************ */
/* ************************************************************************ */



#megahit-section {
    padding: 20px;
    text-align: left;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 20px auto;
}

#megahit-section .form-section {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: -20px auto;
}

#megahit-image {
    max-width: 600px; /* Set a stricter maximum width */
    width: 100%; /* Allow responsive scaling */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Treat the image as a block element */
    margin: 0 auto; /* Center the image horizontally */
    padding-top: 20px; /* Optional: Add some space above the image if needed */
}


/* ************************************************************************ */
/* ************************************************************************ */
/* ************************************************************************ */
/* ************************************************************************ */
/* ************************************************************************ */
/* ************************************************************************ */


#bakta-section {
    padding: 20px;
    text-align: left;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 20px auto;
}

#bakta-section .form-section {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: -20px auto;
}

#bakta-image {
    max-width: 600px; /* Set a stricter maximum width */
    width: 100%; /* Allow responsive scaling */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Treat the image as a block element */
    margin: 0 auto; /* Center the image horizontally */
    padding-top: 20px; /* Optional: Add some space above the image if needed */
}

/* ************************************************************************ */
/* ************************************************************************ */
/* ************************************************************************ */
/* ************************************************************************ */
/* ************************************************************************ */
/* ************************************************************************ */

.tool-button-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin: 30px auto;
  max-width: 600px;
}

.tool-button {
  background-color: #ffffff;
  padding: 10px;
  text-align: center;
  border-radius: 12px;
  font-size: 24px;
  font-family: "Arial Rounded MT", "Helvetica Rounded", Arial, sans-serif;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  min-height: 100px;
  height: 150px; /* uniform height for all tiles */
  display: flex;
  flex-direction: column;
  justify-content: top;
}

.tool-button span {
  display: block;
  color: #555;
  font-weight: bold;
  font-size: 26px;
  margin-top: -20px;
  line-height: 1;
}

.tool-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.tool-button strong {
  display: block;
  font-size: 20px;
  font-family: "Arial Rounded MT", "Helvetica Rounded", Arial, sans-serif;
  color: black;
  font-style: italic;
  margin-top: 5px;
}

.tool-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
  transition: transform 0.2s ease;
}

.tool-link:hover {
  transform: scale(1.03);
}

/* ************************************************************************ */
/* ************************************************************************ */
/* ************************************************************************ */
/* ************************************************************************ */
/* ************************************************************************ */
/* ************************************************************************ */

.limits-card {
  background-color: #f9f9f9;
  border-left: 6px solid #007BFF;
  border-radius: 10px;
  padding: 20px;
  margin: 20px auto;
  max-width: 600px;
  font-family: "Arial Rounded MT", "Helvetica Rounded", Arial, sans-serif;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.limits-note {
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
}

.limit-item {
  margin: 6px 0;
  font-size: 15px;
  color: #444;
}

.limit-type {
  color: #007BFF;
  font-weight: bold;
}

.limits-footer {
  margin-top: 20px;
  font-size: 14px;
  color: #555;
}

/* ************************************************************************ */
/* ************************************************************************ */
/* ************************************************************************ */
/* ************************************************************************ */
/* ************************************************************************ */
/* ************************************************************************ */

.scroll-container-wrapper {
    position: relative;
    max-height: 400px; /* Same as scroll-container */
    width: 100%;
    margin: 0 auto;
}

.pipeline-scroll-container {
    max-height: 600px; /* Adjust height as needed */
    overflow-y: auto;
    border: 1px solid #555;
    padding: 10px;
    border-radius: 10px;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.2);
    background-color: #1c1c2e;
    position: relative;
    z-index: 1;
}

.scroll-blur-top,
.scroll-blur-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    height: 20px; /* adjust as needed */
    pointer-events: none; /* allows scrolling through overlay */
    z-index: 2;
}

.scroll-blur-top {
    top: 0;
    background: linear-gradient(to bottom, rgba(28,28,46,1), rgba(28,28,46,0));
    backdrop-filter: blur(5px);
}

.scroll-blur-bottom {
    bottom: 0;
    background: linear-gradient(to top, rgba(28,28,46,1), rgba(28,28,46,0));
    backdrop-filter: blur(5px);
}


.tool-pipeline-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 20px;
    align-items: center;
}

.pipeline-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.pipeline-tile {
    text-align: center;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Input/Output tiles - larger */
.io-tile {
    width: 180px;
    height: 100px;
    background-color: #f2f2f2;
    border: 2px solid #ccc;
    color: #000000;
}

/* Tool tiles - smaller and purple */
.tool-tile {
    width: 150px;
    height: 80px;
    background-color: #252539; /* match site bg */
    color: white;
    border: 2px solid #ffffff;
    gap: 6px;
    position: relative;
    font-family: "Arial Rounded MT", "Helvetica Rounded", Arial, sans-serif;
}

/* Arrow styling */
.arrow {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.tool-tile:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0,0,0,0.2);
}


/* ************************************************************************ */
/* ************************************************************************ */
/* ************************************************************************ */
/* ************************************************************************ */
/* ************************************************************************ */
/* ************************************************************************ */

#landing-section .form-section {
  background-color: #f5ecdc; /* light blue example */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* ************************************************************************ */
/* ************************************************************************ */
/* ************************************************************************ */
/* ************************************************************************ */
/* ************************************************************************ */
/* ************************************************************************ */

img.omics-image,
/*img.spraynpray-image,*/
/*img.binarena-image,*/
img.pseudofinder-image,
img.fegenie-image,
img.megahit-image,
img.bakta-image,
img.mhcscan-image,
img.gtotree-image,
img.home-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
}

/* ************************************************************************ */
/* ************************************************************************ */

.content {
    transition: margin-top 0.3s ease;
}


/* ************************************************************************ */
/* ************************************************************************ */
/* --- ADD TO BOTTOM OF index.css --- */

@media (max-width: 768px) {
    header {
        height: auto;
        padding: 10px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .nav-icon {
        width: 100px;
        height: 80px;
        margin: 5px;
    }

    .content {
        margin-top: 160px;
        padding: 10px;
        flex-direction: column;
        max-width: 95%;
    }

    .form-section {
        padding: 15px;
        max-width: 100%;
        box-sizing: border-box;
    }

    button, .toggle-button {
        font-size: 14px;
        padding: 8px 12px;
    }

    #youtube-container {
        width: 100%;
        height: 100px;
        right: 0;
    }

    #open-video {
        right: 10px;
        top: 140px;
        font-size: 24px;
        padding: 10px 10px;
    }

    iframe#youtube-video {
        height: 100%;
    }
}

/* --- BADGE FOR BETA --- */
#beta-badge {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1100;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 127, 80, 0.95);
    padding: 6px 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

#beta-badge img {
    height: 20px;
    width: 20px;
}

#beta-badge span {
    color: white;
    font-size: 14px;
    font-weight: bold;
}

/* Optional: Show only on landing section */
body:not([data-page="landing"]) #beta-badge {
    display: none;
}


/* ************************************************************************ */
/* ************************************************************************ */
/* === Quote Form Specific === */
#quoteRequestForm textarea {
    width: 96%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
    font-size: 16px;
    resize: vertical;
}

#quoteRequestForm select {
    width: 98%;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-size: 16px;
    border: 1px solid #ccc;
}

#quoteMessage {
    text-align: center;
    font-size: 16px;
    margin-top: 10px;
    color: green;
}



