/**
 * MP Custom Chatbot - Frontend Widget Styles
 *
 * @package MP_Custom_Chatbot
 * @since 1.0.0
 */

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes mpcc-slide-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes mpcc-slide-down {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

@keyframes mpcc-pulse {
    0% {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    }
    70% {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15), 0 0 0 12px rgba(79, 70, 229, 0);
    }
    100% {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(79, 70, 229, 0);
    }
}

@keyframes mpcc-bounce {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-6px);
    }
}

@keyframes mpcc-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes mpcc-message-bot-in {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes mpcc-message-user-in {
    from {
        opacity: 0;
        transform: translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes mpcc-scale-in {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes mpcc-status-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

@keyframes mpcc-quick-reply-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Chatbot Container
   ========================================================================== */

.mpcc-chatbot-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #1F2937;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.mpcc-chatbot-container *,
.mpcc-chatbot-container *::before,
.mpcc-chatbot-container *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ==========================================================================
   Toggle Button
   ========================================================================== */

.mpcc-chatbot-toggle {
    position: fixed;
    z-index: 999999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    animation: mpcc-pulse 2s ease-in-out 1s 3;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    border: none;
}

.mpcc-chatbot-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
}

.mpcc-chatbot-toggle:active {
    transform: scale(0.95);
}

.mpcc-chatbot-toggle.mpcc-position-bottom-right {
    bottom: 24px;
    right: 24px;
}

.mpcc-chatbot-toggle.mpcc-position-bottom-left {
    bottom: 24px;
    left: 24px;
}

.mpcc-toggle-icon {
    font-size: 28px;
    color: #fff;
    line-height: 1;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mpcc-icon-chat {
    font-style: normal;
}

.mpcc-icon-close {
    font-size: 24px;
    font-weight: 300;
    font-style: normal;
}

/* Open state */
.mpcc-chatbot-toggle.mpcc-open .mpcc-icon-chat {
    display: none;
}

.mpcc-chatbot-toggle.mpcc-open .mpcc-icon-close {
    display: flex !important;
}

/* ==========================================================================
   Chat Window
   ========================================================================== */

.mpcc-chatbot-window {
    position: fixed;
    z-index: 999998;
    width: 380px;
    height: 520px;
    max-height: 80vh;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    background: #fff;
    animation: mpcc-slide-up 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mpcc-chatbot-window.mpcc-closing {
    animation: mpcc-slide-down 0.25s ease forwards;
}

.mpcc-chatbot-window.mpcc-position-bottom-right {
    bottom: 96px;
    right: 24px;
}

.mpcc-chatbot-window.mpcc-position-bottom-left {
    bottom: 96px;
    left: 24px;
}

/* ==========================================================================
   Header
   ========================================================================== */

.mpcc-chatbot-header {
    padding: 16px 20px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    position: relative;
}

.mpcc-chatbot-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.mpcc-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.mpcc-header-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.15);
}

.mpcc-header-avatar-default {
    font-size: 22px;
}

.mpcc-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mpcc-header-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.mpcc-header-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mpcc-header-status {
    font-size: 12px;
    opacity: 0.85;
    display: flex;
    align-items: center;
    gap: 5px;
    line-height: 1.3;
}

.mpcc-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    display: inline-block;
    flex-shrink: 0;
    animation: mpcc-status-pulse 2s ease-in-out infinite;
}

.mpcc-header-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.mpcc-restart-btn,
.mpcc-close-btn {
    background: transparent;
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 18px;
    line-height: 1;
    opacity: 0.8;
    outline: none;
}

.mpcc-restart-btn:hover,
.mpcc-close-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    opacity: 1;
}

.mpcc-restart-btn:active,
.mpcc-close-btn:active {
    background: rgba(255, 255, 255, 0.25);
}

.mpcc-restart-btn {
    font-size: 20px;
}

/* ==========================================================================
   Messages Area
   ========================================================================== */

.mpcc-chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #F8F9FA;
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
.mpcc-chatbot-messages::-webkit-scrollbar {
    width: 5px;
}

.mpcc-chatbot-messages::-webkit-scrollbar-track {
    background: transparent;
}

.mpcc-chatbot-messages::-webkit-scrollbar-thumb {
    background: #D1D5DB;
    border-radius: 10px;
}

.mpcc-chatbot-messages::-webkit-scrollbar-thumb:hover {
    background: #9CA3AF;
}

/* ==========================================================================
   Message Bubbles
   ========================================================================== */

.mpcc-message-wrapper {
    display: flex;
    margin-bottom: 12px;
    align-items: flex-end;
    gap: 8px;
}

.mpcc-message-wrapper:last-child {
    margin-bottom: 0;
}

.mpcc-message-wrapper-bot {
    justify-content: flex-start;
    animation: mpcc-message-bot-in 0.35s ease;
}

.mpcc-message-wrapper-user {
    justify-content: flex-end;
    animation: mpcc-message-user-in 0.35s ease;
}

.mpcc-message-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E5E7EB;
    font-size: 14px;
}

