* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont;
    background: #f0f2f5;
}

/* Page center */
.chat-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 10px;
}

/* Chat container */
.chat-container {
    background: #ece5dd;
    width: 100%;
    max-width: 420px;
    height: 85vh;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,.2);
}

/* Tablet */
@media (min-width: 768px) {
    .chat-container {
        max-width: 520px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .chat-container {
        max-width: 600px;
        height: 80vh;
    }
}

/* Mobile full screen */
@media (max-width: 600px) {
    .chat-container {
        height: 100vh;
        border-radius: 0;
    }
}

/* Header */
.chat-header {
    background: #075E54;
    color: white;
    padding: 12px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.chat-header img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
}

.chat-header span {
    font-size: 12px;
    opacity: .8;
}

/* Messages */
.chat-messages {
    flex: 1;
    padding: 12px;
    overflow-y: auto;
}

/* Message bubble */
.bot-message {
    background: white;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 10px;
    max-width: 85%;
    box-shadow: 0 1px 2px rgba(0,0,0,.15);
}

/* Buttons */
.quick-replies {
    margin-top: 8px;
}

.quick-replies button,
.quick-replies a {
    display: block;
    width: 100%;
    background: #dcf8c6;
    border: none;
    padding: 10px;
    margin-top: 6px;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    color: black;
    font-size: 14px;
}

.quick-replies button:hover {
    background: #b9f3a1;
}

/* Input */
.chat-input {
    background: #f0f0f0;
    padding: 10px;
    text-align: center;
    font-size: 13px;
}
