body {
    font-family: "Roboto", monospace;
    font-size: 16px;
    background-color: #f3f3f3;
    position: relative;
    margin-right: 25%;
    margin-left: 25%;
    margin-top: 2%;
}

.input-group {
    display: flex;
    justify-content: space-evenly; /* Evenly spaces the buttons */
    align-items: center;           /* Aligns items vertically */
    gap: 10px;                     /* Optional: Adds a small gap between items */
}

input[type="file"] {
    flex-grow: 1;                  /* Ensures the file input grows to take up available space */
}

button {
    flex-grow: 1;
    cursor: pointer;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table,
th,
td {
    border: 1px solid black;
}

th,
td {
    padding: 5px;
    text-align: left;
}

th {
    background-color: #d3d3d3;
}

td {
    background-color: #ffffff;
}

textarea {
    border: 1px solid black;
    width: 100%;
    height: 200px;
}

#progressContainer {
    display: none;
    margin-top: 25px;
}

#progressBar {
    width: 0%;
    height: 25px;
    background-color: green;
}

#progressBarContainer {
    width: 100%;
    background-color: #ddd;
    height: 25px;
}

#nameHeader {
    background-color: #d3d3d3;
    text-align: center;
    font-size: 20px;
}

a:link {
    color: blue;
    text-decoration: none;
}

a:visited {
    color: blue;
    text-decoration: none;
}

.message {
    display: none;               /* Initially hidden */
    position: fixed;             /* Fixed position at the top */
    top: 0;
    left: 50%;
    transform: translateX(-50%); /* Center horizontally */
    background-color: black;  
    color: white;                
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    z-index: 1000;               /* Ensure it's above other elements */
    opacity: 1;                  /* Fully visible */
    transition: opacity 1s ease; /* Fade-out effect */
}

.hidden {
    opacity: 0;                  /* Fully transparent */
    display: none;               /* Hide the element */
    transition: opacity 1s ease; /* Smooth fade-out */
}
