/* General reset for margin and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f6f9;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center; /* Center content vertically */
    min-height: 100vh;
    margin: 0;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 600px;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Styled div to mimic the appearance of <pre> */
.styled-pre {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    margin-bottom: 20px;
    white-space: normal; /* Allow normal word wrapping */
    text-align: center;
}

.styled-pre img {
    max-width: 100%; /* Ensure the image is responsive and stays within the container */
    height: auto;
    border-radius: 5px;
    margin-top: 10px;
}


h1, h2 {
    color: #333;
    margin-bottom: 20px;
    font-weight: 400;
}

h1 {
    font-size: 28px;
}

h2 {
    font-size: 22px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

label {
    font-size: 16px;
    text-align: left;
    width: 100%; /* Make label full width for alignment */
    color: #555;
}

input[type="file"] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
    transition: all 0.2s ease-in-out;
    width: 100%; /* Make input full width */
}

input[type="file"]:hover {
    border-color: #007bff;
}

button {
    padding: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease-in-out;
    width: 100%; /* Full width button */
}

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

pre {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    white-space: pre-wrap;
    word-wrap: break-word;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
    margin: 20px 0;
}

a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
    font-size: 16px;
    transition: color 0.3s ease-in-out;
}

a:hover {
    color: #0056b3;
}

