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

#chat-container {
    width: 600px;
    max-width: 90%;
    height: 80vh;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#header {
    background: linear-gradient(90deg, #4c669f, #3b5998, #192f6a);
    color: white;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#header h1 {
    margin: 0;
    font-weight: 700;
}

#header p {
    margin: 5px 0 0;
    font-weight: 300;
}

#chat-window {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.message {
    max-width: 80%;
    padding: 12px 18px;
    border-radius: 20px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.user-message {
    background-color: #0084ff;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.model-message {
    background-color: #e5e5ea;
    color: #000;
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.message p {
    margin: 0;
}

#input-area {
    display: flex;
    padding: 20px;
    border-top: 1px solid #ddd;
    background-color: #f9f9f9;
}

#message-input {
    flex-grow: 1;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 10px 15px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

#message-input:focus {
    border-color: #4c669f;
}

#send-btn {
    background-color: #3b5998;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    margin-left: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#send-btn:hover {
    background-color: #192f6a;
}