﻿:root {
    --itms-assistant-bg: rgba(15, 18, 28, 0.97);
    --itms-assistant-surface: rgba(255, 255, 255, 0.055);
    --itms-assistant-border: rgba(255, 255, 255, 0.10);
    --itms-assistant-text: #ffffff;
    --itms-assistant-muted: rgba(255, 255, 255, 0.62);
    --itms-robot-blue: #27d9ff;
    --itms-robot-blue-dark: #008cff;
    --itms-robot-purple: #8b5cf6;
    --itms-robot-pink: #ff5f9e;
    --itms-robot-orange: #ff9d43;
    --itms-robot-white: #f5f7fb;
    --itms-robot-screen: #050b20;
    --itms-assistant-radius: 20px;
}


/* =========================================================
   ASSISTANT CONTAINER
   ========================================================= */

.itms-assistant-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================================================
   TRIGGER
   ========================================================= */

.itms-assistant-trigger {
    position: relative;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    border: 0;
    outline: none;
    background: transparent;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    overflow: visible;
    transition: transform .25s ease, background .25s ease;
}

    .itms-assistant-trigger:hover {
        background: rgba(255, 255, 255, .055);
        transform: scale(1.05);
    }

    .itms-assistant-trigger:active {
        transform: scale(.94);
    }


/* =========================================================
   SMALL ROBOT
   ========================================================= */

