.chatbot-shell {
    max-width: 960px;
    margin: 40px auto;
    background: #ffffff;
    border: 1px solid #dde4ea;
    border-radius: 16px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    font-family: Arial, sans-serif;
    text-align: left;
}

.chatbot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    background: linear-gradient(135deg, #164b60, #1b6b93);
    color: white;
}

.chatbot-header h1 {
    margin: 0 0 8px;
    font-size: 1.8rem;
}

.chatbot-header p {
    margin: 0;
    opacity: 0.92;
}

.chatbot-badge {
    background: #a2ff86;
    color: #164b60;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.9rem;
}

.chat-window {
    min-height: 420px;
    max-height: 620px;
    padding: 24px;
    overflow-y: auto;
    background: #f7fbfe;
}

.message {
    display: inline-flex;
    max-width: 88%;
    margin-bottom: 18px;
    padding: 16px 18px;
    border-radius: 18px;
    line-height: 1.5;
    word-break: break-word;
}

.user-message {
    align-self: flex-end;
    background: #1b6b93;
    color: white;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 18px;
}

.bot-message {
    background: white;
    border: 1px solid #dbe5ee;
    color: #1f3848;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 18px;
}

.message-text {
    font-size: 1rem;
}

.chat-controls {
    padding: 18px 32px 32px;
    display: grid;
    gap: 18px;
    background: #ffffff;
}

.quick-asks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.quick-asks button {
    border: 1px solid #1b6b93;
    background: transparent;
    color: #1b6b93;
    padding: 10px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.quick-asks button:hover,
.quick-asks button:focus {
    background: #1b6b93;
    color: white;
}

.input-group {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
}

#userInput {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d0d8e5;
    border-radius: 12px;
    font-size: 1rem;
}

.send-button {
    background: #1b6b93;
    border: none;
    color: white;
    padding: 14px 22px;
    border-radius: 12px;
    font-size: 1rem;
    cursor: pointer;
}

.send-button:hover,
.send-button:focus {
    background: #164b60;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 768px) {
    .chatbot-shell {
        margin: 20px;
    }
    .chatbot-header {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    .chat-controls {
        padding: 18px;
    }
    .input-group {
        grid-template-columns: 1fr auto;
    }
}