.mpcc-message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mpcc-message-bot {
    background: #fff;
    color: #1F2937;
    border-radius: 2px 16px 16px 16px;
    padding: 12px 16px;
    max-width: 80%;
    font-size: 14px;
    line-height: 1.55;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.mpcc-message-user {
    background: #4F46E5;
    color: #fff;
    border-radius: 16px 2px 16px 16px;
    padding: 12px 16px;
    max-width: 80%;
    font-size: 14px;
    line-height: 1.55;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.mpcc-chatbot-window.mpcc-messages-left .mpcc-message-bot,
.mpcc-chatbot-window.mpcc-messages-left .mpcc-typing-indicator {
    margin-right: auto;
    margin-left: 0;
    text-align: left;
    direction: ltr;
}

.mpcc-chatbot-window.mpcc-messages-right .mpcc-message-bot,
.mpcc-chatbot-window.mpcc-messages-right .mpcc-typing-indicator {
    margin-left: auto;
    margin-right: 0;
    text-align: right;
    direction: rtl;
    border-radius: 16px 2px 16px 16px;
}

.mpcc-chatbot-window.mpcc-messages-left .mpcc-message-user {
    margin-left: auto;
    margin-right: 0;
}

.mpcc-chatbot-window.mpcc-messages-right .mpcc-message-user {
    margin-right: auto;
    margin-left: 0;
}

.mpcc-message-time {
    font-size: 11px;
    color: #9CA3AF;
    margin-top: 4px;
    display: block;
}

.mpcc-message-wrapper-user .mpcc-message-time {
    text-align: right;
}

/* ==========================================================================
   Typing Indicator
   ========================================================================== */

.mpcc-typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 14px 18px;
    background: #fff;
    border-radius: 2px 16px 16px 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    max-width: 70px;
    animation: mpcc-fade-in 0.3s ease;
}

.mpcc-typing-dot {
    width: 7px;
    height: 7px;
    background: #9CA3AF;
    border-radius: 50%;
    animation: mpcc-bounce 1.4s ease-in-out infinite;
}

.mpcc-typing-dot:nth-child(1) {
    animation-delay: 0s;
}

.mpcc-typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.mpcc-typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

/* ==========================================================================
   Quick Reply Buttons
   ========================================================================== */

.mpcc-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    animation: mpcc-quick-reply-in 0.4s ease;
}

.mpcc-chatbot-window.mpcc-messages-left .mpcc-quick-replies {
    justify-content: flex-start;
    direction: ltr;
}

.mpcc-chatbot-window.mpcc-messages-right .mpcc-quick-replies {
    justify-content: flex-end;
    direction: rtl;
}

.mpcc-messages-left .mpcc-message-bot,
.mpcc-messages-left .mpcc-typing-indicator {
    margin-right: auto !important;
    margin-left: 0 !important;
    text-align: left !important;
    direction: ltr !important;
    border-radius: 2px 16px 16px 16px;
}

.mpcc-messages-right .mpcc-message-bot,
.mpcc-messages-right .mpcc-typing-indicator {
    margin-left: auto !important;
    margin-right: 0 !important;
    text-align: right !important;
    direction: rtl !important;
    border-radius: 16px 2px 16px 16px;
}

.mpcc-messages-left .mpcc-message-user {
    margin-left: auto !important;
    margin-right: 0 !important;
}

.mpcc-messages-right .mpcc-message-user {
    margin-right: auto !important;
    margin-left: 0 !important;
}

.mpcc-messages-left .mpcc-quick-replies {
    justify-content: flex-start !important;
    direction: ltr !important;
}

