* {
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
    height: 100vh;
}

.chat-container {
    display: flex;
    flex-direction: column;
    max-width: 50%;
    height: 60%;
    margin: 5% auto;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    justify-content: space-between;
}

.title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

.chat-output {
    display: flex;
    flex-direction: column;
    border: 1px solid #ccc;
    padding: 15px;
    height: 100%;
    overflow-y: auto;
    margin-bottom: 10px;
    border-radius: 5px;
}

.chat-output > div {
    margin-bottom: 5px;
    max-width: 90%;
    padding: 5px;
    border-radius: 5px;
}

.chat-output > div:nth-child(odd) {
    background-color: #a1eaf7;
    align-self: flex-start;
}

.chat-output > div:nth-child(even) {
    background-color: #f1e189;
    align-self: flex-end;
}

.typing-indicator {
    font-style: italic;
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
    display: none;
}

.hidden {
    display: none;
}

.chat-input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.send-btn {
    width: 100%;
    padding: 10px;
    background-color: #60c8b7;
    border: none;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

.send-btn:hover {
    background-color: #4da19a;
}
