body {
    background-color: #008080;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: 'MS Sans Serif', sans-serif;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.chat-box {
    height: 300px;
    overflow-y: auto;
    background-color: #FFF;
    border: 2px inset;
    margin-bottom: 10px;
    padding: 10px;
    font-family: inherit;
}

.message {
    margin: 5px 0;
}

.message.user {
    font-weight: bold;
    color: #000080;
}

.message.assistant {
    font-style: italic;
    color: #800000;
    font-size: 14px; /* Increased font size */
    font-weight: 400; /* Normal font weight */
    line-height: 1.5; /* Improved line spacing for readability */
}

.loading {
    width: 16px;
    height: 16px;
    border: 2px solid #000;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 10px auto;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.progress-bar-container {
    width: 100%;
    height: 20px;
    border: 2px inset #C0C0C0;
    background-color: #F0F0F0;
    margin-top: 10px;
    position: relative;
}

.progress-bar {
    height: 100%;
    width: 0;
    background-color: #0000FF; /* Blue color */
    transition: width 0.2s ease; /* Smooth transition */
}