body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.chat-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 400px;
    max-width: 100%;
    overflow: hidden;
    padding: 20px;
}

.chat-header {
    background-color: #007bff;
    color: white;
    padding: 10px;
    text-align: center;
    border-radius: 8px 8px 0 0;
}

.chat-box {
    height: 300px;
    overflow-y: auto;
    padding: 10px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
}

.chat-input {
    display: flex;
    border-top: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 10px;
}

.chat-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.chat-input button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    margin-left: 10px;
    border-radius: 4px;
    cursor: pointer;
}

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

.file-upload {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.file-upload input,
.file-upload select,
.file-upload button {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
}

.file-upload button {
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

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

.pdf-generate button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

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

.message {
    margin: 10px 0;
}

.user-message {
    text-align: right;
}

.user-message p {
    background-color: #007bff;
    color: white;
    display: inline-block;
    padding: 10px;
    border-radius: 10px;
    max-width: 80%;
}

.bot-message {
    text-align: left;
}

.bot-message p {
    background-color: #e5e5ea;
    display: inline-block;
    padding: 10px;
    border-radius: 10px;
    max-width: 80%;
}
