#edge-geo-ai-chat-view {
    position: relative;
    transition: box-shadow 0.22s ease, border-color 0.22s ease;
    border-radius: 12px;
    border: 1px solid transparent;
}

#edge-geo-ai-chat-view[data-dash-is-loading="true"] {
    border: 1px solid rgba(66, 99, 235, 0.40);
    box-shadow: inset 0 0 0 1px rgba(66, 99, 235, 0.14);
}

#edge-geo-ai-chat-view[data-dash-is-loading="true"]::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        120deg,
        rgba(66, 99, 235, 0.08) 0%,
        rgba(255, 255, 255, 0.0) 45%,
        rgba(66, 99, 235, 0.08) 90%
    );
    animation: edge-geo-ai-chat-shimmer 1.7s ease-in-out infinite;
    pointer-events: none;
}

.chat-input-shell {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow 0.22s ease, border-color 0.22s ease;
}

.chat-input-shell.processing {
    box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.24), 0 6px 16px rgba(99, 102, 241, 0.12);
}

.chat-input-shell.processing::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(99, 102, 241, 0.00) 0%,
        rgba(99, 102, 241, 0.10) 50%,
        rgba(99, 102, 241, 0.00) 100%
    );
    animation: shell-pulse 2.2s ease-in-out infinite;
}

@keyframes shell-pulse {
    0% {
        opacity: 0.2;
        transform: translateX(-30%);
    }
    50% {
        opacity: 0.35;
        transform: translateX(0%);
    }
    100% {
        opacity: 0.2;
        transform: translateX(30%);
    }
}

@keyframes edge-geo-ai-chat-shimmer {
    0% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(100%);
    }
}