.mpcc-messages-right .mpcc-quick-replies {
    justify-content: flex-end !important;
    direction: rtl !important;
}

.mpcc-quick-reply-btn {
    background: transparent;
    border: 1.5px solid #4F46E5;
    color: #4F46E5;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    line-height: 1.3;
    white-space: nowrap;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.mpcc-quick-reply-btn:hover {
    background: #4F46E5;
    color: #fff;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
    transform: translateY(-1px);
}

.mpcc-quick-reply-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

.mpcc-quick-reply-btn.mpcc-btn-disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: default;
}

/* ==========================================================================
   Lead Form
   ========================================================================== */

.mpcc-lead-form {
    background: #fff;
    border-radius: 2px 16px 16px 16px;
    padding: 20px;
    max-width: 90%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    animation: mpcc-scale-in 0.35s ease;
}

.mpcc-lead-form-title {
    font-size: 14px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 16px;
}

.mpcc-lead-form-group {
    margin-bottom: 12px;
}

.mpcc-lead-form-group:last-of-type {
    margin-bottom: 16px;
}

.mpcc-lead-form-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #6B7280;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.mpcc-lead-form-input,
.mpcc-lead-form-textarea {
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    font-family: inherit;
    color: #1F2937;
    background: #F9FAFB;
    border: 1.5px solid #E5E7EB;
    border-radius: 10px;
    transition: all 0.2s ease;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.mpcc-lead-form-input:focus,
.mpcc-lead-form-textarea:focus {
    border-color: #4F46E5;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.08);
}

.mpcc-lead-form-input::placeholder,
.mpcc-lead-form-textarea::placeholder {
    color: #9CA3AF;
}

.mpcc-lead-form-textarea {
    resize: vertical;
    min-height: 60px;
}

.mpcc-lead-form-submit {
    width: 100%;
    padding: 11px 20px;
    background: #4F46E5;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.mpcc-lead-form-submit:hover {
    background: #4338CA;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    transform: translateY(-1px);
}

.mpcc-lead-form-submit:active {
    transform: translateY(0);
    box-shadow: none;
}

.mpcc-lead-form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.mpcc-lead-form-success {
    text-align: center;
    padding: 12px;
    color: #059669;
    font-size: 14px;
    font-weight: 500;
}

.mpcc-lead-form-error {
    color: #DC2626;
    font-size: 12px;
    margin-top: 4px;
}

/* ==========================================================================
   Input Area
   ========================================================================== */

.mpcc-chatbot-input {
    border-top: 1px solid #E9ECEF;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    flex-shrink: 0;
}

.mpcc-user-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    font-family: inherit;
    color: #1F2937;
    padding: 8px 4px;
    background: transparent;
    line-height: 1.5;
    min-width: 0;
}

.mpcc-user-input::placeholder {
    color: #9CA3AF;
}

.mpcc-user-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.mpcc-send-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
    line-height: 1;
    outline: none;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}

.mpcc-send-btn:hover {
    opacity: 0.9;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.mpcc-send-btn:active {
    transform: scale(0.95);
}

.mpcc-send-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ==========================================================================
   Powered By (optional footer)
   ========================================================================== */

.mpcc-powered-by {
    text-align: center;
    padding: 6px 16px 8px;
    font-size: 11px;
    color: #9CA3AF;
    background: #fff;
    border-top: 1px solid #F3F4F6;
}

.mpcc-powered-by a {
    color: #6B7280;
    text-decoration: none;
}

.mpcc-powered-by a:hover {
    color: #4F46E5;
}

/* ==========================================================================
   WhatsApp Button Style
   ========================================================================== */

.mpcc-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-top: 8px;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.mpcc-whatsapp-btn:hover {
    background: #20BD5C;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transform: translateY(-1px);
    color: #fff;
    text-decoration: none;
}

.mpcc-whatsapp-btn:active {
    transform: translateY(0);
}

/* ==========================================================================
   Redirect Link Style
   ========================================================================== */

.mpcc-redirect-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #4F46E5;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 0;
    transition: all 0.2s ease;
}

.mpcc-redirect-link:hover {
    color: #4338CA;
    text-decoration: underline;
}

/* ==========================================================================
   Notification Badge
   ========================================================================== */

