:root {
    --chat--color-primary: #10a37f;
    --chat--color-secondary: #f5f5f7;
    --chat--color-white: #ffffff;
    --chat--color-light: #f9fafc;
    --chat--color-dark: #343541;
    --chat--color-muted: #8e8ea0;
    --chat--border-radius: 12px;
    --chat--font-family: "Inter", sans-serif;
    --chat--message--font-size: 13px;
    --chat--message-line-height: 1.5;
    --chat--spacing: 1rem;
    --chat--toggle--background: #343541;
    --chat--toggle--hover--background: #343541;
    --chat--toggle--active--background: #343541;
    --chat--input--font-size: 16px;
}

.chat-window {
    border-radius: var(--chat--border-radius);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    font-family: var(--chat--font-family);
    background: var(--chat--color-white);
    z-index: 9999;
}

.chat-header {
    background: var(--chat--color-white);
    font-size: 1rem;
    font-weight: 600;
    color: var(--chat--color-dark);
    border-bottom: 1px solid #e5e5e5;
}

.chat-header h1 {
    margin: .25rem;
}

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

.chat-messages {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: var(--chat--spacing);
    background: var(--chat--color-light);
    scroll-behavior: smooth;
}

.chat-message {
    max-width: 75%;
    padding: 0.75rem 1rem;
    margin-bottom: 0.75rem;
    border-radius: var(--chat--border-radius);
    line-height: var(--chat--message-line-height);
    font-size: var(--chat--message--font-size);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    word-wrap: break-word;
}

.chat-message.user {
    background: #d1f4e3;
    color: var(--chat--color-dark);
    margin-left: auto;
}

.chat-message.bot {
    background: #ffffff;
    color: var(--chat--color-dark);
    margin-right: auto;
}

.chat-footer {
    display: flex;
    padding: var(--chat--spacing);
    border-top: 1px solid #e0e0e0;
    background: var(--chat--color-white);
}

.chat-input {
    flex: 1;
    padding: .25rem .5rem;
    border: 1px solid #dcdcdc;
    border-radius: var(--chat--border-radius);
    outline: none;
    max-height: 180px;
    background: #fff !important;
}

.chat-input:focus {
    border-color: var(--chat--color-primary);
    box-shadow: 0 0 0 2px rgba(16, 163, 127, 0.2);
}

.chat-send-button {
    margin-left: 0.5rem;
    background: var(--chat--color-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    padding: 0.6rem 1rem;
    border-radius: var(--chat--border-radius);
    transition: background 0.2s ease;
}

.chat-send-button:hover {
    background: #0e8f66;
}

.chat-get-started-footer .chat-powered-by {
    display: none;
}
