body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}

.chat-container {
    width: 1024px;  /* Set width to 1024px */
    height: 1024px; /* Set height to 1024px */
    border: 2px solid #ccc; /* Optional: Add a border around the container */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative; /* Positioning context for absolute children */
}

.chat-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.chat-description {
    margin-bottom: 10px;
}

#chat-box {
    width: 1024px;  /* Set width to 1024px */
    height: 1024px; /* Set height to 1024px */
    overflow: hidden; /* Hide overflow if the image is larger */
    position: relative; /* Positioning context for absolute children */
}

#chat-box img {
    width: 100%;  /* Make the image responsive */
    height: 100%; /* Make the image responsive */
    object-fit: cover; /* Maintain aspect ratio */
}

textarea {
    width: calc(100% - 70px);
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-right: 10px;
    resize: vertical; /* Allow vertical resizing */
    min-height: 100px; /* Set a minimum height for the textarea */
}

button {
    padding: 8px 15px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.loading {
    margin-top: 10px;
    font-weight: bold;
    color: #007bff;
}