* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chat-container {
    width: 100%;
    /* max-width: 500px; */
    height: 100%;
    /* max-height: 600px; */
    background: white;
    /* border-radius: 20px; */
    /* box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); */
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-header {
    background: #4a90e2;
    color: white;
    padding: 20px;
    padding-top: 80px;
    text-align: center;
}

.messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f5f7fb;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 15px;
    word-wrap: break-word;
}

.message.user {
    background: #4a90e2;
    color: white;
    align-self: flex-end;
}

.message.bot {
    background: white;
    color: #333;
    align-self: flex-start;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.message-time {
    font-size: 0.7rem;
    margin-top: 5px;
    opacity: 0.7;
}

.input-area {
    padding: 20px;
    background: white;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 10px;
}

.input-area input {
    flex: 1;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
}

.input-area button {
    padding: 12px 24px;
    background: #4a90e2;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
}

.status {
    padding: 10px 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    background: #f0f0f0;
}