.itms-assistant-trigger-orb {
    position: relative;
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 46% 46% 43% 43%;
    background: radial-gradient( circle at 31% 15%, #ffffff 0%, #ffffff 10%, #f9fbfd 27%, #edf1f5 49%, #dce2e8 70%, #c5cdd6 100% );
    box-shadow: -7px 0 0 -3px #119fe9, -9px 0 0 -5px rgba(39, 217, 255, .75), 7px 0 0 -3px #ff963c, 9px 0 0 -5px rgba(255, 150, 60, .70), 0 5px 13px rgba(0, 0, 0, .25), inset 0 2px 5px rgba(255, 255, 255, .98), inset 0 -3px 6px rgba(100, 115, 135, .16), 0 0 17px rgba(39, 217, 255, .25);
    animation: itms-robot-float 3.5s ease-in-out infinite;
    isolation: isolate;
    overflow: visible;
}


    /* =========================================================
   SMALL ROBOT SIDE LIGHT
   ========================================================= */

    .itms-assistant-trigger-orb::after {
        content: "";
        position: absolute;
        width: 5px;
        height: 15px;
        left: -4px;
        top: 50%;
        transform: translateY(-50%);
        border-radius: 8px;
        background: linear-gradient( to bottom, #61ecff, #16cfff 45%, #008cff );
        box-shadow: 0 0 5px rgba(39, 217, 255, .95), 0 0 10px rgba(39, 217, 255, .55);
        z-index: 4;
    }


    /* =========================================================
   SMALL ROBOT SCREEN
   ========================================================= */

    .itms-assistant-trigger-orb::before {
        content: "";
        position: absolute;
        width: 30px;
        height: 21px;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        border-radius: 10px;
        background: radial-gradient( ellipse at 50% 18%, #203f82 0%, #10295d 25%, #07183b 48%, #030d25 70%, #00040e 100% );
        border: 1px solid rgba(255, 255, 255, .16);
        box-shadow: inset 0 2px 4px rgba(255, 255, 255, .10), inset 0 -3px 5px rgba(0, 0, 0, .72), inset 0 0 7px rgba(0, 0, 0, .65), 0 0 7px rgba(0, 0, 0, .9);
        z-index: 2;
    }


/* =========================================================
   SMALL ROBOT EYES
   ========================================================= */

.itms-assistant-trigger .itms-assistant-robot-eyes {
    position: absolute;
    z-index: 10;
    top: 50%;
    left: 50%;
    width: 21px;
    height: 9px;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}


    /* =========================================================
   SMALL EYE
   ========================================================= */

    .itms-assistant-trigger .itms-assistant-robot-eyes span {
        position: relative;
        display: block;
        width: 7px;
        height: 7px;
        flex-shrink: 0;
        border-radius: 50%;
        background: radial-gradient( circle at 32% 25%, #ffffff 0%, #e8fdff 10%, #63ebff 23%, #19caff 42%, #0781ff 67%, #031642 100% );
        border: 1px solid rgba(255, 255, 255, .95);
        box-shadow: 0 0 4px #ffffff, 0 0 8px #25dcff, 0 0 13px rgba(39, 217, 255, .85);
        animation: itms-eye-blink 4.8s ease-in-out infinite;
    }


        /* =========================================================
   SMALL PUPIL
   ========================================================= */

        .itms-assistant-trigger
        .itms-assistant-robot-eyes span::after {
            content: "";
            position: absolute;
            width: 2.5px;
            height: 2.5px;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            border-radius: 50%;
            background: #ffffff;
            box-shadow: 0 0 3px #ffffff, 0 0 5px #4de7ff;
        }


/* =========================================================
   ACTIVE TRIGGER
   ========================================================= */

.itms-assistant-trigger[aria-expanded="true"] {
    transform: scale(1.06);
}

    .itms-assistant-trigger[aria-expanded="true"]
    .itms-assistant-trigger-orb {
        animation: itms-robot-active 1.5s ease-in-out infinite;
    }


/* =========================================================
   PANEL
   ========================================================= */

.itms-assistant-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 390px;
    max-width: calc(100vw - 24px);
    height: 560px;
    max-height: calc(100vh - 90px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: linear-gradient( 145deg, rgba(24, 28, 42, .985), rgba(10, 13, 22, .985) );
    border: 1px solid var(--itms-assistant-border);
    border-radius: var(--itms-assistant-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .38), 0 0 40px rgba(39, 217, 255, .08);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(.96);
    transform-origin: top right;
    transition: opacity .22s ease, visibility .22s ease, transform .28s cubic-bezier(.2, .8, .2, 1);
    z-index: 9999;
}


    .itms-assistant-panel.itms-assistant-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }


    /* =========================================================
   PANEL GLOW
   ========================================================= */

    .itms-assistant-panel::before {
        content: "";
        position: absolute;
        top: -80px;
        left: 50%;
        width: 220px;
        height: 160px;
        transform: translateX(-50%);
        background: radial-gradient( ellipse, rgba(39, 217, 255, .16), transparent 70% );
        pointer-events: none;
        z-index: 0;
    }


/* =========================================================
   HEADER
   ========================================================= */

.itms-assistant-header {
    position: relative;
    min-height: 62px;
    display: flex;
    align-items: center;
    padding: 0 17px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    z-index: 5;
}


/* =========================================================
   HEADER BRAND
   ========================================================= */

.itms-assistant-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}


/* =========================================================
   HEADER ROBOT
   ========================================================= */

.itms-assistant-brand-orb {
    position: relative;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 47% 47% 44% 44%;
    background: radial-gradient( circle at 30% 17%, #ffffff 0%, #ffffff 10%, #f8fafc 28%, #e8edf2 52%, #d7dde4 73%, #c7ced7 100% );
    box-shadow: -6px 0 0 -3px #139ee8, 6px 0 0 -3px #ff993f, 0 4px 11px rgba(0, 0, 0, .22), inset 0 2px 5px rgba(255, 255, 255, .98), inset 0 -3px 5px rgba(100, 115, 135, .12), 0 0 14px rgba(39, 217, 255, .20);
    animation: itms-robot-float 3s ease-in-out infinite;
    isolation: isolate;
    overflow: visible;
}


    /* =========================================================
   HEADER SCREEN
   ========================================================= */

    .itms-assistant-brand-orb::before {
        content: "";
        position: absolute;
        width: 25px;
        height: 17px;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        border-radius: 9px;
        background: radial-gradient( ellipse at 50% 18%, #1d3d7e 0%, #0b1d4b 30%, #061432 55%, #02091e 78%, #00030b 100% );
        border: 1px solid rgba(255, 255, 255, .15);
        box-shadow: inset 0 2px 4px rgba(255, 255, 255, .08), inset 0 -3px 5px rgba(0, 0, 0, .68), 0 0 6px rgba(0, 0, 0, .9);
        z-index: 1;
    }


    /* =========================================================
   HEADER ROBOT EYES
   ========================================================= */

    .itms-assistant-brand-orb
    .itms-assistant-robot-eyes {
        position: absolute;
        z-index: 5;
        top: 50%;
        left: 50%;
        width: 18px;
        height: 7px;
        transform: translate(-50%, -50%);
        display: flex;
        align-items: center;
        justify-content: space-between;
        pointer-events: none;
    }


        /* =========================================================
   HEADER EYES
   ========================================================= */

        .itms-assistant-brand-orb
        .itms-assistant-robot-eyes span {
            position: relative;
            display: block;
            width: 6px;
            height: 6px;
            flex-shrink: 0;
            border-radius: 50%;
            background: radial-gradient( circle at 35% 28%, #ffffff 0%, #b7f7ff 20%, #27d9ff 47%, #087cff 100% );
            border: 1px solid rgba(255, 255, 255, .85);
            box-shadow: 0 0 4px #ffffff, 0 0 8px #29ddff, 0 0 12px rgba(39, 217, 255, .65);
            animation: itms-eye-blink 4.8s ease-in-out infinite;
        }


/* =========================================================
   BRAND TEXT
   ========================================================= */

.itms-assistant-brand-name {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.itms-assistant-brand-title {
    color: #fff;
    font-size: 14px;
    font-weight: 650;
}

.itms-assistant-brand-status {
    margin-top: 3px;
    color: rgba(255, 255, 255, .48);
    font-size: 10px;
}


/* =========================================================
   CLOSE
   ========================================================= */

.itms-assistant-close {
    width: 32px;
    height: 32px;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    outline: none;
    border-radius: 50%;
    background: transparent;
    color: rgba(255, 255, 255, .55);
    cursor: pointer;
    font-size: 19px;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

    .itms-assistant-close:hover {
        color: #fff;
        background: rgba(255, 255, 255, .08);
        transform: rotate(90deg);
    }


/* =========================================================
   CHAT
   ========================================================= */

.itms-assistant-chat {
    position: relative;
    flex: 1;
    overflow-y: auto;
    padding: 20px 17px 15px;
    scroll-behavior: smooth;
    z-index: 2;
}

    .itms-assistant-chat::-webkit-scrollbar {
        width: 5px;
    }

    .itms-assistant-chat::-webkit-scrollbar-track {
        background: transparent;
    }

    .itms-assistant-chat::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, .14);
        border-radius: 20px;
    }


/* =========================================================
   WELCOME
   ========================================================= */

.itms-assistant-welcome {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 10px 30px;
}


/* =========================================================
   ROBOT WRAPPER
   ========================================================= */

.itms-assistant-orb-wrapper {
    position: relative;
    width: 175px;
    height: 175px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}


    /* =========================================================
   ANTENNAS
   ========================================================= */

    .itms-assistant-orb-wrapper::before,
    .itms-assistant-orb-wrapper::after {
        content: "";
        position: absolute;
        width: 2px;
        height: 48px;
        top: 7px;
        border-radius: 4px;
        z-index: 1;
    }


    /* =========================================================
   LEFT ANTENNA
   ========================================================= */

    .itms-assistant-orb-wrapper::before {
        left: 39px;
        background: linear-gradient( to top, #1c3b78, #13264f );
        transform: rotate(17deg);
        transform-origin: bottom center;
        box-shadow: 0 0 3px rgba(39, 217, 255, .45);
    }


    /* =========================================================
   RIGHT ANTENNA
   ========================================================= */

    .itms-assistant-orb-wrapper::after {
        right: 39px;
        background: linear-gradient( to top, #7c315c, #301b42 );
        transform: rotate(-17deg);
        transform-origin: bottom center;
        box-shadow: 0 0 3px rgba(255, 95, 158, .35);
    }


    /* =========================================================
   ANTENNA DOTS
   ========================================================= */

    .itms-assistant-orb-wrapper
    .itms-assistant-orb-glow::before,
    .itms-assistant-orb-wrapper
    .itms-assistant-orb-glow::after {
        content: "";
        position: absolute;
        width: 7px;
        height: 7px;
        top: 1px;
        border-radius: 50%;
    }


    /* =========================================================
   LEFT DOT
   ========================================================= */

    .itms-assistant-orb-wrapper
    .itms-assistant-orb-glow::before {
        left: 35px;
        background: #25dcff;
        box-shadow: 0 0 5px #25dcff, 0 0 13px rgba(34, 217, 255, .90), 0 0 20px rgba(34, 217, 255, .35);
    }


    /* =========================================================
   RIGHT DOT
   ========================================================= */

    .itms-assistant-orb-wrapper
    .itms-assistant-orb-glow::after {
        right: 35px;
        background: #ff639f;
        box-shadow: 0 0 5px #ff639f, 0 0 13px rgba(255, 99, 159, .80), 0 0 20px rgba(255, 99, 159, .30);
    }


/* =========================================================
   GLOW
   ========================================================= */

.itms-assistant-orb-glow {
    position: absolute;
    width: 165px;
    height: 165px;
    border-radius: 50%;
    background: radial-gradient( circle, rgba(39, 217, 255, .23), rgba(139, 92, 246, .12) 42%, transparent 72% );
    filter: blur(12px);
    animation: itms-glow 3s ease-in-out infinite;
}


/* =========================================================
   MAIN ROBOT
   ========================================================= */

.itms-assistant-orb {
    position: relative;
    width: 116px;
    height: 116px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 48% 48% 44% 44%;
    background: radial-gradient( circle at 30% 16%, #ffffff 0%, #ffffff 9%, #fafbfd 25%, #eef2f6 46%, #e0e5ea 65%, #cfd6de 83%, #c4ccd5 100% );
    box-shadow: -13px 0 0 -5px #159ee8, -15px 0 0 -8px rgba(39, 217, 255, .90), 13px 0 0 -5px #ff9d43, 15px 0 0 -8px rgba(255, 143, 55, .85), 0 10px 28px rgba(0, 0, 0, .25), inset 0 3px 7px rgba(255, 255, 255, .98), inset 0 -6px 10px rgba(110, 125, 145, .13), 0 0 27px rgba(39, 217, 255, .24);
    animation: itms-orb-float 4s ease-in-out infinite;
    isolation: isolate;
    overflow: visible;
}


    /* =========================================================
   MAIN ROBOT SCREEN
   ========================================================= */

    .itms-assistant-orb::before {
        content: "";
        position: absolute;
        width: 80px;
        height: 55px;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        border-radius: 27px;
        background: radial-gradient( ellipse at 50% 17%, #23427f 0%, #10275b 24%, #08183f 43%, #04102b 62%, #02091d 80%, #00040d 100% );
        border: 1px solid rgba(255, 255, 255, .15);
        box-shadow: inset 0 4px 8px rgba(255, 255, 255, .09), inset 0 -5px 8px rgba(0, 0, 0, .72), inset 0 0 12px rgba(0, 0, 0, .50), 0 0 9px rgba(0, 0, 0, .85);
        z-index: 2;
    }


    /* =========================================================
   SCREEN INNER GLOW
   ========================================================= */

    .itms-assistant-orb::after {
        content: "";
        position: absolute;
        width: 68px;
        height: 43px;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        border-radius: 22px;
        background: radial-gradient( ellipse at center, rgba(28, 160, 255, .13), transparent 70% );
        pointer-events: none;
        z-index: 3;
    }


    /* =========================================================
   MAIN ROBOT EYES
   ========================================================= */

    .itms-assistant-orb
    .itms-assistant-robot-eyes {
        position: absolute;
        z-index: 10;
        top: 50%;
        left: 50%;
        width: 62px;
        height: 29px;
        transform: translate(-50%, -50%);
        display: flex;
        align-items: center;
        justify-content: space-between;
        pointer-events: none;
    }


        /* =========================================================
   MAIN EYE
   ========================================================= */

        .itms-assistant-orb
        .itms-assistant-robot-eyes span {
            position: relative;
            display: block;
            width: 25px;
            height: 25px;
            flex-shrink: 0;
            border-radius: 50%;
            background: radial-gradient( circle at 35% 27%, #ffffff 0%, #e9fdff 7%, #69ecff 17%, #19c9ff 32%, #087fff 53%, #06225f 76%, #020917 100% );
            border: 2px solid rgba(133, 244, 255, .95);
            box-shadow: 0 0 5px #ffffff, 0 0 11px #29dfff, 0 0 20px rgba(39, 217, 255, .85), inset 0 0 6px rgba(255, 255, 255, .60);
            animation: itms-eye-blink 4.8s ease-in-out infinite;
        }


            /* =========================================================
   PUPIL
   ========================================================= */

            .itms-assistant-orb
            .itms-assistant-robot-eyes span::after {
                content: "";
                position: absolute;
                width: 10px;
                height: 10px;
                left: 50%;
                top: 50%;
                transform: translate(-50%, -50%);
                border-radius: 50%;
                background: radial-gradient( circle at 35% 30%, #ffffff 0%, #e7fcff 20%, #7ceeff 42%, #0a8cff 72%, #003b91 100% );
                box-shadow: 0 0 5px #ffffff, 0 0 10px #39e5ff, 0 0 17px rgba(79, 172, 254, .85);
            }


            /* =========================================================
   EYE HIGHLIGHT
   ========================================================= */

            .itms-assistant-orb
            .itms-assistant-robot-eyes span::before {
                content: "";
                position: absolute;
                width: 6px;
                height: 6px;
                left: 5px;
                top: 4px;
                border-radius: 50%;
                background: #ffffff;
                opacity: .95;
                box-shadow: 0 0 4px #ffffff, 0 0 7px rgba(255, 255, 255, .85);
                z-index: 2;
            }


/* =========================================================
   WAVES
   ========================================================= */

.itms-assistant-orb-wave {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(75, 220, 255, .38);
    opacity: 0;
    animation: itms-wave 3.2s ease-out infinite;
}

    .itms-assistant-orb-wave:nth-child(2) {
        animation-delay: 1.05s;
    }

    .itms-assistant-orb-wave:nth-child(3) {
        animation-delay: 2.1s;
    }


/* =========================================================
   SEARCHING
   ========================================================= */

.itms-assistant-panel.itms-assistant-searching
.itms-assistant-orb {
    animation: itms-orb-float-fast 1.4s ease-in-out infinite;
    box-shadow: -13px 0 0 -5px #159ee8, 13px 0 0 -5px #ff9d43, 0 10px 28px rgba(0, 0, 0, .25), inset 0 3px 7px rgba(255, 255, 255, .98), 0 0 38px rgba(39, 217, 255, .55);
}

.itms-assistant-panel.itms-assistant-searching
.itms-assistant-orb-wave {
    animation-duration: 1.2s;
}


/* =========================================================
   WELCOME TEXT
   ========================================================= */

.itms-assistant-welcome-title {
    margin: 0;
    color: #fff;
    font-size: 20px;
    font-weight: 650;
}

.itms-assistant-welcome-text {
    max-width: 270px;
    margin: 9px auto 0;
    color: var(--itms-assistant-muted);
    font-size: 12px;
    line-height: 1.6;
}


/* =========================================================
   MESSAGES
   ========================================================= */

.itms-assistant-message {
    display: flex;
    margin-bottom: 14px;
    animation: itms-message-in .3s ease both;
}

    .itms-assistant-message.assistant {
        justify-content: flex-start;
    }

    .itms-assistant-message.user {
        justify-content: flex-end;
    }

.itms-assistant-message-content {
    max-width: 82%;
    padding: 10px 13px;
    border-radius: 15px;
    color: rgba(255, 255, 255, .92);
    font-size: 12px;
    line-height: 1.55;
}

.itms-assistant-message.assistant
.itms-assistant-message-content {
    background: rgba(255, 255, 255, .065);
    border: 1px solid rgba(255, 255, 255, .065);
    border-bottom-left-radius: 5px;
}

.itms-assistant-message.user
.itms-assistant-message-content {
    background: linear-gradient( 135deg, rgba(39, 217, 255, .20), rgba(139, 92, 246, .25) );
    border: 1px solid rgba(139, 92, 246, .18);
    border-bottom-right-radius: 5px;
}


/* =========================================================
   SEARCH RESULTS
   ========================================================= */

.itms-assistant-results {
    width: 100%;
}


/* =========================================================
   RESULT
   ========================================================= */

.itms-assistant-result {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px;
    margin-bottom: 8px;
    border-radius: 13px;
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .065);
    color: #fff;
    text-align: left;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

    .itms-assistant-result:hover {
        background: rgba(255, 255, 255, .085);
        border-color: rgba(39, 217, 255, .30);
        transform: translateX(3px);
        box-shadow: 0 5px 20px rgba(0, 0, 0, .18);
    }


/* =========================================================
   RESULT ICON
   ========================================================= */

.itms-assistant-result-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient( 135deg, rgba(39, 217, 255, .20), rgba(139, 92, 246, .20) );
    font-size: 17px;
}


/* =========================================================
   RESULT INFO
   ========================================================= */

.itms-assistant-result-info {
    min-width: 0;
    flex: 1;
}

.itms-assistant-result-title {
    overflow: hidden;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.itms-assistant-result-location {
    margin-top: 3px;
    overflow: hidden;
    color: rgba(255, 255, 255, .48);
    font-size: 10px;
    white-space: nowrap;
    text-overflow: ellipsis;
}


/* =========================================================
   RESULT ARROW
   ========================================================= */

.itms-assistant-result-arrow {
    color: rgba(255, 255, 255, .35);
    font-size: 16px;
    transition: color .2s ease, transform .2s ease;
}

.itms-assistant-result:hover
.itms-assistant-result-arrow {
    color: #61e8ff;
    transform: translateX(3px);
}


/* =========================================================
   SEARCHING MESSAGE
   ========================================================= */

.itms-assistant-searching-message {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .58);
    font-size: 11px;
}

.itms-assistant-searching-dots {
    display: flex;
    gap: 3px;
}

    .itms-assistant-searching-dots span {
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: #61e8ff;
        animation: itms-dot 1.2s infinite ease-in-out;
    }

        .itms-assistant-searching-dots span:nth-child(2) {
            animation-delay: .15s;
        }

        .itms-assistant-searching-dots span:nth-child(3) {
            animation-delay: .30s;
        }


/* =========================================================
   INPUT
   ========================================================= */

.itms-assistant-input-area {
    padding: 12px 13px 14px;
    border-top: 1px solid rgba(255, 255, 255, .065);
    background: rgba(8, 11, 19, .45);
}

.itms-assistant-input-wrapper {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 5px 6px 5px 13px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .08);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

    .itms-assistant-input-wrapper:focus-within {
        background: rgba(255, 255, 255, .075);
        border-color: rgba(39, 217, 255, .40);
        box-shadow: 0 0 0 3px rgba(39, 217, 255, .08);
    }

.itms-assistant-input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    color: #fff;
    font-family: inherit;
    font-size: 12px;
}

    .itms-assistant-input::placeholder {
        color: rgba(255, 255, 255, .38);
    }


/* =========================================================
   SEARCH BUTTON
   ========================================================= */

.itms-assistant-search-button {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    outline: none;
    border-radius: 10px;
    background: linear-gradient( 135deg, #20dfff, #4facfe 45%, #8b5cf6 );
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(39, 217, 255, .20);
    transition: transform .2s ease, box-shadow .2s ease;
}

    .itms-assistant-search-button:hover {
        transform: translateY(-1px) scale(1.04);
        box-shadow: 0 6px 18px rgba(39, 217, 255, .30);
    }

    .itms-assistant-search-button:active {
        transform: scale(.94);
    }


/* =========================================================
   NO RESULTS
   ========================================================= */

.itms-assistant-no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 35px 15px;
    text-align: center;
}

.itms-assistant-no-results-icon {
    margin-bottom: 10px;
    font-size: 28px;
    opacity: .55;
}

.itms-assistant-no-results-title {
    color: rgba(255, 255, 255, .80);
    font-size: 12px;
    font-weight: 600;
}

.itms-assistant-no-results-text {
    margin-top: 5px;
    color: rgba(255, 255, 255, .40);
    font-size: 10px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 576px) {

    .itms-assistant-panel {
        position: fixed;
        top: 70px;
        right: 10px;
        left: 10px;
        width: auto;
        height: min(560px, calc(100vh - 85px));
        max-width: none;
        transform-origin: top center;
    }


    .itms-assistant-orb-wrapper {
        width: 145px;
        height: 145px;
    }


    .itms-assistant-orb-glow {
        width: 140px;
        height: 140px;
    }


    .itms-assistant-orb {
        width: 96px;
        height: 96px;
        box-shadow: -11px 0 0 -5px #159ee8, -13px 0 0 -7px rgba(39, 217, 255, .80), 11px 0 0 -5px #ff9d43, 13px 0 0 -7px rgba(255, 143, 55, .75), 0 8px 24px rgba(0, 0, 0, .25), inset 0 3px 7px rgba(255, 255, 255, .98), 0 0 23px rgba(39, 217, 255, .24);
    }


        .itms-assistant-orb::before {
            width: 67px;
            height: 46px;
        }


        .itms-assistant-orb::after {
            width: 56px;
            height: 36px;
        }


        .itms-assistant-orb
        .itms-assistant-robot-eyes {
            width: 53px;
            height: 25px;
        }


            .itms-assistant-orb
            .itms-assistant-robot-eyes span {
                width: 22px;
                height: 22px;
                border-width: 1.7px;
            }


                .itms-assistant-orb
                .itms-assistant-robot-eyes span::after {
                    width: 9px;
                    height: 9px;
                }


                .itms-assistant-orb
                .itms-assistant-robot-eyes span::before {
                    width: 5px;
                    height: 5px;
                    left: 4px;
                    top: 3px;
                }


    .itms-assistant-welcome-title {
        font-size: 18px;
    }


    .itms-assistant-welcome-text {
        font-size: 11px;
    }


    .itms-assistant-orb-wrapper::before {
        left: 30px;
        height: 41px;
    }


    .itms-assistant-orb-wrapper::after {
        right: 30px;
        height: 41px;
    }


    .itms-assistant-message-content {
        max-width: 88%;
    }


    .itms-assistant-result {
        padding: 10px;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .itms-assistant-trigger-orb,
    .itms-assistant-brand-orb,
    .itms-assistant-orb,
    .itms-assistant-orb-glow,
    .itms-assistant-orb-wave,
    .itms-assistant-searching-dots span,
    .itms-assistant-robot-eyes span {
        animation: none !important;
    }

    .itms-assistant-panel,
    .itms-assistant-result,
    .itms-assistant-message {
        transition: none !important;
        animation: none !important;
    }
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes itms-robot-float {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-2px);
    }
}


@keyframes itms-robot-active {

    0%, 100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-2px) scale(1.07);
    }
}


@keyframes itms-eye-blink {

    0%, 43%, 47%, 100% {
        transform: scaleY(1);
    }

    45% {
        transform: scaleY(.08);
    }
}


@keyframes itms-orb-float {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}


@keyframes itms-orb-float-fast {

    0%, 100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-5px) scale(1.06);
    }
}


@keyframes itms-glow {

    0%, 100% {
        transform: scale(.90);
        opacity: .55;
    }

    50% {
        transform: scale(1.12);
        opacity: .95;
    }
}


@keyframes itms-wave {

    0% {
        opacity: .55;
        transform: scale(.85);
    }

    75%, 100% {
        opacity: 0;
        transform: scale(1.65);
    }
}


@keyframes itms-message-in {

    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes itms-dot {

    0%, 60%, 100% {
        opacity: .25;
        transform: translateY(0);
    }

    30% {
        opacity: 1;
        transform: translateY(-3px);
    }
}
