body {
    height: 100vh;
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: center;
    justify-content: flex-start; /* Start from the top */
    font-family: 'Arial', sans-serif;
    overflow-y: auto; /* Enable vertical scrolling */
}

.card {
    width: 100%;
    max-width: 1200px; /* Optional, you can adjust the max width */
    border-radius: 15px;
    padding-bottom: 50px; /* Ensure space at the bottom */
    margin-top: 20px; /* To give some space at the top */
}

.btn-primary {
    background-color: #2575fc;
    border: none;
}

.btn-primary:hover {
    background-color: #1a5ecc;
}

textarea {
    width: 100%;
    height: 80vh;
    padding: 10px;
    font-family: monospace;
    font-size: 14px;
    resize: none;
    border: 1px solid #ccc;
    border-radius: 8px;
}

pre {
    background-color: #f4f4f4;
    padding: 10px;
    border-radius: 8px;
    overflow-x: auto;
}

.arrow {
    cursor: pointer;
    user-select: none;
    margin-right: 5px;
}

#response {
    overflow: auto;
    padding: 10px;
    font-family: monospace;
    font-size: 14px;
    resize: none;
    border: 1px solid #ccc;
    border-radius: 8px;
}

/* Container for PDF preview and response */
.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 20px;
}

.col-md-6 {
    width: 48%;
}

/* Make sure the PDF and response areas don’t affect form height */
iframe#pdfViewer {
    display: block;
    width: 100%;
    border: none;
}

/* Make response container fixed height but scrollable */
#response {
    overflow: auto;
    height: 400px; /* Set fixed height for the response area */
    margin-top: 20px; /* To give space from the PDF viewer */
}

/* Adjust height for only the two textareas inside the accordion */
#systemPrompt, #userPrompt {
    width: 100%;
    height: 200px; /* Adjust this height to a more suitable value */
    padding: 10px;
    font-family: monospace;
    font-size: 14px;
    resize: none;
    border: 1px solid #ccc;
    border-radius: 8px;
}