.chat-agent-container {
    width: 100%;
    max-width: 400px;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-family: 'Segoe UI', sans-serif;
    margin: 20px auto;
    background: #fff;
}

.chat-header {
    background: #0073aa;
    color: white;
    padding: 10px 15px;
    font-weight: bold;
    text-align: center;
}

.chat-messages {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    height: 300px;
}

.agent-message, .user-message {
    margin: 8px 0;
    padding: 10px;
    border-radius: 8px;
    width: fit-content;
    max-width: 80%;
    line-height: 1.4;
}

.agent-message {
    background: #f1f1f1;
    align-self: flex-start;
}

.user-message {
    background: #0073aa;
    color: white;
    align-self: flex-end;
    margin-left: auto;
}

.chat-input {
    display: flex;
    border-top: 1px solid #ddd;
}

.chat-input input {
    flex: 1;
    padding: 10px;
    border: none;
    outline: none;
}

.chat-input button {
    background: #0073aa;
    color: white;
    border: none;
    padding: 0 20px;
    cursor: pointer;
    font-weight: bold;
}

.chat-input button:hover {
    background: #005f8d;
}
