/*h1, h2, h3 {*/
/*    font-family: "Comic Sans MS", "Comic Sans", cursive;*/
/*}*/

* {
    font-family: Arial, Helvetica, sans-serif;
}

/* Navigation Bar */
.navbar {
    background-color: #f9f9f9;
    padding: 10px 0;
    text-align: center;
}

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

.navbar ul li {
    display: inline;
    margin: 0 15px;
}

.navbar ul li a {
    text-decoration: none;
    color: maroon;
    font-size: 18px;
}

/* Logo Styling */
.logo-container {
    text-align: center;
    margin: 20px 0; /* Adds spacing between navbar and content */
}

.logo {
    width: 50%; /* Make the logo span half the width of the page */
    height: auto;
    display: block;
    margin: 0 auto;
    background: none; /* No background */
}

/* Main Content */
.content {
    text-align: center;
    padding: 10px;
}

.required {
    color: red;
    font-weight: bold;
    margin-left: 1px; /* Adds spacing between text and asterisk */
}

.content-container {
    max-width: 800px; /* Limit content width */
    margin: auto; /* Center content 20px */
    padding: 10px;
    text-align: left; /* Left-align text */
    /*background: #f9f9f9;*/
    /*border-radius: 10px;*/
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
}

/* Styling for form container */
.form-container {
    width: 80%;
    margin: auto;
    padding: 10px;
    /*background: #f9f9f9;*/
    /*border-radius: 8px;*/
    /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);*/
}

/* Creating two-column layout for label-input pairs */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Styling each label-input pair */
.form-group {
    display: flex;
    flex-direction: column;
    /*align-items: center;*/
}

/* Align left column elements to the right */
.form-group:nth-child(odd) {
    text-align: right;
    align-items: flex-end;
}

/* Align right column elements to the left */
.form-group:nth-child(even) {
    text-align: left;
    align-items: flex-start;
}

/* Styling labels */
.form-group label {
    /*font-weight: bold;*/
    /*text-align: left;*/
    margin-bottom: 5px;
}

/* Styling inputs */
.form-group input[type="file"] {
    width: 40%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-group input[type="number"] {
    width: 20%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Styling selects */
.form-group select {
    width: 20%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Special styling for checkbox container */
.checkbox-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

/* Prevent checkbox from expanding */
.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

/* Centering the submit button */
.submit-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* Styling the submit button */
.submit-container input[type="submit"] {
    background-color: maroon;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

/* Hover effect for submit button */
.submit-container input[type="submit"]:hover {
    background-color: navy;
}

.run-container {
    display: flex;
    justify-content: center;
    margin-top: 5px;
}

/* Styling selects */
.run-container select {
    width: 15%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-right: 10px;
}

.run-container label {
    margin-right: 10px;
}

/* Styling the run button */
.run-container input[type="submit"] {
    background-color: maroon;
    color: white;
    padding: 5px 5px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

/* Hover effect for submit button */
.run-container input[type="submit"]:hover {
    background-color: navy;
}

/* Footer */
footer {
    background-color: #f9f9f9; /* Same as navbar */
    /*color: white;*/
    padding: 5px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 5px;
}

.footer-left,
.footer-center,
.footer-right {
    flex: 1;
    padding: 5px;
    font-size: 16px;
}

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

.footer-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; /* Adjust space between logos */
    /*margin-bottom: 4px; !* Space between logos and text *!*/
}

.footer-logo {
    height: 40px; /* Adjust logo size */
    width: auto;
}

.footer-text {
    font-size: 16px;
}

.footer-left, .footer-right {
    text-align: left;
}

.footer-right {
    text-align: right;
}

/* Make all links inside the navigation bar and footer white */
nav ul li a, footer a {
    color: maroon;
    /*text-decoration: none; !* Removes underline *!*/
}

/* Change color when hovered */
nav ul li a:hover, footer a:hover {
    color: navy; /* Optional: Slightly different color on hover */
}

/* General table styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
    text-align: left;
    background-color: #ffffff;
}

/* Table header styling */
th {
    background-color: #800000;
    color: white;
    padding: 12px;
    border: 1px solid #dddddd;
    font-weight: bold;
}

/* Table data cell styling */
td {
    padding: 10px;
    border: 1px solid #dddddd;
}

/* Alternate row coloring for better readability */
tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Hover effect for table rows */
tr:hover {
    background-color: #ddd;
}

/* Responsive table for smaller screens */
@media screen and (max-width: 768px) {
    table {
        width: 100%;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}