body {
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f4f4f4;
}

#app {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

#session-key-container {
    flex-shrink: 0;
    padding: 10px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 10px;
}

#session-key-input {
    width: 99%;
    display: block;
    border: none;
    outline: none;
    font-size: 16px;
}

#session-key-input:focus {
    outline: none;
    border: none;
}

#response-container {
    flex-grow: 1;
    overflow-y: auto;
    padding-bottom: 20px; /* Space for the input container */
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 10px;
    padding: 15px;
    white-space: pre-wrap; /* Preserve whitespace and allow wrapping */
    display: none; /* Hidden by default */
    font-size: 16px;
}

#input-container {
    display: flex;
    align-items: flex-end;
    padding: 10px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    gap: 10px;
}

#question-textarea {
    font-family: Arial, sans-serif;
    flex-grow: 1;
    border: none !important;
    outline: none;
    margin-right: 10px;
    resize: none;
    font-size: 16px;
}

#send-button {
    padding: 10px 20px;
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

#send-button:hover:not(:disabled) {
    background-color: #0056b3;
}

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