.nap-chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999999;
    font-family: Arial, sans-serif;
}

.nap-chatbot-toggle {
    background-color: #6B46C1; /* Purple */
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.nap-chatbot-toggle:hover {
    background-color: #553C9A; /* Darker Purple */
}

.nap-chatbot-window {
    background-color: white;
    width: 350px;
    height: 500px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-bottom: 15px;
    transition: opacity 0.3s, transform 0.3s;
}

.nap-hidden {
    display: none !important;
    opacity: 0;
    transform: translateY(20px);
}

.nap-chatbot-header {
    background-color: #6B46C1; /* Purple */
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nap-chatbot-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.nap-chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

.nap-chatbot-messages {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
    background-color: #f7fafc;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nap-message {
    max-width: 80%;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
}

.nap-message.bot {
    background-color: #e2e8f0;
    color: #2d3748;
    align-self: flex-start;
    border-bottom-left-radius: 0;
}

.nap-message.bot a {
    color: #6B46C1;
    text-decoration: underline;
    font-weight: bold;
}

.nap-message.user {
    background-color: #6B46C1; /* Purple */
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 0;
}

.nap-chatbot-quick-replies {
    padding: 10px 15px;
    background-color: #f7fafc;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid #e2e8f0;
}

.nap-quick-reply-btn {
    background-color: white;
    color: #6B46C1; /* Purple */
    border: 1px solid #6B46C1;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.nap-quick-reply-btn:hover {
    background-color: #6B46C1;
    color: white;
}

.nap-chatbot-input-area {
    display: flex;
    padding: 10px;
    background-color: white;
    border-top: 1px solid #e2e8f0;
}

.nap-chatbot-input-area input {
    flex-grow: 1;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 14px;
    outline: none;
}

.nap-chatbot-input-area button {
    background-color: #6B46C1; /* Purple */
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 15px;
    margin-left: 10px;
    cursor: pointer;
    font-weight: 600;
}

.nap-chatbot-input-area button:hover {
    background-color: #553C9A;
}