.chatbot-toggle {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1000;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 999px;
    padding: 14px 20px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.chatbot-toggle:hover {
    background: #1d4ed8;
}

.chatbot-nudge {
    display: none;
    position: fixed;
    right: 24px;
    bottom: 84px;
    z-index: 1000;
    background: white;
    color: #111827;
    padding: 10px 36px 10px 14px;
    border-radius: 16px;
    font-size: 0.9rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.chatbot-nudge.show {
    display: block;
}

.chatbot-nudge-close {
    position: absolute;
    right: 10px;
    top: 6px;
    border: none;
    background: transparent;
    font-size: 1.1rem;
    cursor: pointer;
    color: #6b7280;
}

.chatbot-panel {
    position: fixed;
    right: 24px;
    bottom: 88px;
    width: 360px;
    height: 520px;
    z-index: 1001;
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.hidden {
    display: none;
}

.chatbot-header {
    background: #2563eb;
    color: white;
    padding: 14px 16px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-close {
    border: none;
    background: transparent;
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
}

.chatbot-disclaimer {
    background: #f3f4f6;
    color: #6b7280;
    font-size: 0.78rem;
    padding: 10px 14px;
    line-height: 1.4;
}

.chatbot-messages {
    flex: 1;
    padding: 14px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chatbot-message {
    max-width: 82%;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.bot-message {
    align-self: flex-start;
    background: #f3f4f6;
    color: #111827;
}

.user-message {
    align-self: flex-end;
    background: #2563eb;
    color: white;
}

.chatbot-examples {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.chatbot-example {
    background: #f3f4f6;
    border: none;
    border-radius: 14px;
    padding: 10px 12px;
    text-align: left;
    cursor: pointer;
    color: #111827;
}

.chatbot-example:hover {
    background: #e5e7eb;
}

.chatbot-form {
    display: flex;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid #e5e7eb;
}

.chatbot-form input {
    flex: 1;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    padding: 10px 12px;
    outline: none;
}

.chatbot-form input:focus {
    border-color: #2563eb;
}

.chatbot-form button {
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 700;
    cursor: pointer;
}

.chatbot-form button:hover {
    background: #1d4ed8;
}

@media (max-width: 480px) {
    .chatbot-panel {
        right: 12px;
        left: 12px;
        bottom: 80px;
        width: auto;
        height: 520px;
    }

    .chatbot-toggle {
        right: 16px;
        bottom: 16px;
    }

    .chatbot-nudge {
        right: 16px;
        bottom: 76px;
    }
}