.mamotech-chatbot {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 99999;
    font-family: inherit;
}

.mamotech-chatbot__button {
    width: auto;
    min-width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    padding: 0 18px;
    background: linear-gradient(135deg, #07162B 0%, #123B7A 100%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 18px 45px rgba(7, 22, 43, 0.35);
    transition: all 0.22s ease;
}

.mamotech-chatbot__button:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 55px rgba(37, 99, 235, 0.35);
}

.mamotech-chatbot__panel {
    position: absolute;
    right: 0;
    bottom: 74px;
    width: 340px;
    max-width: calc(100vw - 28px);
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 26px 80px rgba(15, 23, 42, 0.26);
    display: none;
}

.mamotech-chatbot.is-open .mamotech-chatbot__panel {
    display: block;
    animation: mamotechChatOpen 0.22s ease-out;
}

@keyframes mamotechChatOpen {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.mamotech-chatbot__header {
    background: linear-gradient(135deg, #07162B 0%, #123B7A 55%, #2563EB 100%);
    color: #ffffff;
    padding: 18px 18px 16px;
    position: relative;
}

.mamotech-chatbot__header::after {
    content: "";
    position: absolute;
    left: 18px;
    bottom: -8px;
    width: 16px;
    height: 16px;
    background: #123B7A;
    transform: rotate(45deg);
}

.mamotech-chatbot__title {
    margin: 0;
    padding-right: 34px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
}

.mamotech-chatbot__subtitle {
    margin: 5px 0 0;
    padding-right: 34px;
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.86);
}

.mamotech-chatbot__close {
    position: absolute;
    top: 12px;
    right: 12px;
    border: 0;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
}

.mamotech-chatbot__body {
    padding: 20px 16px 16px;
    background: #F8FAFC;
}

.mamotech-chatbot__message {
    width: fit-content;
    max-width: 92%;
    background: #ffffff;
    color: #0F172A;
    border-radius: 18px 18px 18px 6px;
    padding: 12px 13px;
    font-size: 13px;
    line-height: 1.65;
    margin-bottom: 12px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.mamotech-chatbot__options {
    display: grid;
    gap: 8px;
    margin: 12px 0 12px;
}

.mamotech-chatbot__option {
    width: fit-content;
    max-width: 100%;
    text-align: left;
    border: 1px solid #DCE7F5;
    background: #ffffff;
    color: #0F172A;
    border-radius: 999px;
    padding: 9px 13px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
    transition: all 0.18s ease;
}

.mamotech-chatbot__option:hover {
    border-color: #2563EB;
    background: #EFF6FF;
    color: #1D4ED8;
    transform: translateY(-1px);
}

.mamotech-chatbot__result {
    display: none;
    margin: 12px 0 0 auto;
    max-width: 92%;
    padding: 12px 13px;
    border-radius: 18px 18px 6px 18px;
    background: #DBEAFE;
    color: #0F172A;
    font-size: 13px;
    line-height: 1.65;
    border: 1px solid #BFDBFE;
}

.mamotech-chatbot__result.is-visible {
    display: block;
}

.mamotech-chatbot__whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 999px;
    background: #25D366;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.25);
    transition: all 0.18s ease;
}

.mamotech-chatbot__whatsapp:hover {
    transform: translateY(-1px);
    filter: brightness(0.96);
}

.mamotech-chatbot__footer {
    margin-top: 10px;
    font-size: 11px;
    line-height: 1.55;
    color: #64748B;
    text-align: center;
}

@media (max-width: 544px) {
    .mamotech-chatbot {
        right: 14px;
        bottom: 14px;
    }

    .mamotech-chatbot__button {
        height: 54px;
        padding: 0 15px;
        font-size: 13px;
    }

    .mamotech-chatbot__panel {
        right: 0;
        bottom: 66px;
        width: calc(100vw - 28px);
        border-radius: 22px;
    }
}

/* MamoTech chatbot small visual fixes */
.mamotech-chatbot__close,
.mamotech-chatbot__close:hover,
.mamotech-chatbot__close:focus {
    all: unset;
    position: absolute;
    top: 14px;
    right: 14px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    cursor: pointer;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    box-sizing: border-box;
}

.mamotech-chatbot__close:hover {
    background: rgba(255, 255, 255, 0.24);
}

.mamotech-chatbot__panel {
    width: 350px;
}

.mamotech-chatbot__header {
    padding: 18px 52px 16px 18px;
}

.mamotech-chatbot__title {
    padding-right: 0;
}

.mamotech-chatbot__subtitle {
    padding-right: 0;
}

.mamotech-chatbot__options {
    gap: 10px;
}

.mamotech-chatbot__option {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 34px;
    padding: 8px 14px;
    border-radius: 999px;
}

.mamotech-chatbot__whatsapp {
    min-height: 44px;
}

/* MamoTech AI chat layout */
.mamotech-chatbot__body--chat {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    background: #F8FAFC;
}

.mamotech-chatbot__messages {
    height: 280px;
    overflow-y: auto;
    padding: 4px 2px 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    scroll-behavior: smooth;
}

.mamotech-chatbot__bubble {
    max-width: 88%;
    width: fit-content;
    padding: 11px 13px;
    border-radius: 18px;
    font-size: 13px;
    line-height: 1.6;
    word-wrap: break-word;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.mamotech-chatbot__bubble--bot {
    align-self: flex-start;
    background: #ffffff;
    color: #0F172A;
    border: 1px solid #E2E8F0;
    border-bottom-left-radius: 6px;
}

.mamotech-chatbot__bubble--user {
    align-self: flex-end;
    background: #2563EB;
    color: #ffffff;
    border-bottom-right-radius: 6px;
}

.mamotech-chatbot__typing {
    color: #64748B;
    font-style: italic;
}

.mamotech-chatbot__form {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #E2E8F0;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.mamotech-chatbot__input {
    flex: 1;
    min-width: 0;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    color: #0F172A;
    font-size: 14px;
    padding: 8px 6px !important;
}

.mamotech-chatbot__input::placeholder {
    color: #94A3B8;
}

.mamotech-chatbot__send {
    all: unset;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: #2563EB;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 800;
    box-sizing: border-box;
    transition: transform 0.18s ease, background 0.18s ease;
}

.mamotech-chatbot__send:hover {
    background: #1D4ED8;
    transform: translateY(-1px);
}

@media (max-width: 544px) {
    .mamotech-chatbot__messages {
        height: 260px;
    }
}

/* MamoTech smart lead chatbot quick options */
.mamotech-chatbot__quick-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 2px 0 8px;
}

.mamotech-chatbot__quick-option {
    all: unset;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 8px 12px;
    background: #ffffff;
    border: 1px solid #DCE7F5;
    color: #0F172A;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
    transition: all 0.18s ease;
}

.mamotech-chatbot__quick-option:hover {
    background: #EFF6FF;
    border-color: #2563EB;
    color: #1D4ED8;
    transform: translateY(-1px);
}

/* Mobile click/touch fix for chatbot */
.mamotech-chatbot {
    position: fixed !important;
    right: 20px !important;
    bottom: 20px !important;
    z-index: 999999 !important;
    pointer-events: none;
}

.mamotech-chatbot__button {
    position: relative !important;
    z-index: 1000000 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
    cursor: pointer;
}

.mamotech-chatbot__panel {
    z-index: 1000000 !important;
    pointer-events: auto !important;
}

.mamotech-chatbot.is-open {
    pointer-events: auto;
}

@media (max-width: 640px) {
    .mamotech-chatbot {
        right: 16px !important;
        bottom: 16px !important;
    }

    .mamotech-chatbot__button {
        width: 56px !important;
        height: 56px !important;
        min-width: 56px !important;
        min-height: 56px !important;
    }
}

/* MamoTech chatbot mobile/NL click fix */
.mamotech-chatbot {
    position: fixed !important;
    right: 20px !important;
    bottom: 20px !important;
    z-index: 999999 !important;
    pointer-events: none !important;
}

.mamotech-chatbot__button {
    position: relative !important;
    z-index: 1000000 !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
    cursor: pointer !important;
}

.mamotech-chatbot__panel {
    z-index: 1000000 !important;
    pointer-events: auto !important;
}

.mamotech-chatbot.is-open {
    pointer-events: auto !important;
}

@media (max-width: 640px) {
    .mamotech-chatbot {
        right: 16px !important;
        bottom: 16px !important;
    }

    .mamotech-chatbot__button {
        width: 56px !important;
        height: 56px !important;
        min-width: 56px !important;
        min-height: 56px !important;
    }
}



/* Force chatbot above all mobile page overlays */
.mamotech-chatbot {
    position: fixed !important;
    right: 0 !important;
    bottom: 0 !important;
    width: auto !important;
    height: auto !important;
    z-index: 2147483647 !important;
    pointer-events: none !important;
}

.mamotech-chatbot__button {
    position: fixed !important;
    right: 18px !important;
    bottom: 18px !important;
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    z-index: 2147483647 !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
    cursor: pointer !important;
}

.mamotech-chatbot__panel {
    position: fixed !important;
    right: 18px !important;
    bottom: 88px !important;
    z-index: 2147483647 !important;
    pointer-events: auto !important;
}

.mamotech-chatbot.is-open {
    pointer-events: auto !important;
}

.mamotech-chatbot.is-open .mamotech-chatbot__button {
    display: none !important;
}

@media (max-width: 640px) {
    .mamotech-chatbot__panel {
        right: 10px !important;
        left: 10px !important;
        bottom: 82px !important;
        width: auto !important;
        max-width: none !important;
    }

    .mamotech-chatbot__button {
        right: 18px !important;
        bottom: 18px !important;
    }
}



/* Separate real mobile chatbot opener */
.mamotech-mobile-chat-open {
    display: none;
}

@media (max-width: 768px) {
    .mamotech-chatbot__button {
        display: none !important;
    }

    .mamotech-mobile-chat-open {
        position: fixed !important;
        right: 18px !important;
        bottom: 18px !important;
        width: 58px !important;
        height: 58px !important;
        min-width: 58px !important;
        min-height: 58px !important;
        border: 0 !important;
        border-radius: 999px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 26px !important;
        line-height: 1 !important;
        background: #0f172a !important;
        color: #ffffff !important;
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.35) !important;
        z-index: 2147483647 !important;
        pointer-events: auto !important;
        touch-action: manipulation !important;
        cursor: pointer !important;
        padding: 0 !important;
        margin: 0 !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    .mamotech-chatbot.is-open + .mamotech-mobile-chat-open {
        display: none !important;
    }
}



/* iPhone/Safari close button tap fix */
.mamotech-chatbot__close {
    position: relative !important;
    z-index: 2147483647 !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent !important;
}



/* Final close button position fix */
.mamotech-chatbot__header {
    position: relative !important;
    padding-right: 58px !important;
}

.mamotech-chatbot__close {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    border-radius: 999px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 22px !important;
    line-height: 1 !important;
    z-index: 2147483647 !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent !important;
}

@media (max-width: 768px) {
    .mamotech-chatbot__header {
        padding-right: 58px !important;
    }

    .mamotech-chatbot__close {
        top: 14px !important;
        right: 14px !important;
        left: auto !important;
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
    }
}



/* CLEAN RECOVERY: chatbot close button final override */
.mamotech-chatbot__header {
    position: relative !important;
    padding-right: 58px !important;
}

.mamotech-chatbot__close,
.mamotech-chatbot__header .mamotech-chatbot__close {
    all: unset !important;
    box-sizing: border-box !important;
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    left: auto !important;
    bottom: auto !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    border-radius: 999px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-align: center !important;
    z-index: 2147483647 !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent !important;
}

.mamotech-chatbot__close:hover,
.mamotech-chatbot__close:focus {
    background: rgba(255, 255, 255, 0.24) !important;
    color: #ffffff !important;
}

@media (max-width: 768px) {
    .mamotech-chatbot__close,
    .mamotech-chatbot__header .mamotech-chatbot__close {
        top: 14px !important;
        right: 14px !important;
        left: auto !important;
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
    }
}



/* Mobile compact/wide chat panel toggle */
.mamotech-chatbot__resize {
    display: none;
}

@media (max-width: 768px) {
    .mamotech-chatbot__panel {
        left: auto !important;
        right: 12px !important;
        bottom: 86px !important;
        width: min(calc(100vw - 44px), 360px) !important;
        max-width: 360px !important;
    }

    .mamotech-chatbot.is-wide .mamotech-chatbot__panel {
        left: 10px !important;
        right: 10px !important;
        width: auto !important;
        max-width: none !important;
    }

    .mamotech-chatbot__header {
        position: relative !important;
        padding-left: 58px !important;
        padding-right: 58px !important;
    }

    .mamotech-chatbot__resize {
        all: unset !important;
        box-sizing: border-box !important;
        position: absolute !important;
        top: 14px !important;
        left: 14px !important;
        right: auto !important;
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
        border-radius: 999px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(255, 255, 255, 0.16) !important;
        color: #ffffff !important;
        font-size: 18px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        z-index: 2147483647 !important;
        pointer-events: auto !important;
        touch-action: manipulation !important;
        cursor: pointer !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    .mamotech-chatbot__resize:hover,
    .mamotech-chatbot__resize:focus {
        background: rgba(255, 255, 255, 0.24) !important;
        color: #ffffff !important;
    }
}



/* Final mobile compact width + no keyboard autofocus support */
@media (max-width: 768px) {
    .mamotech-chatbot__panel {
        left: auto !important;
        right: 14px !important;
        bottom: 86px !important;
        width: min(calc(100vw - 72px), 320px) !important;
        max-width: 320px !important;
    }

    .mamotech-chatbot.is-wide .mamotech-chatbot__panel {
        left: 10px !important;
        right: 10px !important;
        width: auto !important;
        max-width: none !important;
    }
}


/* Final minimize + unread badge + resize toggle styling */
.mamotech-chatbot__resize,
.mamotech-chatbot__minimize {
    all: unset !important;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    .mamotech-chatbot__panel {
        left: auto !important;
        right: 14px !important;
        bottom: 86px !important;
        width: min(calc(100vw - 96px), 300px) !important;
        max-width: 300px !important;
    }

    .mamotech-chatbot.is-wide .mamotech-chatbot__panel {
        left: 10px !important;
        right: 10px !important;
        width: auto !important;
        max-width: none !important;
    }

    .mamotech-chatbot__header {
        position: relative !important;
        padding-left: 58px !important;
        padding-right: 104px !important;
    }

    .mamotech-chatbot__resize,
    .mamotech-chatbot__minimize,
    .mamotech-chatbot__close {
        position: absolute !important;
        top: 14px !important;
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
        border-radius: 999px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(255, 255, 255, 0.16) !important;
        color: #ffffff !important;
        font-size: 20px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
        z-index: 2147483647 !important;
        pointer-events: auto !important;
        touch-action: manipulation !important;
        cursor: pointer !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    .mamotech-chatbot__resize {
        left: 14px !important;
        right: auto !important;
    }

    .mamotech-chatbot__close {
        right: 14px !important;
        left: auto !important;
    }

    .mamotech-chatbot__minimize {
        right: 58px !important;
        left: auto !important;
        font-size: 24px !important;
    }

    .mamotech-chatbot__resize:hover,
    .mamotech-chatbot__resize:focus,
    .mamotech-chatbot__minimize:hover,
    .mamotech-chatbot__minimize:focus,
    .mamotech-chatbot__close:hover,
    .mamotech-chatbot__close:focus {
        background: rgba(255, 255, 255, 0.24) !important;
        color: #ffffff !important;
    }

    .mamotech-mobile-chat-open {
        position: fixed !important;
    }

    .mamotech-mobile-chat-badge {
        position: absolute !important;
        top: -6px !important;
        right: -6px !important;
        width: 22px !important;
        height: 22px !important;
        min-width: 22px !important;
        min-height: 22px !important;
        border-radius: 999px !important;
        background: #ef4444 !important;
        color: #ffffff !important;
        display: none;
        align-items: center !important;
        justify-content: center !important;
        font-size: 12px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
        box-shadow: 0 6px 16px rgba(15, 23, 42, 0.22) !important;
        pointer-events: none !important;
    }
}


/* Final iPhone/mobile panel position + scroll fix */
@media (max-width: 768px) {
    .mamotech-chatbot {
        position: fixed !important;
        inset: auto 0 0 auto !important;
        width: 0 !important;
        height: 0 !important;
        z-index: 2147483647 !important;
        pointer-events: none !important;
    }

    .mamotech-chatbot__panel {
        position: fixed !important;
        top: auto !important;
        left: auto !important;
        right: 14px !important;
        bottom: 86px !important;
        width: min(330px, calc(100vw - 44px)) !important;
        max-width: min(330px, calc(100vw - 44px)) !important;
        max-height: calc(100dvh - 140px) !important;
        overflow: hidden !important;
        transform: none !important;
        z-index: 2147483647 !important;
        pointer-events: auto !important;
    }

    .mamotech-chatbot.is-wide .mamotech-chatbot__panel {
        left: 10px !important;
        right: 10px !important;
        width: auto !important;
        max-width: none !important;
    }

    .mamotech-chatbot__body {
        max-height: calc(100dvh - 275px) !important;
        overflow: hidden !important;
    }

    .mamotech-chatbot__messages {
        max-height: calc(100dvh - 465px) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-behavior: smooth !important;
    }

    .mamotech-chatbot__header {
        position: relative !important;
        padding-left: 52px !important;
        padding-right: 96px !important;
        min-height: 96px !important;
    }

    .mamotech-chatbot__title {
        font-size: 18px !important;
        line-height: 1.25 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    .mamotech-chatbot__subtitle {
        font-size: 13px !important;
        line-height: 1.45 !important;
    }

    .mamotech-chatbot__resize,
    .mamotech-chatbot__minimize,
    .mamotech-chatbot__close {
        top: 12px !important;
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
    }

    .mamotech-chatbot__resize {
        left: 12px !important;
        right: auto !important;
    }

    .mamotech-chatbot__minimize {
        right: 52px !important;
        left: auto !important;
    }

    .mamotech-chatbot__close {
        right: 12px !important;
        left: auto !important;
    }
}


/* Clean minimize icon: draw the line with CSS so iPhone renders it correctly */
.mamotech-chatbot__minimize {
    font-size: 0 !important;
    position: absolute !important;
}

.mamotech-chatbot__minimize::before {
    content: "" !important;
    display: block !important;
    width: 14px !important;
    height: 3px !important;
    border-radius: 999px !important;
    background: #ffffff !important;
}

@media (max-width: 768px) {
    .mamotech-chatbot__minimize {
        font-size: 0 !important;
    }

    .mamotech-chatbot__minimize::before {
        width: 14px !important;
        height: 3px !important;
    }
}

/* Final iPhone/mobile equal header buttons */
@media (max-width: 768px) {
    .mamotech-chatbot__resize,
    .mamotech-chatbot__minimize,
    .mamotech-chatbot__close,
    .mamotech-chatbot__header .mamotech-chatbot__resize,
    .mamotech-chatbot__header .mamotech-chatbot__minimize,
    .mamotech-chatbot__header .mamotech-chatbot__close {
        all: unset !important;
        box-sizing: border-box !important;
        position: absolute !important;
        top: 12px !important;
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
        max-width: 34px !important;
        max-height: 34px !important;
        border-radius: 999px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(255, 255, 255, 0.16) !important;
        color: #ffffff !important;
        z-index: 2147483647 !important;
        pointer-events: auto !important;
        touch-action: manipulation !important;
        cursor: pointer !important;
        -webkit-tap-highlight-color: transparent !important;
        overflow: hidden !important;
    }

    .mamotech-chatbot__resize {
        left: 12px !important;
        right: auto !important;
        font-size: 17px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
    }

    .mamotech-chatbot__minimize {
        right: 52px !important;
        left: auto !important;
        font-size: 0 !important;
        line-height: 1 !important;
    }

    .mamotech-chatbot__minimize::before {
        content: "" !important;
        display: block !important;
        width: 13px !important;
        height: 3px !important;
        border-radius: 999px !important;
        background: #ffffff !important;
    }

    .mamotech-chatbot__close {
        right: 12px !important;
        left: auto !important;
        font-size: 22px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
    }

    .mamotech-chatbot__resize:hover,
    .mamotech-chatbot__resize:focus,
    .mamotech-chatbot__minimize:hover,
    .mamotech-chatbot__minimize:focus,
    .mamotech-chatbot__close:hover,
    .mamotech-chatbot__close:focus {
        background: rgba(255, 255, 255, 0.24) !important;
        color: #ffffff !important;
    }
}

/* FINAL CLEAN MOBILE LAYOUT OVERRIDE - iPhone + Pixel */
@media (max-width: 768px) {
    .mamotech-chatbot {
        position: fixed !important;
        inset: auto 0 0 auto !important;
        width: 0 !important;
        height: 0 !important;
        z-index: 2147483647 !important;
        pointer-events: none !important;
    }

    .mamotech-chatbot__panel {
        position: fixed !important;
        top: auto !important;
        left: 24px !important;
        right: 24px !important;
        bottom: 88px !important;
        width: auto !important;
        max-width: none !important;
        max-height: calc(100dvh - 130px) !important;
        transform: none !important;
        overflow: hidden !important;
        z-index: 2147483647 !important;
        pointer-events: auto !important;
        border-radius: 22px !important;
    }

    .mamotech-chatbot.is-wide .mamotech-chatbot__panel {
        left: 10px !important;
        right: 10px !important;
        width: auto !important;
        max-width: none !important;
    }

    .mamotech-chatbot__header {
        position: relative !important;
        min-height: 112px !important;
        padding: 20px 96px 22px 58px !important;
        overflow: visible !important;
    }

    .mamotech-chatbot__title {
        font-size: 18px !important;
        line-height: 1.25 !important;
        margin: 0 0 8px 0 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    .mamotech-chatbot__subtitle {
        font-size: 13px !important;
        line-height: 1.45 !important;
        margin: 0 !important;
    }

    .mamotech-chatbot__resize,
    .mamotech-chatbot__minimize,
    .mamotech-chatbot__close,
    .mamotech-chatbot__header .mamotech-chatbot__resize,
    .mamotech-chatbot__header .mamotech-chatbot__minimize,
    .mamotech-chatbot__header .mamotech-chatbot__close {
        all: unset !important;
        box-sizing: border-box !important;
        position: absolute !important;
        top: 16px !important;
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
        max-width: 34px !important;
        max-height: 34px !important;
        border-radius: 999px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(255, 255, 255, 0.16) !important;
        color: #ffffff !important;
        z-index: 2147483647 !important;
        pointer-events: auto !important;
        touch-action: manipulation !important;
        cursor: pointer !important;
        -webkit-tap-highlight-color: transparent !important;
        overflow: hidden !important;
    }

    .mamotech-chatbot__resize {
        left: 16px !important;
        right: auto !important;
        font-size: 17px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
    }

    .mamotech-chatbot__close {
        right: 16px !important;
        left: auto !important;
        font-size: 22px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
    }

    .mamotech-chatbot__minimize {
        right: 56px !important;
        left: auto !important;
        font-size: 0 !important;
        line-height: 1 !important;
    }

    .mamotech-chatbot__minimize::before {
        content: "" !important;
        display: block !important;
        width: 13px !important;
        height: 3px !important;
        border-radius: 999px !important;
        background: #ffffff !important;
    }

    .mamotech-chatbot__body {
        max-height: calc(100dvh - 245px) !important;
        overflow: hidden !important;
    }

    .mamotech-chatbot__messages {
        max-height: calc(100dvh - 455px) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .mamotech-chatbot__form,
    .mamotech-chatbot__whatsapp,
    .mamotech-chatbot__footer {
        flex-shrink: 0 !important;
    }
}

/* ABSOLUTE FINAL FIX: show mobile header buttons again */
@media (max-width: 768px) {
    [data-mamotech-chatbot].mamotech-chatbot {
        position: fixed !important;
        inset: auto 0 0 auto !important;
        width: 0 !important;
        height: 0 !important;
        z-index: 2147483647 !important;
        pointer-events: none !important;
    }

    [data-mamotech-chatbot] .mamotech-chatbot__panel {
        position: fixed !important;
        top: auto !important;
        left: 18px !important;
        right: 18px !important;
        bottom: 88px !important;
        width: auto !important;
        max-width: none !important;
        max-height: calc(100dvh - 130px) !important;
        overflow: hidden !important;
        transform: none !important;
        z-index: 2147483647 !important;
        pointer-events: auto !important;
        border-radius: 22px !important;
    }

    [data-mamotech-chatbot].is-wide .mamotech-chatbot__panel {
        left: 10px !important;
        right: 10px !important;
    }

    [data-mamotech-chatbot] .mamotech-chatbot__header {
        position: relative !important;
        min-height: 116px !important;
        padding: 20px 104px 22px 58px !important;
        overflow: visible !important;
    }

    [data-mamotech-chatbot] .mamotech-chatbot__title {
        display: block !important;
        margin: 0 0 8px 0 !important;
        font-size: 18px !important;
        line-height: 1.25 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        color: #ffffff !important;
    }

    [data-mamotech-chatbot] .mamotech-chatbot__subtitle {
        display: block !important;
        margin: 0 !important;
        font-size: 13px !important;
        line-height: 1.45 !important;
        color: #ffffff !important;
    }

    [data-mamotech-chatbot] .mamotech-chatbot__resize,
    [data-mamotech-chatbot] .mamotech-chatbot__minimize,
    [data-mamotech-chatbot] .mamotech-chatbot__close {
        all: unset !important;
        box-sizing: border-box !important;
        position: absolute !important;
        top: 16px !important;
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
        max-width: 34px !important;
        max-height: 34px !important;
        border-radius: 999px !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(255, 255, 255, 0.18) !important;
        color: #ffffff !important;
        z-index: 2147483647 !important;
        pointer-events: auto !important;
        touch-action: manipulation !important;
        cursor: pointer !important;
        -webkit-tap-highlight-color: transparent !important;
        overflow: hidden !important;
    }

    [data-mamotech-chatbot] .mamotech-chatbot__resize {
        left: 16px !important;
        right: auto !important;
        font-size: 17px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
    }

    [data-mamotech-chatbot] .mamotech-chatbot__minimize {
        right: 56px !important;
        left: auto !important;
        font-size: 0 !important;
        line-height: 1 !important;
    }

    [data-mamotech-chatbot] .mamotech-chatbot__minimize::before {
        content: "" !important;
        display: block !important;
        width: 13px !important;
        height: 3px !important;
        border-radius: 999px !important;
        background: #ffffff !important;
    }

    [data-mamotech-chatbot] .mamotech-chatbot__close {
        right: 16px !important;
        left: auto !important;
        font-size: 22px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
    }

    [data-mamotech-chatbot] .mamotech-chatbot__body {
        max-height: calc(100dvh - 250px) !important;
        overflow: hidden !important;
    }

    [data-mamotech-chatbot] .mamotech-chatbot__messages {
        max-height: calc(100dvh - 460px) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
}

/* FINAL: compact default mobile chat, wide only after clicking resize */
@media (max-width: 768px) {
    [data-mamotech-chatbot] .mamotech-chatbot__panel {
        position: fixed !important;
        top: auto !important;
        left: auto !important;
        right: 18px !important;
        bottom: 88px !important;
        width: min(320px, calc(100vw - 78px)) !important;
        max-width: min(320px, calc(100vw - 78px)) !important;
        max-height: calc(100dvh - 130px) !important;
        overflow: hidden !important;
        transform: none !important;
        z-index: 2147483647 !important;
        pointer-events: auto !important;
        border-radius: 22px !important;
    }

    [data-mamotech-chatbot].is-wide .mamotech-chatbot__panel {
        left: 12px !important;
        right: 12px !important;
        width: auto !important;
        max-width: none !important;
    }

    [data-mamotech-chatbot] .mamotech-chatbot__header {
        min-height: 116px !important;
        padding: 20px 104px 22px 58px !important;
    }

    [data-mamotech-chatbot] .mamotech-chatbot__body {
        max-height: calc(100dvh - 250px) !important;
        overflow: hidden !important;
    }

    [data-mamotech-chatbot] .mamotech-chatbot__messages {
        max-height: calc(100dvh - 460px) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
}

/* Hide X close/reset button: customer can only minimize, not reset session */
.mamotech-chatbot__close,
[data-mamotech-chatbot] .mamotech-chatbot__close {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

@media (max-width: 768px) {
    [data-mamotech-chatbot] .mamotech-chatbot__header {
        padding-right: 64px !important;
    }

    [data-mamotech-chatbot] .mamotech-chatbot__minimize {
        right: 16px !important;
        left: auto !important;
    }
}


/* Final resize icon: smaller and clear direction */
@media (max-width: 768px) {
    [data-mamotech-chatbot] .mamotech-chatbot__resize {
        font-size: 15px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
    }
}



/* Final resize icon direction */
@media (max-width: 768px) {
    [data-mamotech-chatbot] .mamotech-chatbot__resize {
        font-size: 15px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
    }
}



/* Final resize icon direction */
@media (max-width: 768px) {
    [data-mamotech-chatbot] .mamotech-chatbot__resize {
        font-size: 15px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
    }
}


/* DESKTOP RECOVERY: keep desktop chatbot like before */
@media (min-width: 769px) {
    [data-mamotech-chatbot] .mamotech-chatbot__resize,
    [data-mamotech-chatbot] .mamotech-chatbot__minimize {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    [data-mamotech-chatbot] .mamotech-chatbot__close {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    [data-mamotech-chatbot] .mamotech-chatbot__panel {
        position: fixed !important;
        right: 24px !important;
        bottom: 88px !important;
        left: auto !important;
        width: 360px !important;
        max-width: calc(100vw - 48px) !important;
        max-height: calc(100vh - 120px) !important;
        transform: none !important;
        overflow: hidden !important;
        border-radius: 22px !important;
        z-index: 999999 !important;
    }

    [data-mamotech-chatbot] .mamotech-chatbot__header {
        position: relative !important;
        min-height: auto !important;
        padding: 18px 48px 18px 18px !important;
        overflow: visible !important;
    }

    [data-mamotech-chatbot] .mamotech-chatbot__title {
        font-size: 16px !important;
        line-height: 1.3 !important;
        margin: 0 0 4px 0 !important;
    }

    [data-mamotech-chatbot] .mamotech-chatbot__subtitle {
        font-size: 13px !important;
        line-height: 1.35 !important;
        margin: 0 !important;
    }

    [data-mamotech-chatbot] .mamotech-chatbot__body {
        max-height: none !important;
        overflow: hidden !important;
    }

    [data-mamotech-chatbot] .mamotech-chatbot__messages {
        max-height: 310px !important;
        overflow-y: auto !important;
    }

    [data-mamotech-chatbot] .mamotech-chatbot__button {
        display: flex !important;
        position: fixed !important;
        right: 24px !important;
        bottom: 24px !important;
        z-index: 999999 !important;
    }

    [data-mamotech-chatbot].is-open .mamotech-chatbot__button {
        display: none !important;
    }
}

/* DESKTOP FINAL: hide X reset button and use minimize like mobile */
@media (min-width: 769px) {
    [data-mamotech-chatbot] .mamotech-chatbot__close {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    [data-mamotech-chatbot] .mamotech-chatbot__resize {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    [data-mamotech-chatbot] .mamotech-chatbot__header {
        position: relative !important;
        padding: 18px 58px 18px 18px !important;
    }

    [data-mamotech-chatbot] .mamotech-chatbot__minimize {
        all: unset !important;
        box-sizing: border-box !important;
        position: absolute !important;
        top: 14px !important;
        right: 14px !important;
        left: auto !important;
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
        border-radius: 999px !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(255, 255, 255, 0.16) !important;
        color: #ffffff !important;
        z-index: 999999 !important;
        pointer-events: auto !important;
        touch-action: manipulation !important;
        cursor: pointer !important;
        -webkit-tap-highlight-color: transparent !important;
        font-size: 0 !important;
        line-height: 1 !important;
    }

    [data-mamotech-chatbot] .mamotech-chatbot__minimize::before {
        content: "" !important;
        display: block !important;
        width: 13px !important;
        height: 3px !important;
        border-radius: 999px !important;
        background: #ffffff !important;
    }
}

/* ABSOLUTE FINAL DESKTOP: hide X reset, use minimize only */
@media (min-width: 769px) {
    [data-mamotech-chatbot] .mamotech-chatbot__close,
    [data-mamotech-chatbot] .mamotech-chatbot__header .mamotech-chatbot__close {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    [data-mamotech-chatbot] .mamotech-chatbot__resize,
    [data-mamotech-chatbot] .mamotech-chatbot__header .mamotech-chatbot__resize {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    [data-mamotech-chatbot] .mamotech-chatbot__header {
        position: relative !important;
        padding: 18px 58px 18px 18px !important;
    }

    [data-mamotech-chatbot] .mamotech-chatbot__minimize,
    [data-mamotech-chatbot] .mamotech-chatbot__header .mamotech-chatbot__minimize {
        all: unset !important;
        box-sizing: border-box !important;
        position: absolute !important;
        top: 14px !important;
        right: 14px !important;
        left: auto !important;
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
        border-radius: 999px !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(255, 255, 255, 0.16) !important;
        color: #ffffff !important;
        z-index: 2147483647 !important;
        pointer-events: auto !important;
        touch-action: manipulation !important;
        cursor: pointer !important;
        font-size: 0 !important;
        line-height: 1 !important;
    }

    [data-mamotech-chatbot] .mamotech-chatbot__minimize::before {
        content: "" !important;
        display: block !important;
        width: 13px !important;
        height: 3px !important;
        border-radius: 999px !important;
        background: #ffffff !important;
    }
}


/* Desktop + mobile unread badge for minimized chat */
.mamotech-chatbot__button,
.mamotech-mobile-chat-open {
    position: fixed !important;
}

.mamotech-chat-badge {
    position: absolute !important;
    top: -6px !important;
    right: -6px !important;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    border-radius: 999px !important;
    background: #ef4444 !important;
    color: #ffffff !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.22) !important;
    pointer-events: none !important;
    z-index: 2147483647 !important;
}


/* MamoTech 9: WhatsApp knop uit chatbot verbergen, link technisch laten bestaan voor JS */
.mamotech-chatbot__whatsapp {
    display: none !important;
}

/* MamoTech 9: maak keuze-knoppen zoals Overslaan / تخطي duidelijker zichtbaar */
.mamotech-chatbot__quick-option {
    background: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
    font-weight: 700 !important;
}

.mamotech-chatbot__quick-option:hover {
    background: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
    color: #ffffff !important;
}

/* MamoTech live medewerker bubble */
.mamotech-chatbot__bubble--operator {
    background: #dbeafe;
    color: #0f172a;
    border: 1px solid #bfdbfe;
    align-self: flex-start;
    white-space: pre-line;
}

.mamotech-chatbot__operator-name {
    font-weight: 700;
    color: #1d4ed8;
    margin-bottom: 6px;
}

.mamotech-chatbot__operator-body {
    color: #0f172a;
    line-height: 1.55;
    white-space: pre-line;
}

/* Final MamoTech live medewerker style */
.mamotech-chatbot__bubble--operator {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #e5e7eb !important;
    align-self: flex-start !important;
    white-space: pre-line;
}

.mamotech-chatbot__bubble--operator-status {
    background: #dbeafe !important;
    color: #1d4ed8 !important;
    border: 1px solid #bfdbfe !important;
    align-self: flex-start !important;
    font-weight: 700 !important;
    font-size: 12px !important;
}

.mamotech-chatbot__operator-name {
    display: block;
    margin-bottom: 5px;
    font-size: 11px;
    font-weight: 700;
    color: #2563eb;
    text-align: left;
}

.mamotech-chatbot__operator-name--rtl {
    text-align: right;
}

.mamotech-chatbot__operator-body {
    color: #0f172a;
    line-height: 1.55;
    white-space: pre-line;
}

/* Final visitor/operator labels */
.mamotech-chatbot__bubble--operator {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #e5e7eb !important;
    align-self: flex-start !important;
    white-space: pre-line;
}

.mamotech-chatbot__bubble--operator-status {
    background: #dbeafe !important;
    color: #1d4ed8 !important;
    border: 1px solid #bfdbfe !important;
    align-self: flex-start !important;
    font-weight: 700 !important;
    font-size: 12px !important;
}


/* Hide visitor name labels in chat history */
/* Keep visitor messages as normal blue user bubbles */


/* Final: visitor messages stay normal, no visitor name label */
.mamotech-chatbot__bubble--user {
    background: #2563eb !important;
    color: #ffffff !important;
    align-self: flex-end !important;
}

/* Final: operator messages stay normal white with small name above */
.mamotech-chatbot__bubble--operator {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #e5e7eb !important;
    align-self: flex-start !important;
    white-space: pre-line;
}

.mamotech-chatbot__operator-name {
    display: block;
    margin-bottom: 5px;
    font-size: 11px;
    font-weight: 700;
    color: #2563eb;
    text-align: left;
}

.mamotech-chatbot__operator-name--rtl {
    text-align: right;
}

.mamotech-chatbot__operator-body {
    color: #0f172a;
    line-height: 1.55;
    white-space: pre-line;
}

/* Final: connected status */
.mamotech-chatbot__bubble--operator-status {
    background: #dbeafe !important;
    color: #1d4ed8 !important;
    border: 1px solid #bfdbfe !important;
    align-self: flex-start !important;
    font-weight: 700 !important;
    font-size: 12px !important;
}

/* Test: quick option buttons light style for better emoji visibility */
.mamotech-chatbot__quick-option {
    background: #ffffff !important;
    color: #1d4ed8 !important;
    border: 1px solid #bfdbfe !important;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08) !important;
}

.mamotech-chatbot__quick-option:hover {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    border-color: #93c5fd !important;
}

/* MamoTech final fix: keep chat bubble positions the same in Arabic as in Dutch.
   Visitor/customer messages stay on the right.
   Assistant/operator messages stay on the left.
   Arabic text inside bubbles remains RTL/readable. */
.mamotech-chatbot[data-chatbot-lang="ar"] .mamotech-chatbot__messages {
    direction: ltr !important;
}

.mamotech-chatbot[data-chatbot-lang="ar"] .mamotech-chatbot__bubble--user {
    align-self: flex-end !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    direction: rtl !important;
    text-align: right !important;
}

.mamotech-chatbot[data-chatbot-lang="ar"] .mamotech-chatbot__bubble--bot,
.mamotech-chatbot[data-chatbot-lang="ar"] .mamotech-chatbot__bubble--operator,
.mamotech-chatbot[data-chatbot-lang="ar"] .mamotech-chatbot__bubble--operator-status {
    align-self: flex-start !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    direction: rtl !important;
    text-align: right !important;
}

.mamotech-chatbot[data-chatbot-lang="ar"] .mamotech-chatbot__operator-name,
.mamotech-chatbot[data-chatbot-lang="ar"] .mamotech-chatbot__operator-body {
    direction: rtl !important;
    text-align: right !important;
}

/* Invite badge: kleine melding zonder nummer */
.mamotech-chat-badge.mamotech-chat-badge--dot {
    width: 12px;
    height: 12px;
    min-width: 12px;
    padding: 0;
    font-size: 0;
    line-height: 1;
}


/* MamoTech 27: visible invite badge text for first chat attention */
.mamotech-chat-badge.mamotech-chat-badge--invite {
    width: auto !important;
    min-width: 44px !important;
    height: 25px !important;
    min-height: 25px !important;
    padding: 0 10px !important;
    border-radius: 999px !important;
    background: #f59e0b !important;
    color: #111827 !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.26) !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Invite glow: subtiele melding rond chatknop zonder badge/nummer */
[data-chatbot-open].mamotech-chat-button--invite,
#mamotech-mobile-chat-open.mamotech-chat-button--invite {
    position: relative;
    animation: mamotech-chat-invite-soft-breathe 1.8s ease-in-out infinite;
}

[data-chatbot-open].mamotech-chat-button--invite::after,
#mamotech-mobile-chat-open.mamotech-chat-button--invite::after {
    content: "";
    position: absolute;
    inset: -7px;
    border-radius: 999px;
    border: 2px solid rgba(255, 122, 0, 0.45);
    box-shadow: 0 0 0 0 rgba(255, 122, 0, 0.28);
    pointer-events: none;
    animation: mamotech-chat-invite-ring 1.8s ease-out infinite;
}

@keyframes mamotech-chat-invite-ring {
    0% {
        transform: scale(0.92);
        opacity: 0.85;
        box-shadow: 0 0 0 0 rgba(255, 122, 0, 0.28);
    }
    70% {
        transform: scale(1.12);
        opacity: 0.15;
        box-shadow: 0 0 0 12px rgba(255, 122, 0, 0);
    }
    100% {
        transform: scale(1.16);
        opacity: 0;
        box-shadow: 0 0 0 16px rgba(255, 122, 0, 0);
    }
}

@keyframes mamotech-chat-invite-soft-breathe {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px);
    }
}
