body {
    font-family: Arial, sans-serif;
}

.container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

h1, h2 {
    color: #333;
}

.upload-section, .chat-section {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 10px;
}

input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

button {
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

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

/* Error and status message styles */
.error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    margin: 10px 0;
    font-weight: bold;
}

.loading {
    background-color: #d1ecf1;
    color: #0c5460;
    padding: 15px;
    border: 1px solid #bee5eb;
    border-radius: 5px;
    margin: 10px 0;
    text-align: center;
    font-weight: bold;
}

/* Success message style */
.success {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
    margin: 10px 0;
}

/* Suggestions styling for timeout errors */
.suggestions {
    background-color: #fff3cd;
    color: #856404;
    padding: 15px;
    border: 1px solid #ffeaa7;
    border-radius: 5px;
    margin: 10px 0;
}

.suggestions ul {
    margin: 10px 0;
    padding-left: 20px;
}

.suggestions li {
    margin: 5px 0;
    line-height: 1.4;
}

/* Chat response styling */
#chatResponse {
    min-height: 100px;
    margin-top: 20px;
}

#chatResponse div {
    margin-bottom: 10px;
}

/* Input group styling */
.input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.input-group input {
    flex: 1;
    margin-bottom: 0;
}

.input-group button {
    white-space: nowrap;
}
