* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.chat-container {
    width: 90%;
    max-width: 750px;
    height: 750px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
}

/* Header */

.chat-header {
    background: #667eea;
    color: white;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.bot-icon {
    font-size: 40px;
}

.chat-header h1 {
    font-size: 23px;
    margin-bottom: 5px;
}

.chat-header p {
    font-size: 14px;
    opacity: 0.9;
}

/* Chat area */

.chat-box {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f5f6fa;
}

.message {
    max-width: 75%;
    padding: 14px 16px;
    margin-bottom: 15px;
    border-radius: 15px;
    line-height: 1.5;
    font-size: 15px;
}

.bot-message {
    background: white;
    color: #333;
    border-top-left-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.user-message {
    background: #667eea;
    color: white;
    margin-left: auto;
    border-top-right-radius: 4px;
}

/* Input */

.input-area {
    display: flex;
    padding: 15px;
    border-top: 1px solid #ddd;
    background: white;
    gap: 10px;
}

#userInput {
    flex: 1;
    padding: 13px 15px;
    border: 2px solid #ddd;
    border-radius: 25px;
    outline: none;
    font-size: 15px;
}

#userInput:focus {
    border-color: #667eea;
}

#sendButton {
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: #667eea;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

#sendButton:hover {
    opacity: 0.85;
}

/* Suggestions */

.suggestions {
    display: flex;
    gap: 8px;
    padding: 0 15px 15px;
    background: white;
    flex-wrap: wrap;
    justify-content: center;
}

.suggestions button {
    padding: 8px 13px;
    border: 1px solid #667eea;
    border-radius: 20px;
    background: white;
    color: #667eea;
    cursor: pointer;
    font-size: 13px;
}

.suggestions button:hover {
    background: #667eea;
    color: white;
}

/* Mobile */

@media (max-width: 600px) {

    .chat-container {
        width: 95%;
        height: 90vh;
    }

    .chat-header h1 {
        font-size: 19px;
    }

    .message {
        max-width: 85%;
    }

    .suggestions {
        gap: 5px;
    }
}