/* General styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f7fc;
    color: #333;
}

/* Container */
.container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Headings */
h1 {
    text-align: center;
    color: #444;
    margin-bottom: 20px;
}

h2, h3 {
    color: #555;
}

/* Information Box */
.info-box {
    background-color: #fffae6;
    border-left: 5px solid #ffcc00;
    padding: 15px;
    font-size: 16px;
    border-radius: 5px;
    color: #666;
}

.info-box a {
    color: #007BFF;
    font-weight: bold;
    text-decoration: none;
    margin-left: 10px;
}

.info-box a:hover {
    text-decoration: underline;
}

/* Form styles */
form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

label {
    font-weight: bold;
    margin-top: 10px;
}

select, input[type="file"], input[type="number"], button {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
}

select, input[type="file"], input[type="number"] {
    background-color: #f9f9f9;
}

select:focus, input[type="file"]:focus, input[type="number"]:focus {
    border-color: #007BFF;
    background-color: #fff;
}

/* Buttons */
button {
    background-color: #007BFF;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: none;
}

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

/* File hint text */
#fileHint {
    font-size: 14px;
    color: #666;
}

/* Circular Loader */
#loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 6px solid #f3f3f3; /* Light gray */
    border-top: 6px solid #007BFF; /* Blue */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Adjust text below the loader */
#loader p {
    margin-top: 10px;
    font-weight: bold;
    color: #444;
}

/* Upload Area Styling */
#uploadArea {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#uploadArea .file-inputs {
    display: flex;
    gap: 10px;
    align-items: center;
}

#uploadArea .file-inputs input[type="file"] {
    flex: 1;
    padding: 8px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    outline: none;
}

#uploadArea .file-inputs input[type="file"]:focus {
    border-color: #007BFF;
    background-color: #fff;
}

#fileHint {
    font-size: 14px;
    color: #666;
}




/* Responsive design */
@media (max-width: 600px) {
    .container {
        padding: 15px;
    }

    select, input[type="file"], input[type="number"], button {
        font-size: 14px;
        padding: 8px;
    }

    #uploadArea .file-inputs {
        flex-direction: column;
        gap: 10px;
    }
}
