body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align to top */
    padding: 2rem;
    background-color: #f4f4f9;
    color: #333;
}

.container {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 900px;
}

h1, h2 {
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
    margin-top: 0;
}

h2 {
    margin-top: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input[type="file"] {
    display: block;
}

button {
    width: 100%;
    padding: 0.75rem;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

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

button:disabled {
    background-color: #aaa;
    cursor: not-allowed;
}


/* Add this new rule to your style.css file */
#view-report-button {
    display: block;
    width: 100%;
    padding: 0.75rem;
    background-color: #007bff;
    color: white;
    text-decoration: none; /* Remove underline from the link */
    text-align: center; /* Center the text */
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 1rem;
}

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


.hidden {
    display: none;
}

#output-area {
    margin-top: 2rem;
}

#logs {
    background-color: #2b2b2b;
    color: #f1f1f1;
    font-family: "Menlo", "Consolas", monospace;
    font-size: 0.85rem;
    padding: 1rem;
    border-radius: 5px;
    white-space: pre-wrap; /* Wrap long lines */
    word-break: break-all;
    max-height: 400px;
    overflow-y: auto; /* Add scrollbar if logs are long */
}

#report iframe {
    width: 100%;
    height: 60vh; /* 60% of the viewport height */
    border: 1px solid #ddd;
    border-radius: 5px;
}


