body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: #343541;
    color: #d1d5db;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: auto;
}
.container {
    background-color: #40414f;
    padding: 30px;
    border-radius: 8px;
    max-width: 1200px;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}
h1 {
    color: #dbd1d1;
    text-align: center;
    font-weight: 600;
    margin-bottom: 20px;
}
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
label {
    color: #d1d5db;
    font-weight: 500;
}
input[type="text"], input[type="checkbox"] {
    padding: 12px;
    border-radius: 8px;
    border: none;
    background-color: #565869;
    color: #d1d5db;
}
button {
    background-color: #508496;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}
button:hover {
    background-color: #2c5968;
}
.start-button {
    width: 200px;
    display: block;
    margin: 20px auto;
}
.copy-btn {
    width: 40px;
    height: 20px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
table {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
    max-height: 300px;
    border-collapse: collapse;
}
th, td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #565869;
}
th {
    background-color: #565869;
}
td {
    background-color: #40414f;
}
a {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #75adbc;
    text-decoration: none;
}

#printTable th,
#printTable td {
  color: #000000;
  background-color: #ffffff;
  border-bottom: 1px solid #e7e7e7;
  border-right: 1px solid #e7e7e7;
}
a:hover {
    color: #508496;
}
.pagination {
    margin-top: 20px;
    display: none;
    justify-content: space-between;
}
.left {
    text-align: left;
}
.errorMessage {
    margin-top: 20px;
    display: none;
    justify-content: center;
    text-align: center;
}
select {
    font-size: 16px;
    margin: 10px 20px 20px 20px;
    padding: 5px 10px;
    border: none;
    background-color: #d1d5db;
    color: #333;
    cursor: pointer;
}

#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure it overlays all other content */
    color: white;
    font-size: 18px;
}

.spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

#uploadForm {
    display: flex;
    align-items: center;
    float: right;
    gap: 10px;
    margin-top: 10px;
}

#uploadForm label {
    margin-right: 5px;
}

#uploadForm input[type="file"] {
    display: none;
}

.custom-file-upload {
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
    background-color: #508496;
    color: white;
    border-radius: 8px;
    font-size: 14px;
    padding: 12px 20px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.custom-file-upload:hover {
    background-color: #2c5968;
}