/* Basic styling */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container {
    background-color: #fff;
    padding: 40px 60px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
    max-width: 600px;
    width: 80%;
}

h1 {
    color: #333;
    margin-bottom: 20px;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

label {
    margin-top: 20px;
    font-weight: bold;
    color: #333;
}

input[type="file"] {
    margin-top: 10px;
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

button {
    margin-top: 30px;
    padding: 12px 24px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    width: 100%;
}

button:hover {
    background-color: #0056b3;
}

/* File name span styling */
#file1-name, #file2-name {
    display: block;
    margin-top: 5px;
    color: #666; /* Grey color for file name text */
    font-size: 14px;
}

/* Results Styling */
#results {
    margin-top: 20px;
    text-align: left;
    max-height: 400px; /* Set a fixed maximum height */
    overflow-y: auto;  /* Enable vertical scrolling */
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
}

#results span {
    margin: 10px 0; /* Adds vertical spacing between spans */
    font-size: 14px;
    color: #333; /* Darker color for better readability */
}

.success {
    color: #28a745;
    font-weight: bold;
}

.error {
    color: #dc3545;
    font-weight: bold;
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

li {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

li:last-child {
    border-bottom: none;
}

/* Ensure proper styling for the generated content */
#results .mismatch-item {
    font-size: 14px; /* Font size for the mismatch details */
}

#results .mismatch-item strong {
    color: #333; /* Color for the strong (highlighted) text */
    font-weight: bold; /* Ensures text is bold */
}

/* Style for general mismatch status */
#results .mismatch-item span {
    margin-top: 5px; /* Space between status items */
    font-size: 14px; /* Font size for the status */
    color: #a12727; /* Grey color for less prominent text */
}

/* Specific styles for different mismatch types */
.not-found {
    color: red;
    font-weight: bold;
}

.count-mismatch {
    color: orange;
    font-weight: bold;
}

.detail-mismatch {
    color: purple;
    font-weight: bold;
}

#results .loading {
    font-style: italic;
    color: #6c757d; /* Bootstrap's gray for neutral text */
}