.mpcc-notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    background: #EF4444;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    animation: mpcc-scale-in 0.3s ease;
}

/* ==========================================================================
   Mobile Responsive
   ========================================================================== */

@media (max-width: 480px) {
    .mpcc-chatbot-window {
        width: calc(100% - 16px);
        max-height: 70vh;
        bottom: 80px !important;
        right: 8px !important;
        left: 8px !important;
        border-radius: 12px;
    }

    .mpcc-chatbot-window.mpcc-position-bottom-left {
        right: 8px !important;
        left: 8px !important;
    }

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

    .mpcc-chatbot-toggle.mpcc-position-bottom-left {
        bottom: 16px;
        left: 16px;
    }

    .mpcc-chatbot-header {
        padding: 14px 16px;
    }

    .mpcc-header-avatar {
        width: 36px;
        height: 36px;
    }

    .mpcc-header-title {
        font-size: 15px;
    }

    .mpcc-chatbot-messages {
        padding: 16px;
    }

    .mpcc-message-bot,
    .mpcc-message-user {
        max-width: 88%;
        font-size: 14px;
    }

    .mpcc-lead-form {
        max-width: 95%;
        padding: 16px;
    }

    .mpcc-chatbot-input {
        padding: 10px 12px;
    }

    .mpcc-quick-reply-btn {
        font-size: 12px;
        padding: 7px 14px;
    }
}

@media (max-width: 360px) {
    .mpcc-chatbot-toggle {
        width: 54px;
        height: 54px;
    }

    .mpcc-toggle-icon {
        font-size: 24px;
    }

    .mpcc-chatbot-window {
        max-height: 65vh;
    }
}

/* ==========================================================================
   Fullscreen Mode (optional class toggled by JS)
   ========================================================================== */

.mpcc-chatbot-window.mpcc-fullscreen {
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    bottom: 0 !important;
    right: 0 !important;
    left: 0 !important;
    border-radius: 0;
}

/* ==========================================================================
   Dark Mode Support (class-based)
   ========================================================================== */

.mpcc-chatbot-window.mpcc-dark .mpcc-chatbot-messages {
    background: #1F2937;
}

.mpcc-chatbot-window.mpcc-dark .mpcc-message-bot {
    background: #374151;
    color: #F3F4F6;
}

.mpcc-chatbot-window.mpcc-dark .mpcc-chatbot-input {
    background: #1F2937;
    border-top-color: #374151;
}

.mpcc-chatbot-window.mpcc-dark .mpcc-user-input {
    color: #F3F4F6;
}

.mpcc-chatbot-window.mpcc-dark .mpcc-user-input::placeholder {
    color: #6B7280;
}

.mpcc-chatbot-window.mpcc-dark .mpcc-typing-indicator {
    background: #374151;
}

.mpcc-chatbot-window.mpcc-dark .mpcc-lead-form {
    background: #374151;
}

.mpcc-chatbot-window.mpcc-dark .mpcc-lead-form-title {
    color: #F3F4F6;
}

.mpcc-chatbot-window.mpcc-dark .mpcc-lead-form-input,
.mpcc-chatbot-window.mpcc-dark .mpcc-lead-form-textarea {
    background: #1F2937;
    border-color: #4B5563;
    color: #F3F4F6;
}

/* ==========================================================================
   Print Styles - Hide chatbot
   ========================================================================== */

@media print {
    .mpcc-chatbot-container {
        display: none !important;
    }
}

/* ==========================================================================
   Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .mpcc-chatbot-toggle {
        animation: none;
    }

    .mpcc-chatbot-window {
        animation: mpcc-fade-in 0.2s ease;
    }

    .mpcc-chatbot-window.mpcc-closing {
        animation: none;
        opacity: 0;
    }

    .mpcc-message-wrapper-bot,
    .mpcc-message-wrapper-user,
    .mpcc-quick-replies,
    .mpcc-lead-form,
    .mpcc-typing-indicator {
        animation: none;
    }

    .mpcc-typing-dot {
        animation: none;
        opacity: 0.5;
    }

    .mpcc-typing-dot:nth-child(2) {
        opacity: 0.7;
    }

    .mpcc-typing-dot:nth-child(3) {
        opacity: 0.9;
    }

    .mpcc-status-dot {
        animation: none;
    }
}
