body {
    font-family: Arial, sans-serif;
    background: #f0f0f0;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    width: 400px;
    height: 600px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.header {
    background: #00ccff;
    color: #fff;
    padding: 15px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.chat-window {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #e5e5e5;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message {
    max-width: 70%;
    padding: 10px;
    border-radius: 10px;
    position: relative;
}

.user-message {
    background: #00ccff;
    color: #fff;
    align-self: flex-end;
}

.ai-message {
    background: #fff;
    color: #000;
    align-self: flex-start;
}

.input-area {
    display: flex;
    padding: 10px;
    background: #fff;
    border-top: 1px solid #ddd;
}

textarea {
    flex: 1;
    height: 50px;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    resize: none;
    outline: none;
}

.btn {
    background: #00ccff;
    color: #fff;
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    margin-left: 10px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #00b3e6;
}

.btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

.limit-message {
    text-align: center;
    padding: 20px;
    color: #ff0000;
    font-weight: bold;
}