/**
 * EQBOT Public Styles - Strict Isolation & Clean Minimalist White Studio Design
 * Developed by Nidawi Multimedia (https://www.nidawi.net) for EQRadio (www.eqradio.net)
 */

/* ==========================================================================
   CSS VARIABLES
   ========================================================================== */
:root {
    --eqbot-primary: #2b2840;
    --eqbot-secondary: #4f9fd1;
    --eqbot-accent-pink: #ec4899;
    --eqbot-bg-main: #ffffff;
    --eqbot-card-bg: #ffffff;
    --eqbot-msg-bot-bg: #f8fafc;
    --eqbot-msg-user-bg: #2b2840;
    --eqbot-text-main: #2b2840;
    --eqbot-text-muted: #64748b;
    --eqbot-border-color: #e2e8f0;
    --eqbot-border-light: #f1f5f9;
    --eqbot-shadow: 0 16px 40px -8px rgba(15, 23, 42, 0.18), 0 4px 16px -2px rgba(15, 23, 42, 0.08);
    --eqbot-radius: 16px;
    --eqbot-width: 410px;
    --eqbot-height: 640px;
    --eqbot-offset-x: 24px;
    --eqbot-offset-y: 24px;
    --eqbot-launcher-size: 56px;
    --eqbot-launcher-icon-size: 36px;
    --eqbot-launcher-font-size: 13px;
}

/* ==========================================================================
   STRICT CSS ISOLATION & RESET (Prevents WordPress Theme Style Leaks)
   ========================================================================== */
#eqbot-unified-root,
#eqbot-unified-root *,
.eqbot-wrapper,
.eqbot-wrapper * {
    box-sizing: border-box !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", Helvetica, Arial, sans-serif !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    text-shadow: none !important;
    word-break: break-word;
}

/* Universal Button Reset within EQBOT */
#eqbot-unified-root button,
.eqbot-wrapper button {
    appearance: none !important;
    -webkit-appearance: none !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: 500 !important;
    color: inherit !important;
    line-height: normal !important;
    box-shadow: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    min-width: 0 !important;
    max-width: none !important;
    width: auto;
    height: auto;
    cursor: pointer !important;
}

/* Universal Link Reset within EQBOT */
#eqbot-unified-root a,
.eqbot-wrapper a {
    text-decoration: none !important;
    color: inherit !important;
    box-shadow: none !important;
    background: transparent !important;
    border: none !important;
    transition: all 0.18s ease;
}

/* Universal Heading & Text Reset */
#eqbot-unified-root h1, #eqbot-unified-root h2, #eqbot-unified-root h3,
#eqbot-unified-root h4, #eqbot-unified-root h5, #eqbot-unified-root h6,
#eqbot-unified-root p, #eqbot-unified-root span, #eqbot-unified-root label,
.eqbot-wrapper h1, .eqbot-wrapper h2, .eqbot-wrapper h3,
.eqbot-wrapper h4, .eqbot-wrapper h5, .eqbot-wrapper h6,
.eqbot-wrapper p, .eqbot-wrapper span, .eqbot-wrapper label {
    margin: 0 !important;
    padding: 0 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

/* Custom Slim Scrollbars */
#eqbot-unified-root ::-webkit-scrollbar,
.eqbot-wrapper ::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

#eqbot-unified-root ::-webkit-scrollbar-track,
.eqbot-wrapper ::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

#eqbot-unified-root ::-webkit-scrollbar-thumb,
.eqbot-wrapper ::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

#eqbot-unified-root ::-webkit-scrollbar-thumb:hover,
.eqbot-wrapper ::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ==========================================================================
   UNIFIED DOCK CONTAINER (ANCHORED TO RIGHT CORNER)
   ========================================================================== */
.eqbot-unified-widget {
    position: fixed !important;
    bottom: var(--eqbot-offset-y) !important;
    z-index: 999999 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    pointer-events: none !important;
}

.eqbot-dock-right {
    right: var(--eqbot-offset-x) !important;
    left: auto !important;
    align-items: flex-end !important;
}

.eqbot-dock-left {
    left: var(--eqbot-offset-x) !important;
    right: auto !important;
    align-items: flex-start !important;
}

/* ==========================================================================
   UNIFIED LAUNCHER BUTTON & ANIMATIONS
   ========================================================================== */
.eqbot-unified-launcher {
    pointer-events: auto;
    cursor: pointer;
    user-select: none;
    position: relative;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Style: Pill (Modern White Capsule) */
.eqbot-launcher-pill-btn {
    position: relative;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 8px 18px 8px 10px !important;
    border-radius: 50px !important;
    background: #ffffff !important;
    color: #2b2840 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04) !important;
    border: 1.5px solid #e2e8f0 !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease !important;
}

.eqbot-launcher-pill-btn img {
    width: var(--eqbot-launcher-icon-size, 36px) !important;
    height: var(--eqbot-launcher-icon-size, 36px) !important;
    min-width: var(--eqbot-launcher-icon-size, 36px) !important;
    border-radius: 50% !important;
    display: block !important;
    object-fit: cover !important;
}

.eqbot-launcher-pill-text {
    font-size: var(--eqbot-launcher-font-size, 13px) !important;
    font-weight: 700 !important;
    color: #2b2840 !important;
    white-space: nowrap !important;
}

/* Style: Circle */
.eqbot-launcher-btn {
    position: relative;
    width: var(--eqbot-launcher-size, 56px) !important;
    height: var(--eqbot-launcher-size, 56px) !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1.5px solid #e2e8f0 !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease !important;
}

.eqbot-launcher-btn img {
    width: var(--eqbot-launcher-icon-size, 36px) !important;
    height: var(--eqbot-launcher-icon-size, 36px) !important;
    border-radius: 50% !important;
    display: block !important;
    object-fit: cover !important;
}

.eqbot-launcher-badge {
    position: absolute;
    top: -1px;
    right: -1px;
    width: 14px;
    height: 14px;
    background: #10b981;
    border: 2.5px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
    animation: eqbotBadgePulse 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes eqbotBadgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
    }
    50% {
        transform: scale(1.18);
        box-shadow: 0 0 0 5px rgba(16, 185, 129, 0);
    }
}

/* ==========================================================================
   LAUNCHER BUTTON ANIMATIONS (Visible Fluid Motion)
   ========================================================================== */

/* Default / Fallback Animation when active */
#eqbot-unified-root .eqbot-unified-launcher:not(.eqbot-anim-none) .eqbot-launcher-btn,
#eqbot-unified-root .eqbot-unified-launcher:not(.eqbot-anim-none) .eqbot-launcher-pill-btn,
#eqbot-global-launcher:not(.eqbot-anim-none) .eqbot-launcher-btn,
#eqbot-global-launcher:not(.eqbot-anim-none) .eqbot-launcher-pill-btn {
    animation: eqbotLauncherPulse 2.6s infinite ease-in-out !important;
}

/* 1. Pulse & Radar Wave with Levitating Movement */
#eqbot-unified-root .eqbot-unified-launcher.eqbot-anim-pulse .eqbot-launcher-btn,
#eqbot-unified-root .eqbot-unified-launcher.eqbot-anim-pulse .eqbot-launcher-pill-btn,
#eqbot-global-launcher.eqbot-anim-pulse .eqbot-launcher-btn,
#eqbot-global-launcher.eqbot-anim-pulse .eqbot-launcher-pill-btn,
.eqbot-anim-pulse .eqbot-launcher-btn,
.eqbot-anim-pulse .eqbot-launcher-pill-btn {
    animation: eqbotLauncherPulse 2.6s infinite ease-in-out !important;
}

@keyframes eqbotLauncherPulse {
    0%, 100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 0 0 0 rgba(2, 132, 199, 0.5);
    }
    50% {
        transform: translateY(-6px) scale(1.04);
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18), 0 0 0 12px rgba(2, 132, 199, 0);
    }
}

/* 2. Floating Levitating (Continuous Up & Down Motion) */
#eqbot-unified-root .eqbot-unified-launcher.eqbot-anim-float .eqbot-launcher-btn,
#eqbot-unified-root .eqbot-unified-launcher.eqbot-anim-float .eqbot-launcher-pill-btn,
#eqbot-global-launcher.eqbot-anim-float .eqbot-launcher-btn,
#eqbot-global-launcher.eqbot-anim-float .eqbot-launcher-pill-btn,
.eqbot-anim-float .eqbot-launcher-btn,
.eqbot-anim-float .eqbot-launcher-pill-btn {
    animation: eqbotLauncherFloat 3s infinite ease-in-out !important;
}

@keyframes eqbotLauncherFloat {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    }
    50% {
        transform: translateY(-9px);
        box-shadow: 0 18px 34px rgba(0, 0, 0, 0.20), 0 4px 12px rgba(0, 0, 0, 0.08);
    }
}

/* 3. Neon Glow (Radiant Light Halo with Movement) */
#eqbot-unified-root .eqbot-unified-launcher.eqbot-anim-glow .eqbot-launcher-btn,
#eqbot-unified-root .eqbot-unified-launcher.eqbot-anim-glow .eqbot-launcher-pill-btn,
#eqbot-global-launcher.eqbot-anim-glow .eqbot-launcher-btn,
#eqbot-global-launcher.eqbot-anim-glow .eqbot-launcher-pill-btn,
.eqbot-anim-glow .eqbot-launcher-btn,
.eqbot-anim-glow .eqbot-launcher-pill-btn {
    animation: eqbotLauncherGlow 2.4s infinite alternate ease-in-out !important;
}

@keyframes eqbotLauncherGlow {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 0 4px rgba(2, 132, 199, 0.2);
    }
    50% {
        transform: translateY(-5px);
        box-shadow: 0 14px 32px rgba(2, 132, 199, 0.45), 0 0 20px rgba(2, 132, 199, 0.65);
    }
}

/* 4. Attention Shake / Wink */
#eqbot-unified-root .eqbot-unified-launcher.eqbot-anim-attention .eqbot-launcher-btn,
#eqbot-unified-root .eqbot-unified-launcher.eqbot-anim-attention .eqbot-launcher-pill-btn,
#eqbot-global-launcher.eqbot-anim-attention .eqbot-launcher-btn,
#eqbot-global-launcher.eqbot-anim-attention .eqbot-launcher-pill-btn,
.eqbot-anim-attention .eqbot-launcher-btn,
.eqbot-anim-attention .eqbot-launcher-pill-btn {
    animation: eqbotLauncherAttention 4.5s infinite ease-in-out !important;
}

@keyframes eqbotLauncherAttention {
    0%, 75%, 100% {
        transform: scale(1) translateY(0) rotate(0deg);
    }
    80% {
        transform: scale(1.08) translateY(-6px) rotate(-4deg);
    }
    85% {
        transform: scale(1.08) translateY(-6px) rotate(4deg);
    }
    90% {
        transform: scale(1.04) translateY(-3px) rotate(-2deg);
    }
    95% {
        transform: scale(1.02) translateY(0) rotate(0deg);
    }
}

/* 5. Disable Animation when explicitly selected */
#eqbot-unified-root .eqbot-unified-launcher.eqbot-anim-none .eqbot-launcher-btn,
#eqbot-unified-root .eqbot-unified-launcher.eqbot-anim-none .eqbot-launcher-pill-btn,
#eqbot-global-launcher.eqbot-anim-none .eqbot-launcher-btn,
#eqbot-global-launcher.eqbot-anim-none .eqbot-launcher-pill-btn {
    animation: none !important;
}

/* Hover: Smooth Pause and Elevated Lift */
#eqbot-unified-root .eqbot-unified-launcher:hover .eqbot-launcher-btn,
#eqbot-unified-root .eqbot-unified-launcher:hover .eqbot-launcher-pill-btn,
#eqbot-global-launcher:hover .eqbot-launcher-btn,
#eqbot-global-launcher:hover .eqbot-launcher-pill-btn {
    animation-play-state: paused !important;
    transform: translateY(-4px) scale(1.02) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.20) !important;
    border-color: #cbd5e1 !important;
}

/* ==========================================================================
   PROACTIVE ROTATING TEASER BUBBLE
   ========================================================================== */
.eqbot-teaser-bubble {
    pointer-events: auto;
    position: relative;
    max-width: 310px;
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 32px -4px rgba(15, 23, 42, 0.16), 0 4px 12px -2px rgba(15, 23, 42, 0.08) !important;
    border: 1px solid #e2e8f0 !important;
    padding: 12px 14px !important;
    margin-bottom: 6px !important;
    cursor: pointer;
    user-select: none;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease !important;
    animation: eqbotTeaserPop 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.eqbot-teaser-bubble:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.22), 0 6px 14px -2px rgba(15, 23, 42, 0.10) !important;
}

@keyframes eqbotTeaserPop {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.eqbot-teaser-bubble-inner {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    position: relative !important;
}

.eqbot-teaser-avatar {
    flex-shrink: 0 !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}

.eqbot-teaser-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.eqbot-teaser-body {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.eqbot-teaser-header {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-bottom: 3px !important;
}

.eqbot-teaser-author {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #2b2840 !important;
    letter-spacing: 0.3px !important;
}

.eqbot-teaser-badge-live {
    font-size: 9px !important;
    font-weight: 800 !important;
    color: #059669 !important;
    background: #d1fae5 !important;
    padding: 1px 5px !important;
    border-radius: 4px !important;
    letter-spacing: 0.5px !important;
}

.eqbot-teaser-msg-container {
    min-height: 34px !important;
    display: flex !important;
    align-items: center !important;
}

.eqbot-teaser-text {
    font-size: 12.5px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
    color: #334155 !important;
    transition: opacity 0.2s ease, transform 0.2s ease !important;
    display: inline-block !important;
}

.eqbot-teaser-close {
    position: absolute !important;
    top: -4px !important;
    right: -4px !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    background: #f1f5f9 !important;
    color: #64748b !important;
    font-size: 14px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.15s ease, color 0.15s ease !important;
}

.eqbot-teaser-close:hover {
    background: #e2e8f0 !important;
    color: #2b2840 !important;
}

/* Bubble Tail */
.eqbot-teaser-tail {
    position: absolute !important;
    bottom: -6px !important;
    width: 12px !important;
    height: 12px !important;
    background: #ffffff !important;
    border-right: 1px solid #e2e8f0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    transform: rotate(45deg) !important;
}

.eqbot-dock-right .eqbot-teaser-tail {
    right: 22px !important;
}

.eqbot-dock-left .eqbot-teaser-tail {
    left: 22px !important;
}

/* Tooltip / Teaser */
.eqbot-launcher-tooltip {
    position: absolute;
    bottom: 56px;
    background: #2b2840;
    color: #ffffff;
    padding: 7px 12px;
    border-radius: 9px;
    font-size: 11.5px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all 0.25s ease;
    pointer-events: none;
}

.eqbot-launcher-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 20px;
    border-width: 6px;
    border-style: solid;
    border-color: #2b2840 transparent transparent transparent;
}

.eqbot-unified-launcher:hover .eqbot-launcher-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ==========================================================================
   MAIN CHAT CONTAINER (POPUPS ABOVE THE LAUNCHER)
   ========================================================================== */
/* ==========================================================================
   MAIN CHAT CONTAINER (POPUPS ABOVE THE LAUNCHER & INLINE MODE)
   ========================================================================== */
.eqbot-container {
    width: 390px !important;
    max-width: calc(100vw - 32px) !important;
    height: 580px !important;
    max-height: calc(100vh - 110px) !important;
    background: #ffffff !important;
    border-radius: var(--eqbot-radius) !important;
    box-shadow: var(--eqbot-shadow) !important;
    border: 1.5px solid var(--eqbot-border-color) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    pointer-events: auto !important;
    position: relative !important;
}

/* Specific Inline Mode Container Styling */
.eqbot-container.eqbot-mode-inline {
    width: 100% !important;
    max-width: 100% !important;
    height: 520px !important;
    max-height: 80vh !important;
    min-height: 420px !important;
    border-radius: 16px !important;
    border: 1.5px solid #e2e8f0 !important;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08) !important;
    margin: 16px 0 !important;
    background: #ffffff !important;
}

.eqbot-container.eqbot-mode-popup {
    display: none !important;
    transform-origin: bottom right;
}

.eqbot-container.eqbot-mode-popup.eqbot-is-open {
    display: flex !important;
    animation: eqbot-popup-in 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes eqbot-popup-in {
    0% {
        opacity: 0;
        transform: translateY(16px) scale(0.96);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.eqbot-card-wrapper {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    max-height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
    position: relative !important;
    background: #ffffff !important;
}

/* ==========================================================================
   HEADER SECTION
   ========================================================================== */
.eqbot-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 16px !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    flex-shrink: 0 !important;
    min-height: 58px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}

.eqbot-container.eqbot-mode-inline .eqbot-header {
    background: #2b2840 !important;
    border-bottom: none !important;
}

.eqbot-header-left,
.eqbot-header > div:first-child {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.eqbot-avatar-wrap,
.eqbot-header-avatar {
    position: relative !important;
    width: 36px !important;
    height: 36px !important;
    flex-shrink: 0 !important;
}

.eqbot-header-avatar img {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block !important;
    border: 1.5px solid #e2e8f0 !important;
}

.eqbot-container.eqbot-mode-inline .eqbot-header-avatar img {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.eqbot-status-indicator,
.eqbot-status-dot {
    position: absolute !important;
    bottom: -1px !important;
    right: -1px !important;
    width: 10px !important;
    height: 10px !important;
    background: #10b981 !important;
    border: 2px solid #ffffff !important;
    border-radius: 50% !important;
}

.eqbot-header-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 1px !important;
}

.eqbot-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #2b2840 !important;
    line-height: 1.2 !important;
}

.eqbot-container.eqbot-mode-inline .eqbot-title {
    color: #ffffff !important;
}

.eqbot-subtitle {
    font-size: 11px !important;
    color: #64748b !important;
    line-height: 1.2 !important;
}

.eqbot-container.eqbot-mode-inline .eqbot-subtitle {
    color: #94a3b8 !important;
}

.eqbot-header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
}

#eqbot-unified-root .eqbot-header-btn,
#eqbot-unified-root .eqbot-btn-icon,
.eqbot-wrapper .eqbot-header-btn,
.eqbot-wrapper .eqbot-btn-icon {
    width: 30px !important;
    height: 30px !important;
    border-radius: 8px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.18s ease !important;
}

.eqbot-container.eqbot-mode-inline .eqbot-btn-icon {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

#eqbot-unified-root .eqbot-header-btn:hover,
#eqbot-unified-root .eqbot-btn-icon:hover,
.eqbot-wrapper .eqbot-header-btn:hover,
.eqbot-wrapper .eqbot-btn-icon:hover {
    background: #f1f5f9 !important;
    color: #2b2840 !important;
    border-color: #cbd5e1 !important;
}

.eqbot-container.eqbot-mode-inline .eqbot-btn-icon:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
}

#eqbot-unified-root .eqbot-header-btn svg,
#eqbot-unified-root .eqbot-btn-icon svg,
.eqbot-wrapper .eqbot-header-btn svg,
.eqbot-wrapper .eqbot-btn-icon svg {
    stroke: currentColor;
    display: block;
}

/* ==========================================================================
   CHAT BODY & MESSAGE STREAM (SCROLLABLE AREA)
   ========================================================================== */
.eqbot-messages-body,
.eqbot-body {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-height: 100% !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 16px !important;
    background: #f8fafc !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.eqbot-message {
    display: flex !important;
    gap: 10px !important;
    max-width: 94% !important;
    animation: eqbot-msg-in 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

@keyframes eqbot-msg-in {
    0% {
        opacity: 0;
        transform: translateY(6px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.eqbot-message.eqbot-msg-bot,
.eqbot-message.eqbot-message-bot {
    align-self: flex-start !important;
}

.eqbot-message.eqbot-msg-user,
.eqbot-message.eqbot-message-user {
    align-self: flex-end !important;
    justify-content: flex-end !important;
    margin-left: auto !important;
    max-width: 85% !important;
}

.eqbot-message.eqbot-msg-user .eqbot-msg-content,
.eqbot-message.eqbot-message-user .eqbot-msg-content {
    align-items: flex-end !important;
    max-width: 100% !important;
}

.eqbot-msg-avatar {
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
    display: block !important;
}

.eqbot-msg-avatar img {
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    display: block !important;
    border: 1px solid #e2e8f0 !important;
}

.eqbot-msg-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    max-width: calc(100% - 40px) !important;
}

.eqbot-msg-bubble {
    padding: 12px 15px !important;
    border-radius: 14px !important;
    font-size: 13px !important;
    line-height: 1.48 !important;
    position: relative !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    display: inline-block !important;
    width: auto !important;
    max-width: 100% !important;
}

.eqbot-msg-bot .eqbot-msg-bubble,
.eqbot-message-bot .eqbot-msg-bubble {
    background: #ffffff !important;
    color: #2b2840 !important;
    border: 1.5px solid #e2e8f0 !important;
    border-top-left-radius: 4px !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04) !important;
}

.eqbot-msg-user .eqbot-msg-bubble,
.eqbot-message-user .eqbot-msg-bubble {
    background: #2b2840 !important;
    color: #ffffff !important;
    border-radius: 14px 14px 4px 14px !important;
    text-align: left !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12) !important;
}

.eqbot-msg-bubble strong {
    font-weight: 700 !important;
    color: #2b2840 !important;
}

.eqbot-msg-user .eqbot-msg-bubble strong,
.eqbot-message-user .eqbot-msg-bubble strong {
    color: #ffffff !important;
}

.eqbot-msg-bubble p {
    margin: 0 0 6px 0 !important;
}

.eqbot-msg-bubble p:last-child {
    margin-bottom: 0 !important;
}

.eqbot-msg-bubble a {
    color: #4f9fd1 !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
}

.eqbot-msg-bubble a:hover {
    color: #0369a1 !important;
}

/* Action Tiles in Welcome Message */
.eqbot-actions-group,
.eqbot-action-tiles {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
    margin-top: 8px !important;
    width: 100% !important;
}

#eqbot-unified-root .eqbot-action-btn,
.eqbot-wrapper .eqbot-action-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 6px !important;
    padding: 8px 8px !important;
    border-radius: 9px !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    line-height: 1.25 !important;
    min-height: 36px !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    color: #2b2840 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

#eqbot-unified-root .eqbot-action-btn:hover,
.eqbot-wrapper .eqbot-action-btn:hover {
    background: #2b2840 !important;
    border-color: #2b2840 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15) !important;
}

#eqbot-unified-root .eqbot-action-highlight,
.eqbot-wrapper .eqbot-action-highlight {
    background: #2b2840 !important;
    border-color: #2b2840 !important;
    color: #ffffff !important;
}

#eqbot-unified-root .eqbot-action-highlight:hover,
.eqbot-wrapper .eqbot-action-highlight:hover {
    background: #1e293b !important;
    border-color: #1e293b !important;
}

#eqbot-unified-root .eqbot-action-btn.eqbot-action-full,
.eqbot-wrapper .eqbot-action-btn.eqbot-action-full {
    grid-column: span 2 !important;
    background: #f0f9ff !important;
    border-color: #bae6fd !important;
    color: #4f9fd1 !important;
    font-weight: 700 !important;
}

#eqbot-unified-root .eqbot-action-btn.eqbot-action-full:hover,
.eqbot-wrapper .eqbot-action-btn.eqbot-action-full:hover {
    background: #4f9fd1 !important;
    border-color: #4f9fd1 !important;
    color: #ffffff !important;
}

/* WhatsApp En Vivo Action Button */
#eqbot-unified-root .eqbot-action-wa-live,
.eqbot-wrapper .eqbot-action-wa-live {
    background: #25d366 !important;
    border-color: #5fc2a0 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.22) !important;
    grid-column: span 2 !important;
}

#eqbot-unified-root .eqbot-action-wa-live:hover,
.eqbot-wrapper .eqbot-action-wa-live:hover {
    background: #1eb855 !important;
    border-color: #1eb855 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35) !important;
}

#eqbot-unified-root .eqbot-pill-wa,
.eqbot-wrapper .eqbot-pill-wa {
    background: #f0fdf4 !important;
    border-color: #86efac !important;
    color: #23775c !important;
    font-weight: 700 !important;
}

#eqbot-unified-root .eqbot-pill-wa:hover,
.eqbot-wrapper .eqbot-pill-wa:hover {
    background: #25d366 !important;
    border-color: #25d366 !important;
    color: #ffffff !important;
}

/* Pulsing Red Dot for Live Matches & Streaming Events */
.eqbot-live-pulse-dot {
    display: inline-block !important;
    width: 8px !important;
    height: 8px !important;
    background-color: #e07a92 !important;
    border-radius: 50% !important;
    margin-right: 5px !important;
    flex-shrink: 0 !important;
    box-shadow: 0 0 0 rgba(239, 68, 68, 0.6) !important;
    animation: eqbotPulse 1.8s infinite !important;
}

@keyframes eqbotPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
        transform: scale(0.95);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
        transform: scale(1.1);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
        transform: scale(0.95);
    }
}

/* Live Match / Event Broadcast Action Button */
#eqbot-unified-root .eqbot-action-live-match,
.eqbot-wrapper .eqbot-action-live-match {
    background: linear-gradient(135deg, #2b2840 0%, #1e293b 100%) !important;
    border: 1.5px solid #334155 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    grid-column: span 2 !important;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.20) !important;
}

#eqbot-unified-root .eqbot-action-live-match:hover,
.eqbot-wrapper .eqbot-action-live-match:hover {
    background: linear-gradient(135deg, #1e293b 0%, #2b2840 100%) !important;
    border-color: #4f9fd1 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.30) !important;
}

/* Live Match Pill */
#eqbot-unified-root .eqbot-pill-live-match,
.eqbot-wrapper .eqbot-pill-live-match {
    background: #fef2f2 !important;
    border-color: #fca5a5 !important;
    color: #bf5571 !important;
    font-weight: 700 !important;
}

#eqbot-unified-root .eqbot-pill-live-match:hover,
.eqbot-wrapper .eqbot-pill-live-match:hover {
    background: #e07a92 !important;
    border-color: #d0637e !important;
    color: #ffffff !important;
}

/* Social Media Action Button & Pills */
#eqbot-unified-root .eqbot-action-social,
.eqbot-wrapper .eqbot-action-social {
    background: linear-gradient(135deg, #fdf4ff 0%, #fae8ff 100%) !important;
    border: 1.5px solid #e879f9 !important;
    color: #a21caf !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(192, 38, 211, 0.15) !important;
    grid-column: span 2 !important;
}

#eqbot-unified-root .eqbot-action-social:hover,
.eqbot-wrapper .eqbot-action-social:hover {
    background: linear-gradient(135deg, #c026d3 0%, #9333ea 100%) !important;
    border-color: #c026d3 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 14px rgba(192, 38, 211, 0.35) !important;
}

#eqbot-unified-root .eqbot-pill-social,
.eqbot-wrapper .eqbot-pill-social {
    background: #fdf4ff !important;
    border-color: #f0abfc !important;
    color: #a21caf !important;
    font-weight: 700 !important;
}

#eqbot-unified-root .eqbot-pill-social:hover,
.eqbot-wrapper .eqbot-pill-social:hover {
    background: #c026d3 !important;
    border-color: #c026d3 !important;
    color: #ffffff !important;
}

#eqbot-unified-root .eqbot-pill-instagram,
.eqbot-wrapper .eqbot-pill-instagram {
    background: #fff1f2 !important;
    border-color: #fecdd3 !important;
    color: #e11d48 !important;
    font-weight: 700 !important;
}

#eqbot-unified-root .eqbot-pill-instagram:hover,
.eqbot-wrapper .eqbot-pill-instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important;
    border-color: #e11d48 !important;
    color: #ffffff !important;
}

/* Social Media Modal List & Cards (Clean 100% Fitted List - Zero Overflow) */
.eqbot-social-modal .eqbot-modal-content {
    height: 100% !important;
    max-height: 100% !important;
    overflow: hidden !important;
    padding: 14px 16px !important;
}

/* Only the platform list scrolls; header and "Volver al chat" stay pinned in view */
.eqbot-social-scroll {
    flex: 1 !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

.eqbot-modal-back-wrap {
    flex-shrink: 0 !important;
    margin-top: 14px !important;
    padding-top: 10px !important;
    border-top: 1px solid #f1f5f9 !important;
    text-align: center !important;
}

.eqbot-social-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 7px !important;
    margin-top: 6px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.eqbot-social-card {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding: 9px 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 11px !important;
    text-decoration: none !important;
    color: #2b2840 !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
    overflow: hidden !important;
}

.eqbot-social-card:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08) !important;
}

.eqbot-social-icon {
    font-size: 22px !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
}

.eqbot-social-info {
    flex: 1 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1px !important;
}

.eqbot-social-info strong {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #2b2840 !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.eqbot-social-info span {
    font-size: 11px !important;
    color: #64748b !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.eqbot-social-arrow {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    padding: 3px 8px !important;
    background: #f1f5f9 !important;
    border-radius: 6px !important;
    border: 1px solid #e2e8f0 !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
    transition: all 0.2s ease !important;
}

.eqbot-social-card:hover .eqbot-social-arrow {
    color: #4f9fd1 !important;
    background: #e0f2fe !important;
    border-color: #bae6fd !important;
    transform: translate(1px, -1px) !important;
}

.eqbot-social-card.eqbot-social-ig:hover {
    border-color: #f43f5e !important;
    background: #fff1f2 !important;
}
.eqbot-social-card.eqbot-social-tt:hover {
    border-color: #2b2840 !important;
    background: #f8fafc !important;
}
.eqbot-social-card.eqbot-social-yt:hover {
    border-color: #e07a92 !important;
    background: #fef2f2 !important;
}
.eqbot-social-card.eqbot-social-tw:hover {
    border-color: #a855f7 !important;
    background: #faf5ff !important;
}
.eqbot-social-card.eqbot-social-fb:hover {
    border-color: #3b82f6 !important;
    background: #eff6ff !important;
}
.eqbot-social-card.eqbot-social-iv:hover {
    border-color: #f97316 !important;
    background: #fff7ed !important;
}
.eqbot-social-card.eqbot-social-x:hover {
    border-color: #2b2840 !important;
    background: #f8fafc !important;
}
.eqbot-social-card.eqbot-social-sp:hover {
    border-color: #5fc2a0 !important;
    background: #f0fdf4 !important;
}
.eqbot-social-card.eqbot-social-web:hover {
    border-color: #4f9fd1 !important;
    background: #f0f9ff !important;
}

/* In-text Links & Quick Access Pill Badges */
#eqbot-unified-root a.eqbot-link,
.eqbot-wrapper a.eqbot-link {
    color: #4f9fd1 !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
    transition: all 0.15s ease !important;
}

#eqbot-unified-root a.eqbot-link:hover,
.eqbot-wrapper a.eqbot-link:hover {
    color: #0369a1 !important;
}

#eqbot-unified-root a.eqbot-quick-link,
.eqbot-wrapper a.eqbot-quick-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    background: #f0f9ff !important;
    border: 1px solid #bae6fd !important;
    color: #0369a1 !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    margin: 3px 0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.18s ease !important;
}

#eqbot-unified-root a.eqbot-quick-link:hover,
.eqbot-wrapper a.eqbot-quick-link:hover {
    background: #e0f2fe !important;
    border-color: #7dd3fc !important;
    color: #4f9fd1 !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(2, 132, 199, 0.15) !important;
}

/* ==========================================================================
   QUICK NAVIGATION PILLS (CAROUSEL)
   ========================================================================== */
.eqbot-quick-queries {
    padding: 8px 14px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.eqbot-pills-scroll {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
}

.eqbot-pills-scroll::-webkit-scrollbar {
    display: none;
}

#eqbot-unified-root .eqbot-pill-btn,
.eqbot-wrapper .eqbot-pill-btn {
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    gap: 5px !important;
    padding: 5px 12px !important;
    border-radius: 20px !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #334155 !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.18s ease !important;
    flex-shrink: 0 !important;
}

#eqbot-unified-root .eqbot-pill-btn:hover,
.eqbot-wrapper .eqbot-pill-btn:hover {
    background: #2b2840 !important;
    color: #ffffff !important;
    border-color: #2b2840 !important;
}

/* Typing Indicator */
.eqbot-typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    width: fit-content;
    margin: 0 16px 8px 16px;
}

.eqbot-dot {
    width: 6px;
    height: 6px;
    background: #94a3b8;
    border-radius: 50%;
    animation: eqbot-bounce 1.3s infinite ease-in-out;
}

.eqbot-dot:nth-child(2) { animation-delay: 0.15s; }
.eqbot-dot:nth-child(3) { animation-delay: 0.3s; }

@keyframes eqbot-bounce {
    0%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-4px); }
}

/* ==========================================================================
   INPUT FOOTER
   ========================================================================== */
.eqbot-footer {
    padding: 10px 14px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.eqbot-chat-form {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 28px;
    padding: 4px 6px 4px 14px;
    transition: all 0.2s ease;
}

.eqbot-chat-form:focus-within {
    border-color: #2b2840;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.06);
}

.eqbot-input-field {
    flex: 1;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    font-size: 13px !important;
    color: #2b2840 !important;
    padding: 6px 0 !important;
    box-shadow: none !important;
}

.eqbot-input-field::placeholder {
    color: #94a3b8;
}

#eqbot-unified-root .eqbot-send-btn,
.eqbot-wrapper .eqbot-send-btn {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: #2b2840 !important;
    border: none !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.18s ease !important;
    flex-shrink: 0 !important;
}

#eqbot-unified-root .eqbot-send-btn:hover,
.eqbot-wrapper .eqbot-send-btn:hover {
    background: #1e293b !important;
    transform: scale(1.05) !important;
}

#eqbot-unified-root .eqbot-send-btn svg,
.eqbot-wrapper .eqbot-send-btn svg {
    display: block;
    stroke: #ffffff;
}

/* ==========================================================================
   MODAL WINDOWS & FORMS (ADAPTIVE & SEAMLESSLY INTEGRATED INTO CHAT BUBBLE)
   ========================================================================== */
.eqbot-modal-window {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: #ffffff !important;
    z-index: 95 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    display: none !important;
    flex-direction: column !important;
    border-radius: inherit !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

.eqbot-modal-window.eqbot-modal-active {
    display: flex !important;
    pointer-events: auto !important;
    animation: eqbot-modal-slide 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes eqbot-modal-slide {
    from { 
        opacity: 0; 
        transform: translateY(14px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.eqbot-modal-content {
    background: #ffffff !important;
    border-radius: inherit !important;
    padding: 12px 14px 14px 14px !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    overflow-y: auto !important;
    box-shadow: none !important;
    border: none !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
}

.eqbot-modal-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 8px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding-bottom: 8px !important;
    flex-shrink: 0 !important;
}

.eqbot-modal-header h4 {
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #2b2840 !important;
    line-height: 1.25 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

#eqbot-unified-root .eqbot-modal-close,
.eqbot-wrapper .eqbot-modal-close {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    border-radius: 50% !important;
    background: #f1f5f9 !important;
    border: 1.5px solid #e2e8f0 !important;
    color: #475569 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    line-height: 1 !important;
    padding: 0 !important;
    transition: all 0.15s ease !important;
    flex-shrink: 0 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

#eqbot-unified-root .eqbot-modal-close:hover,
.eqbot-wrapper .eqbot-modal-close:hover {
    background: #2b2840 !important;
    color: #ffffff !important;
    border-color: #2b2840 !important;
    transform: scale(1.05) !important;
}

#eqbot-unified-root .eqbot-modal-back-btn,
.eqbot-wrapper .eqbot-modal-back-btn {
    width: 100% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 10px 16px !important;
    background: #f8fafc !important;
    color: #334155 !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
}

#eqbot-unified-root .eqbot-modal-back-btn:hover,
.eqbot-wrapper .eqbot-modal-back-btn:hover {
    background: #2b2840 !important;
    color: #ffffff !important;
    border-color: #2b2840 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12) !important;
}

.eqbot-modal-desc {
    font-size: 11px !important;
    color: #64748b !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.35 !important;
    flex-shrink: 0 !important;
}

/* Forms inside Modals */
.eqbot-modal-content form {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    overflow-y: auto !important;
    padding-right: 2px !important;
    box-sizing: border-box !important;
}

.eqbot-form-row {
    display: flex !important;
    gap: 7px !important;
    width: 100% !important;
    margin-bottom: 6px !important;
}

.eqbot-form-row .eqbot-form-group {
    flex: 1 !important;
    margin-bottom: 0 !important;
}

.eqbot-form-group {
    margin-bottom: 6px !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.eqbot-form-group label {
    display: block !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    margin-bottom: 3px !important;
    color: #334155 !important;
    line-height: 1.2 !important;
}

.eqbot-form-group input,
.eqbot-form-group select,
.eqbot-form-group textarea {
    width: 100% !important;
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #2b2840 !important;
    padding: 6px 9px !important;
    border-radius: 7px !important;
    font-size: 12px !important;
    outline: none !important;
    box-shadow: none !important;
    line-height: 1.3 !important;
    box-sizing: border-box !important;
    height: 32px !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

.eqbot-form-group textarea {
    height: 52px !important;
    min-height: 52px !important;
    resize: vertical !important;
}

.eqbot-form-group input:focus,
.eqbot-form-group select:focus,
.eqbot-form-group textarea:focus {
    background: #ffffff !important;
    border-color: #4f9fd1 !important;
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.12) !important;
}

/* Novedades y Ofertas opt-in checkbox (booking, project & contact forms) */
#eqbot-unified-root .eqbot-newsletter-optin,
.eqbot-wrapper .eqbot-newsletter-optin {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    background: #fff7ed !important;
    border: 1px solid #fed7aa !important;
    border-radius: 8px !important;
    padding: 7px 9px !important;
    margin-top: auto !important;
    margin-bottom: 8px !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
}

#eqbot-unified-root .eqbot-newsletter-optin input[type="checkbox"],
.eqbot-wrapper .eqbot-newsletter-optin input[type="checkbox"] {
    width: 15px !important;
    height: 15px !important;
    min-width: 15px !important;
    accent-color: #2b2840 !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
}

#eqbot-unified-root .eqbot-newsletter-optin span,
.eqbot-wrapper .eqbot-newsletter-optin span {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #7c2d12 !important;
    line-height: 1.3 !important;
}

/* The submit button sits directly under the opt-in row without its own auto-margin gap */
#eqbot-unified-root .eqbot-newsletter-optin + .eqbot-btn-submit-action,
.eqbot-wrapper .eqbot-newsletter-optin + .eqbot-btn-submit-action {
    margin-top: 0 !important;
}

#eqbot-unified-root .eqbot-btn-submit-action,
.eqbot-wrapper .eqbot-btn-submit-action {
    width: 100% !important;
    background: #2b2840 !important;
    border: none !important;
    color: #ffffff !important;
    padding: 9px 12px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    margin-top: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    min-height: 36px !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15) !important;
    flex-shrink: 0 !important;
}

#eqbot-unified-root .eqbot-btn-submit-action:hover,
.eqbot-wrapper .eqbot-btn-submit-action:hover {
    background: #4f9fd1 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25) !important;
}

/* Responsive adjustment for small chat containers */
@media (max-width: 360px) {
    .eqbot-form-row {
        flex-direction: column !important;
        gap: 6px !important;
    }
}

/* ==========================================================================
   GRILLA & STREAMING MODAL STYLES (CLEAN, AIRY & COMPACT)
   ========================================================================== */
.eqbot-grilla-modal-content {
    padding: 12px 14px 14px 14px !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

/* Streams Switcher Bar - Compact 4-Column Layout */
.eqbot-grilla-streams-bar {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 4px !important;
    margin-bottom: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
}

#eqbot-unified-root .eqbot-stream-pill,
.eqbot-wrapper .eqbot-stream-pill {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    padding: 5px 3px !important;
    border-radius: 6px !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    text-decoration: none !important;
    transition: all 0.18s ease !important;
    text-align: center !important;
    white-space: nowrap !important;
}

#eqbot-unified-root .eqbot-stream-pill:hover,
.eqbot-wrapper .eqbot-stream-pill:hover {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #4f9fd1 !important;
}

#eqbot-unified-root .eqbot-stream-pill.eqbot-stream-yt:hover,
.eqbot-wrapper .eqbot-stream-pill.eqbot-stream-yt:hover {
    border-color: #fca5a5 !important;
    color: #d0637e !important;
}

#eqbot-unified-root .eqbot-stream-pill.eqbot-stream-tw:hover,
.eqbot-wrapper .eqbot-stream-pill.eqbot-stream-tw:hover {
    border-color: #d8b4fe !important;
    color: #7e22ce !important;
}

/* Day Tabs Segmented Bar */
.eqbot-day-tabs {
    display: flex !important;
    gap: 4px !important;
    overflow-x: auto !important;
    padding: 4px !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    margin-bottom: 8px !important;
    scrollbar-width: none !important;
    flex-shrink: 0 !important;
    -webkit-overflow-scrolling: touch !important;
}

.eqbot-day-tabs::-webkit-scrollbar {
    display: none !important;
}

#eqbot-unified-root .eqbot-day-tab,
.eqbot-wrapper .eqbot-day-tab {
    flex: 1 0 auto !important;
    background: transparent !important;
    border: none !important;
    color: #64748b !important;
    padding: 5px 9px !important;
    border-radius: 6px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    transition: all 0.18s ease !important;
    text-align: center !important;
}

#eqbot-unified-root .eqbot-day-tab:hover,
.eqbot-wrapper .eqbot-day-tab:hover {
    background: #e2e8f0 !important;
    color: #2b2840 !important;
}

#eqbot-unified-root .eqbot-day-tab.active,
.eqbot-wrapper .eqbot-day-tab.active {
    background: #2b2840 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12) !important;
}

/* Program Cards Container */
.eqbot-grilla-panels {
    flex: 1 !important;
    overflow-y: auto !important;
    padding-right: 2px !important;
    min-height: 0 !important;
}

.eqbot-program-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 9px !important;
    padding: 10px 12px !important;
    margin-bottom: 8px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.2s ease !important;
}

.eqbot-program-card:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

/* Available Slots Special Card */
.eqbot-program-card.eqbot-card-available {
    background: #f0fdf4 !important;
    border: 1px solid #bbf7d0 !important;
}

.eqbot-prog-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 4px !important;
}

.eqbot-prog-time {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #4f9fd1 !important;
}

.eqbot-prog-genre {
    font-size: 10px !important;
    background: #f1f5f9 !important;
    color: #475569 !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
}

.eqbot-badge-free {
    font-size: 10px !important;
    background: #dcfce7 !important;
    color: #166534 !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
}

.eqbot-prog-title {
    margin: 0 0 2px 0 !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: #2b2840 !important;
    line-height: 1.3 !important;
}

.eqbot-prog-desc {
    margin: 0 0 7px 0 !important;
    font-size: 11px !important;
    line-height: 1.38 !important;
    color: #64748b !important;
}

.eqbot-prog-actions {
    display: flex !important;
    gap: 5px !important;
}

#eqbot-unified-root .eqbot-btn-mini,
.eqbot-wrapper .eqbot-btn-mini {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    padding: 4px 8px !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    background: #f8fafc !important;
    color: #334155 !important;
    border: 1px solid #e2e8f0 !important;
    transition: all 0.18s ease !important;
}

#eqbot-unified-root .eqbot-btn-mini:hover,
.eqbot-wrapper .eqbot-btn-mini:hover {
    background: #f1f5f9 !important;
    color: #2b2840 !important;
    border-color: #cbd5e1 !important;
}

#eqbot-unified-root .eqbot-btn-mini-primary,
.eqbot-wrapper .eqbot-btn-mini-primary {
    background: #2b2840 !important;
    border-color: #2b2840 !important;
    color: #ffffff !important;
}

#eqbot-unified-root .eqbot-btn-mini-primary:hover,
.eqbot-wrapper .eqbot-btn-mini-primary:hover {
    background: #1e293b !important;
    color: #ffffff !important;
}

/* Dedicated Claim Slot Button (Compact, Elegant, Non-Squished) */
#eqbot-unified-root .eqbot-btn-claim-slot,
.eqbot-wrapper .eqbot-btn-claim-slot {
    width: 100% !important;
    background: #4f9fd1 !important;
    border: none !important;
    color: #ffffff !important;
    cursor: pointer !important;
    padding: 6px 10px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    transition: all 0.18s ease !important;
    box-shadow: 0 1px 3px rgba(2, 132, 199, 0.25) !important;
}

#eqbot-unified-root .eqbot-btn-claim-slot:hover,
.eqbot-wrapper .eqbot-btn-claim-slot:hover {
    background: #0369a1 !important;
    transform: translateY(-1px) !important;
}

/* ==========================================================================
   ADVANCED MOBILE & RESPONSIVE DESIGN (PROLIJO, CONSERVADO & CLEAN)
   ========================================================================== */

/* Tablets and small desktops */
@media (max-width: 768px) {
    .eqbot-container {
        max-height: calc(100vh - 80px) !important;
    }

    .eqbot-teaser-bubble {
        max-width: min(320px, calc(100vw - 32px)) !important;
    }
}

/* Standard Mobile Devices */
@media (max-width: 640px) {
    body.eqbot-mobile-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
        height: 100% !important;
        touch-action: none;
    }

    /* Fixed Clean Widget Placement (Elevated on mobile to clear sticky radio players) */
    .eqbot-unified-widget {
        bottom: max(80px, calc(env(safe-area-inset-bottom, 0px) + 70px)) !important;
        right: 16px !important;
        left: auto !important;
        width: auto !important;
        gap: 8px !important;
    }

    .eqbot-dock-left {
        left: 16px !important;
        right: auto !important;
    }

    /* Inline Chat Mode on Mobile: Perfectly Centered & Contained */
    .eqbot-container.eqbot-mode-inline {
        width: 100% !important;
        max-width: 100% !important;
        height: 480px !important;
        max-height: calc(100dvh - 120px) !important;
        min-height: 380px !important;
        margin: 14px auto !important;
        border-radius: 16px !important;
        border: 1.5px solid #e2e8f0 !important;
        box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.10) !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
    }

    /* True Fullscreen Modal Overlay on Mobile for Popup Mode */
    html.eqbot-mobile-open,
    body.eqbot-mobile-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
        height: 100% !important;
        touch-action: none !important;
    }

    .eqbot-popup-unified-container {
        position: static;
    }

    body.eqbot-mobile-open .eqbot-popup-unified-container,
    .eqbot-unified-widget:has(.eqbot-is-open) .eqbot-popup-unified-container {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100% !important;
        height: 100dvh !important;
        background: #ffffff !important;
        display: flex !important;
        align-items: stretch !important;
        justify-content: stretch !important;
        z-index: 99999999 !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    .eqbot-container.eqbot-mode-popup.eqbot-is-open {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        height: 100% !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
        z-index: 99999999 !important;
        margin: 0 !important;
        background: #ffffff !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
        animation: eqbot-popup-mobile-in 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    }

    @keyframes eqbot-popup-mobile-in {
        0% {
            opacity: 0;
            transform: translateY(14px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .eqbot-container.eqbot-mode-popup .eqbot-card-wrapper {
        border-radius: 0 !important;
        border: none !important;
        height: 100% !important;
        max-height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
        background: #ffffff !important;
    }

    /* Hide launcher & teaser completely when chat is open on mobile */
    body.eqbot-mobile-open .eqbot-unified-launcher,
    body.eqbot-mobile-open .eqbot-teaser-bubble,
    .eqbot-unified-widget:has(.eqbot-is-open) .eqbot-unified-launcher,
    .eqbot-unified-widget:has(.eqbot-is-open) .eqbot-teaser-bubble,
    #eqbot-unified-root:has(.eqbot-is-open) #eqbot-global-launcher,
    #eqbot-unified-root:has(.eqbot-is-open) #eqbot-teaser-bubble {
        display: none !important;
        opacity: 0 !important;
        pointer-events: none !important;
        visibility: hidden !important;
    }

    /* Fullscreen Mobile Header with Safe Area */
    .eqbot-header {
        position: relative !important;
        z-index: 10 !important;
        flex-shrink: 0 !important;
        background: #ffffff !important;
        border-bottom: 1px solid #e2e8f0 !important;
        padding: 10px 14px !important;
        padding-top: max(10px, env(safe-area-inset-top, 10px)) !important;
        min-height: 54px !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .eqbot-header-avatar,
    .eqbot-header-avatar img {
        width: 36px !important;
        height: 36px !important;
    }

    .eqbot-title {
        font-size: 14px !important;
        font-weight: 700 !important;
    }

    .eqbot-subtitle {
        font-size: 11px !important;
    }

    #eqbot-unified-root .eqbot-header-actions,
    .eqbot-wrapper .eqbot-header-actions {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

    #eqbot-unified-root .eqbot-btn-icon,
    .eqbot-wrapper .eqbot-btn-icon {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        border-radius: 8px !important;
        background: #f1f5f9 !important;
        border: 1px solid #e2e8f0 !important;
        color: #2b2840 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
    }

    #eqbot-unified-root .eqbot-btn-close,
    .eqbot-wrapper .eqbot-btn-close {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        border-radius: 50% !important;
        background: #f1f5f9 !important;
        border: 1.5px solid #cbd5e1 !important;
        color: #2b2840 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        transition: all 0.15s ease !important;
    }

    #eqbot-unified-root .eqbot-btn-close:active,
    .eqbot-wrapper .eqbot-btn-close:active {
        background: #2b2840 !important;
        color: #ffffff !important;
        border-color: #2b2840 !important;
    }

    /* Messages Stream on Mobile */
    .eqbot-messages-body,
    .eqbot-body {
        flex: 1 1 auto !important;
        min-height: 0 !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        overscroll-behavior: contain !important;
        padding: 12px 14px 14px 14px !important;
        background: #f8fafc !important;
        gap: 10px !important;
    }

    .eqbot-message {
        max-width: 95% !important;
        gap: 6px !important;
    }

    .eqbot-message.eqbot-msg-user,
    .eqbot-message.eqbot-message-user {
        max-width: 88% !important;
    }

    .eqbot-msg-avatar,
    .eqbot-msg-avatar img {
        width: 28px !important;
        height: 28px !important;
    }

    .eqbot-msg-content {
        max-width: calc(100% - 34px) !important;
        gap: 4px !important;
    }

    .eqbot-msg-bubble {
        padding: 11px 13px !important;
        font-size: 13px !important;
        line-height: 1.45 !important;
        border-radius: 12px !important;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
    }

    /* Action Tiles inside Message on Mobile */
    .eqbot-actions-group,
    .eqbot-action-tiles {
        grid-template-columns: 1fr 1fr !important;
        gap: 6px !important;
        margin-top: 8px !important;
    }

    #eqbot-unified-root .eqbot-action-btn,
    .eqbot-wrapper .eqbot-action-btn {
        padding: 8px 6px !important;
        font-size: 11.5px !important;
        font-weight: 600 !important;
        border-radius: 8px !important;
        line-height: 1.25 !important;
        min-height: 36px !important;
        gap: 4px !important;
    }

    #eqbot-unified-root .eqbot-action-btn.eqbot-action-full,
    .eqbot-wrapper .eqbot-action-btn.eqbot-action-full {
        grid-column: span 2 !important;
        padding: 9px 8px !important;
    }

    #eqbot-unified-root .eqbot-action-wa-live,
    .eqbot-wrapper .eqbot-action-wa-live {
        grid-column: span 2 !important;
        background: #25d366 !important;
        border-color: #5fc2a0 !important;
        color: #ffffff !important;
        font-weight: 700 !important;
        padding: 9px 8px !important;
    }

    /* Quick Queries Bar on Mobile */
    .eqbot-quick-queries {
        flex-shrink: 0 !important;
        background: #ffffff !important;
        border-top: 1px solid #e2e8f0 !important;
        padding: 6px 12px !important;
    }

    .eqbot-pills-scroll {
        gap: 6px !important;
    }

    #eqbot-unified-root .eqbot-pill-btn,
    .eqbot-wrapper .eqbot-pill-btn {
        padding: 5px 10px !important;
        font-size: 11px !important;
        border-radius: 16px !important;
    }

    /* Input Footer on Mobile */
    .eqbot-footer {
        flex-shrink: 0 !important;
        background: #ffffff !important;
        border-top: 1px solid #e2e8f0 !important;
        padding: 8px 12px !important;
        padding-bottom: max(8px, env(safe-area-inset-bottom, 8px)) !important;
    }

    .eqbot-chat-form {
        padding: 3px 5px 3px 12px !important;
        border-radius: 24px !important;
        gap: 6px !important;
        min-height: 40px !important;
    }

    /* 16px prevents iOS Safari / Android Chrome automatic zoom on input focus! */
    .eqbot-input-field {
        font-size: 16px !important;
        padding: 6px 0 !important;
    }

    #eqbot-unified-root .eqbot-send-btn,
    .eqbot-wrapper .eqbot-send-btn {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
    }

    /* Floating Launcher on Mobile (when closed) */
    .eqbot-unified-launcher {
        margin: 0 !important;
    }

    .eqbot-launcher-pill-btn {
        padding: 6px 14px 6px 8px !important;
        border-radius: 40px !important;
        gap: 8px !important;
        max-width: calc(100vw - 32px) !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18) !important;
    }

    .eqbot-launcher-pill-btn img {
        width: min(var(--eqbot-launcher-icon-size, 32px), 48px) !important;
        height: min(var(--eqbot-launcher-icon-size, 32px), 48px) !important;
        min-width: min(var(--eqbot-launcher-icon-size, 32px), 48px) !important;
    }

    .eqbot-launcher-pill-text {
        font-size: min(var(--eqbot-launcher-font-size, 13px), 15px) !important;
        font-weight: 700 !important;
    }

    .eqbot-launcher-btn {
        width: min(var(--eqbot-launcher-size, 54px), 68px) !important;
        height: min(var(--eqbot-launcher-size, 54px), 68px) !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18) !important;
    }

    .eqbot-launcher-btn img {
        width: min(var(--eqbot-launcher-icon-size, 34px), 48px) !important;
        height: min(var(--eqbot-launcher-icon-size, 34px), 48px) !important;
    }

    .eqbot-teaser-bubble {
        max-width: min(300px, calc(100vw - 32px)) !important;
        padding: 9px 12px !important;
        margin-bottom: 6px !important;
        border-radius: 14px !important;
    }
}

/* Extra Small Screens (<= 375px) */
@media (max-width: 375px) {
    #eqbot-unified-root .eqbot-action-btn,
    .eqbot-wrapper .eqbot-action-btn {
        font-size: 10.5px !important;
        padding: 7px 4px !important;
        gap: 3px !important;
    }

    .eqbot-launcher-pill-text {
        font-size: 11px !important;
    }
}

/* ==========================================================================
v1.8 — Conversación: streaming,
botones de acción,
sugerencias y reintento
   Todo va con alcance .eqbot-container + !important para que el tema no
   pise los estilos de <button>.
   ========================================================================== */
.eqbot-container .eqbot-message-enter {
    animation: eqbot-msg-in 0.22s ease-out both;
}

@keyframes eqbot-msg-in {
from { opacity: 0; transform: translateY(6px); }
to { opacity: 1; transform: translateY(0); }
}

#eqbot-unified-root .eqbot-fade-in,
.eqbot-wrapper .eqbot-fade-in {
    animation: eqbot-fade-in 0.3s ease-out both;
}

@keyframes eqbot-fade-in {
from { opacity: 0; transform: translateY(4px); }
to { opacity: 1; transform: translateY(0); }
}

/* --- Burbuja del bot: lectura cómoda --- */
#eqbot-unified-root .eqbot-message-bot .eqbot-msg-bubble,
.eqbot-wrapper .eqbot-message-bot .eqbot-msg-bubble {
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    padding: 13px 16px !important;
}

#eqbot-unified-root .eqbot-message-bot .eqbot-msg-bubble strong,
.eqbot-wrapper .eqbot-message-bot .eqbot-msg-bubble strong {
    color: #2b2840 !important;
}

#eqbot-unified-root .eqbot-message-bot .eqbot-msg-bubble em,
.eqbot-wrapper .eqbot-message-bot .eqbot-msg-bubble em {
    color: #475569 !important;
}

#eqbot-unified-root .eqbot-msg-bubble a.eqbot-link,
.eqbot-wrapper .eqbot-msg-bubble a.eqbot-link {
    color: var(--eqbot-secondary, #4f9fd1) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(2, 132, 199, 0.35) !important;
}

#eqbot-unified-root .eqbot-msg-bubble a.eqbot-link:hover,
.eqbot-wrapper .eqbot-msg-bubble a.eqbot-link:hover {
    border-bottom-color: currentColor !important;
}

/* --- Escribiendo… / cursor de streaming --- */
#eqbot-unified-root .eqbot-inline-typing,
.eqbot-wrapper .eqbot-inline-typing {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    height: 18px !important;
    padding: 0 2px !important;
}

#eqbot-unified-root .eqbot-message-pending .eqbot-msg-bubble,
.eqbot-wrapper .eqbot-message-pending .eqbot-msg-bubble {
    padding: 11px 15px !important;
}

#eqbot-unified-root .eqbot-caret,
.eqbot-wrapper .eqbot-caret {
    display: inline-block !important;
    width: 7px !important;
    height: 14px !important;
    margin-left: 2px !important;
    vertical-align: -2px !important;
    background: var(--eqbot-secondary, #4f9fd1) !important;
    border-radius: 2px !important;
    animation: eqbot-caret-blink 0.9s steps(2, start) infinite;
}

@keyframes eqbot-caret-blink {
to { visibility: hidden; }
}

/* --- Botones de acción dentro de una respuesta: una columna, claros --- */
#eqbot-unified-root .eqbot-message-enter .eqbot-msg-content > .eqbot-actions-group,
.eqbot-wrapper .eqbot-message-enter .eqbot-msg-content > .eqbot-actions-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    margin-top: 2px !important;
    width: 100% !important;
}

#eqbot-unified-root .eqbot-message-enter .eqbot-msg-content > .eqbot-actions-group .eqbot-action-btn,
.eqbot-wrapper .eqbot-message-enter .eqbot-msg-content > .eqbot-actions-group .eqbot-action-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    width: 100% !important;
    min-height: 40px !important;
    padding: 10px 14px !important;
    border-radius: 10px !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    text-align: left !important;
    text-decoration: none !important;
    background: #ffffff !important;
    color: #2b2840 !important;
    border: 1.5px solid #e2e8f0 !important;
    box-shadow: none !important;
    transform: none !important;
    cursor: pointer !important;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease !important;
}

#eqbot-unified-root .eqbot-message-enter .eqbot-msg-content > .eqbot-actions-group .eqbot-action-btn::after,
.eqbot-wrapper .eqbot-message-enter .eqbot-msg-content > .eqbot-actions-group .eqbot-action-btn::after {
    content: "›" !important;
    font-size: 18px !important;
    line-height: 1 !important;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    position: static !important;
    color: inherit !important;
    font-weight: 700 !important;
    opacity: 0.55 !important;
    flex-shrink: 0 !important;
}

#eqbot-unified-root .eqbot-message-enter .eqbot-msg-content > .eqbot-actions-group a.eqbot-action-btn::after,
.eqbot-wrapper .eqbot-message-enter .eqbot-msg-content > .eqbot-actions-group a.eqbot-action-btn::after {
    content: "↗" !important;
    font-size: 13px !important;
}

#eqbot-unified-root .eqbot-message-enter .eqbot-msg-content > .eqbot-actions-group .eqbot-action-btn:hover,
.eqbot-wrapper .eqbot-message-enter .eqbot-msg-content > .eqbot-actions-group .eqbot-action-btn:hover {
    border-color: var(--eqbot-secondary, #4f9fd1) !important;
    color: var(--eqbot-secondary, #4f9fd1) !important;
    background: #f8fafc !important;
}

/* El paso siguiente (formulario) se destaca */
#eqbot-unified-root .eqbot-message-enter .eqbot-msg-content > .eqbot-actions-group .eqbot-action-form.eqbot-action-primary,
.eqbot-wrapper .eqbot-message-enter .eqbot-msg-content > .eqbot-actions-group .eqbot-action-form.eqbot-action-primary {
    background: var(--eqbot-primary, #2b2840) !important;
    border-color: var(--eqbot-primary, #2b2840) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.16) !important;
}

#eqbot-unified-root .eqbot-message-enter .eqbot-msg-content > .eqbot-actions-group .eqbot-action-form.eqbot-action-primary::after,
.eqbot-wrapper .eqbot-message-enter .eqbot-msg-content > .eqbot-actions-group .eqbot-action-form.eqbot-action-primary::after {
    opacity: 0.9 !important;
}

#eqbot-unified-root .eqbot-message-enter .eqbot-msg-content > .eqbot-actions-group .eqbot-action-form.eqbot-action-primary:hover,
.eqbot-wrapper .eqbot-message-enter .eqbot-msg-content > .eqbot-actions-group .eqbot-action-form.eqbot-action-primary:hover {
    background: var(--eqbot-secondary, #4f9fd1) !important;
    border-color: var(--eqbot-secondary, #4f9fd1) !important;
    color: #ffffff !important;
}

#eqbot-unified-root .eqbot-message-enter .eqbot-msg-content > .eqbot-actions-group .eqbot-action-wa-live,
.eqbot-wrapper .eqbot-message-enter .eqbot-msg-content > .eqbot-actions-group .eqbot-action-wa-live,
#eqbot-unified-root .eqbot-message-enter .eqbot-msg-content > .eqbot-actions-group .eqbot-action-wa-sales,
.eqbot-wrapper .eqbot-message-enter .eqbot-msg-content > .eqbot-actions-group .eqbot-action-wa-sales {
    background: #f0fdf4 !important;
    border-color: #bbf7d0 !important;
    color: #23775c !important;
}

/* --- Sugerencias: "Seguí con…" --- */
#eqbot-unified-root .eqbot-suggestions,
.eqbot-wrapper .eqbot-suggestions {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 2px 0 6px 0 !important;
    padding: 0 0 0 40px !important;
}

#eqbot-unified-root .eqbot-suggestions::before,
.eqbot-wrapper .eqbot-suggestions::before {
    content: "Seguí con:" !important;
    flex-basis: 100% !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
    color: #94a3b8 !important;
    margin-bottom: 1px !important;
}

#eqbot-unified-root .eqbot-suggestions .eqbot-suggestion-chip,
.eqbot-wrapper .eqbot-suggestions .eqbot-suggestion-chip {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 7px 12px !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #2b2840 !important;
    font-family: inherit !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    box-shadow: none !important;
    cursor: pointer !important;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease !important;
}

#eqbot-unified-root .eqbot-suggestions .eqbot-suggestion-chip:hover,
.eqbot-wrapper .eqbot-suggestions .eqbot-suggestion-chip:hover,
#eqbot-unified-root .eqbot-suggestions .eqbot-suggestion-chip:focus-visible,
.eqbot-wrapper .eqbot-suggestions .eqbot-suggestion-chip:focus-visible {
    border-color: var(--eqbot-secondary, #4f9fd1) !important;
    background: #f0f9ff !important;
    color: var(--eqbot-secondary, #4f9fd1) !important;
    outline: none !important;
}

#eqbot-unified-root .eqbot-is-busy .eqbot-suggestion-chip,
.eqbot-wrapper.eqbot-is-busy .eqbot-suggestion-chip, .eqbot-wrapper .eqbot-is-busy .eqbot-suggestion-chip {
    pointer-events: none !important;
    opacity: 0.5 !important;
}

/* --- Error + reintentar --- */
#eqbot-unified-root .eqbot-message-error .eqbot-msg-bubble,
.eqbot-wrapper .eqbot-message-error .eqbot-msg-bubble {
    border-color: #fecaca !important;
    background: #fef2f2 !important;
    color: #9c4560 !important;
}

#eqbot-unified-root .eqbot-retry-btn,
.eqbot-wrapper .eqbot-retry-btn {
    -webkit-appearance: none !important;
    appearance: none !important;
    align-self: flex-start !important;
    margin: 0 !important;
    padding: 6px 12px !important;
    border: 1.5px solid #fecaca !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #bf5571 !important;
    font-family: inherit !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
}

#eqbot-unified-root .eqbot-retry-btn:hover,
.eqbot-wrapper .eqbot-retry-btn:hover {
    background: #fef2f2 !important;
}

/* --- Formularios: casilla de novedades bien visible --- */
#eqbot-unified-root .eqbot-newsletter-optin,
.eqbot-wrapper .eqbot-newsletter-optin {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    padding: 10px 12px !important;
    border: 1.5px dashed #bae6fd !important;
    border-radius: 10px !important;
    background: #f0f9ff !important;
    cursor: pointer !important;
}

#eqbot-unified-root .eqbot-newsletter-optin:has(input:checked),
.eqbot-wrapper .eqbot-newsletter-optin:has(input:checked) {
    border-style: solid !important;
    border-color: var(--eqbot-secondary, #4f9fd1) !important;
}

#eqbot-unified-root .eqbot-project-form input:focus,
.eqbot-wrapper .eqbot-project-form input:focus,
#eqbot-unified-root .eqbot-project-form select:focus,
.eqbot-wrapper .eqbot-project-form select:focus {
    border-color: var(--eqbot-secondary, #4f9fd1) !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12) !important;
    outline: none !important;
}

@media (max-width: 480px) {
#eqbot-unified-root .eqbot-suggestions,
.eqbot-wrapper .eqbot-suggestions {
        padding-left: 0 !important;
    }
}

@media (prefers-reduced-motion: reduce) {
#eqbot-unified-root .eqbot-message-enter,
.eqbot-wrapper .eqbot-message-enter,
#eqbot-unified-root .eqbot-fade-in,
.eqbot-wrapper .eqbot-fade-in,
#eqbot-unified-root .eqbot-caret,
.eqbot-wrapper .eqbot-caret {
        animation: none !important;
    }
}

/* Formulario: sin hueco entre los campos y la casilla de novedades */
#eqbot-unified-root .eqbot-modal-content form .eqbot-newsletter-optin,
.eqbot-wrapper .eqbot-modal-content form .eqbot-newsletter-optin {
    margin-top: 10px !important;
}

#eqbot-unified-root .eqbot-modal-content form .eqbot-btn-submit-action,
.eqbot-wrapper .eqbot-modal-content form .eqbot-btn-submit-action {
    margin-top: 10px !important;
}

/* ==========================================================================
   v1.8 — Estilo "Estudio": bienvenida simple, avisos y formularios animados
   ========================================================================== */
#eqbot-unified-root .eqbot-messages-body,
.eqbot-wrapper .eqbot-messages-body {
    background: #fbfafc !important;
    scroll-behavior: smooth;
}

#eqbot-unified-root .eqbot-header,
.eqbot-wrapper .eqbot-header {
    background: #ffffff !important;
    border-bottom: 1px solid #ebe8f0 !important;
    box-shadow: 0 6px 18px -16px rgba(20, 10, 30, 0.35) !important;
}

#eqbot-unified-root .eqbot-message-bot .eqbot-msg-bubble,
.eqbot-wrapper .eqbot-message-bot .eqbot-msg-bubble {
    border: 1px solid #ebe8f0 !important;
    border-radius: 18px 18px 18px 6px !important;
    box-shadow: 0 1px 2px rgba(20, 10, 30, 0.05) !important;
}

#eqbot-unified-root .eqbot-message-user .eqbot-msg-bubble,
.eqbot-wrapper .eqbot-message-user .eqbot-msg-bubble {
    border-radius: 18px 18px 6px 18px !important;
}

/* --- Bienvenida: evento en vivo --- */
#eqbot-unified-root .eqbot-welcome-live,
.eqbot-wrapper .eqbot-welcome-live {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 8px !important;
    padding: 10px 12px !important;
    border-radius: 12px !important;
    background: #2b2840 !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}

#eqbot-unified-root .eqbot-welcome-live:hover,
.eqbot-wrapper .eqbot-welcome-live:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 18px -10px rgba(15, 23, 42, 0.6) !important;
}

/* --- Bienvenida: 4 puntos de partida --- */
#eqbot-unified-root .eqbot-welcome-tiles,
.eqbot-wrapper .eqbot-welcome-tiles {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin-top: 8px !important;
    width: 100% !important;
}

#eqbot-unified-root .eqbot-welcome-tile,
.eqbot-wrapper .eqbot-welcome-tile {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
    width: 100% !important;
    padding: 11px 12px !important;
    border: 1px solid #ebe8f0 !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    color: #14121a !important;
    text-align: left !important;
    box-shadow: 0 1px 2px rgba(20, 10, 30, 0.04) !important;
    transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.18s ease, box-shadow 0.18s ease !important;
    animation: eqbot-tile-in 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

#eqbot-unified-root .eqbot-welcome-tile:nth-child(2), .eqbot-wrapper .eqbot-welcome-tile:nth-child(2) { animation-delay: 0.06s; }
#eqbot-unified-root .eqbot-welcome-tile:nth-child(3), .eqbot-wrapper .eqbot-welcome-tile:nth-child(3) { animation-delay: 0.12s; }
#eqbot-unified-root .eqbot-welcome-tile:nth-child(4), .eqbot-wrapper .eqbot-welcome-tile:nth-child(4) { animation-delay: 0.18s; }

@keyframes eqbot-tile-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
}

#eqbot-unified-root .eqbot-welcome-tile:hover,
#eqbot-unified-root .eqbot-welcome-tile:focus-visible,
.eqbot-wrapper .eqbot-welcome-tile:hover,
.eqbot-wrapper .eqbot-welcome-tile:focus-visible {
    border-color: var(--eqbot-secondary, #e3123f) !important;
    box-shadow: 0 10px 22px -16px rgba(20, 10, 30, 0.45) !important;
    transform: translateY(-2px) !important;
    outline: none !important;
}

#eqbot-unified-root .eqbot-welcome-tile:active,
.eqbot-wrapper .eqbot-welcome-tile:active {
    transform: scale(0.97) !important;
}

#eqbot-unified-root .eqbot-tile-icon,
.eqbot-wrapper .eqbot-tile-icon {
    font-size: 17px !important;
    line-height: 1 !important;
    margin-bottom: 4px !important;
}

#eqbot-unified-root .eqbot-welcome-tile strong,
.eqbot-wrapper .eqbot-welcome-tile strong {
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: #14121a !important;
    line-height: 1.25 !important;
}

#eqbot-unified-root .eqbot-welcome-tile small,
.eqbot-wrapper .eqbot-welcome-tile small {
    font-size: 11px !important;
    color: #6b6578 !important;
    line-height: 1.3 !important;
}

/* --- Bienvenida: opciones secundarias como links --- */
#eqbot-unified-root .eqbot-welcome-more,
.eqbot-wrapper .eqbot-welcome-more {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 4px 10px !important;
    margin-top: 10px !important;
    font-size: 11.5px !important;
    color: #6b6578 !important;
}

#eqbot-unified-root .eqbot-welcome-more > span,
.eqbot-wrapper .eqbot-welcome-more > span {
    flex-basis: 100% !important;
    font-weight: 600 !important;
}

#eqbot-unified-root .eqbot-more-link,
.eqbot-wrapper .eqbot-more-link {
    font-size: 11.5px !important;
    font-weight: 600 !important;
    color: var(--eqbot-secondary, #4f9fd1) !important;
    text-decoration: none !important;
    border-bottom: 1px solid transparent !important;
    padding: 2px 0 !important;
    background: none !important;
}

#eqbot-unified-root .eqbot-more-link:hover,
.eqbot-wrapper .eqbot-more-link:hover {
    border-bottom-color: currentColor !important;
}

/* --- Formularios: aparecen deslizándose desde abajo --- */
#eqbot-unified-root .eqbot-modal-window.eqbot-modal-active .eqbot-modal-content,
.eqbot-wrapper .eqbot-modal-window.eqbot-modal-active .eqbot-modal-content {
    animation: eqbot-sheet-up 0.42s cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

@keyframes eqbot-sheet-up {
    from { opacity: 0.4; transform: translateY(40px); }
    to   { opacity: 1; transform: none; }
}

#eqbot-unified-root .eqbot-modal-content input,
#eqbot-unified-root .eqbot-modal-content select,
#eqbot-unified-root .eqbot-modal-content textarea,
.eqbot-wrapper .eqbot-modal-content input,
.eqbot-wrapper .eqbot-modal-content select,
.eqbot-wrapper .eqbot-modal-content textarea {
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease !important;
}

#eqbot-unified-root .eqbot-modal-content input:focus,
#eqbot-unified-root .eqbot-modal-content select:focus,
#eqbot-unified-root .eqbot-modal-content textarea:focus,
.eqbot-wrapper .eqbot-modal-content input:focus,
.eqbot-wrapper .eqbot-modal-content select:focus,
.eqbot-wrapper .eqbot-modal-content textarea:focus {
    border-color: var(--eqbot-secondary, #4f9fd1) !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12) !important;
    background: #ffffff !important;
    outline: none !important;
}

/* Campos que el bot completó solo */
#eqbot-unified-root .eqbot-prefilled,
.eqbot-wrapper .eqbot-prefilled {
    border-color: #86efac !important;
    background: #f0fdf4 !important;
    animation: eqbot-prefill 1.2s ease-out;
}

@keyframes eqbot-prefill {
    0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45); }
    100% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

#eqbot-unified-root .eqbot-btn-submit-action,
.eqbot-wrapper .eqbot-btn-submit-action {
    transition: transform 0.12s ease, filter 0.15s ease !important;
}

#eqbot-unified-root .eqbot-btn-submit-action:active,
.eqbot-wrapper .eqbot-btn-submit-action:active {
    transform: scale(0.98) !important;
}

/* --- Avisos dentro del chat --- */
#eqbot-unified-root .eqbot-toast,
.eqbot-wrapper .eqbot-toast {
    position: absolute !important;
    top: 70px !important;
    left: 50% !important;
    z-index: 120 !important;
    max-width: calc(100% - 32px) !important;
    padding: 10px 16px !important;
    border-radius: 999px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-align: center !important;
    color: #ffffff !important;
    opacity: 0 !important;
    transform: translate(-50%, -12px) !important;
    transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.2, 0.9, 0.2, 1) !important;
    pointer-events: none !important;
}

#eqbot-unified-root .eqbot-toast.eqbot-toast-in,
.eqbot-wrapper .eqbot-toast.eqbot-toast-in {
    opacity: 1 !important;
    transform: translate(-50%, 0) !important;
}

#eqbot-unified-root .eqbot-toast-ok,
.eqbot-wrapper .eqbot-toast-ok {
    background: #2f9e7a !important;
    box-shadow: 0 10px 24px -12px rgba(22, 163, 74, 0.7) !important;
}

#eqbot-unified-root .eqbot-toast-error,
.eqbot-wrapper .eqbot-toast-error {
    background: #bf5571 !important;
    border-radius: 14px !important;
    box-shadow: 0 10px 24px -12px rgba(185, 28, 28, 0.7) !important;
}

@media (prefers-reduced-motion: reduce) {
    #eqbot-unified-root .eqbot-welcome-tile,
    #eqbot-unified-root .eqbot-modal-window.eqbot-modal-active .eqbot-modal-content,
    #eqbot-unified-root .eqbot-prefilled,
    .eqbot-wrapper .eqbot-welcome-tile,
    .eqbot-wrapper .eqbot-modal-window.eqbot-modal-active .eqbot-modal-content,
    .eqbot-wrapper .eqbot-prefilled {
        animation: none !important;
    }
}

/* ==========================================================================
   v1.8 — Formularios: una columna, campos cómodos, envío siempre visible
   y sin scroll horizontal.
   ========================================================================== */
#eqbot-unified-root .eqbot-modal-window,
#eqbot-unified-root .eqbot-modal-content,
#eqbot-unified-root .eqbot-modal-content form,
.eqbot-wrapper .eqbot-modal-window,
.eqbot-wrapper .eqbot-modal-content,
.eqbot-wrapper .eqbot-modal-content form {
    overflow-x: hidden !important;
    max-width: 100% !important;
}

#eqbot-unified-root .eqbot-modal-content,
.eqbot-wrapper .eqbot-modal-content {
    padding: 0 !important;
    background: #fbfafc !important;
}

/* Encabezado fijo arriba */
#eqbot-unified-root .eqbot-modal-header,
.eqbot-wrapper .eqbot-modal-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 3 !important;
    margin: 0 !important;
    padding: 16px 18px 14px !important;
    background: #ffffff !important;
    border-bottom: 1px solid #ebe8f0 !important;
    gap: 12px !important;
}

#eqbot-unified-root .eqbot-modal-header h4,
.eqbot-wrapper .eqbot-modal-header h4 {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #14121a !important;
    line-height: 1.25 !important;
    margin: 0 !important;
    min-width: 0 !important;
}

#eqbot-unified-root .eqbot-modal-close,
.eqbot-wrapper .eqbot-modal-close {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    border-radius: 50% !important;
    background: #f2f0f6 !important;
    color: #14121a !important;
    font-size: 20px !important;
    line-height: 1 !important;
    display: grid !important;
    place-items: center !important;
    transition: background 0.15s ease, transform 0.15s ease !important;
}

#eqbot-unified-root .eqbot-modal-close:hover,
.eqbot-wrapper .eqbot-modal-close:hover {
    background: #e7e4ee !important;
    transform: rotate(90deg) !important;
}

/* Avisos y descripciones */
#eqbot-unified-root .eqbot-modal-content .eqbot-notice-box,
#eqbot-unified-root .eqbot-modal-content .eqbot-modal-desc,
.eqbot-wrapper .eqbot-modal-content .eqbot-notice-box,
.eqbot-wrapper .eqbot-modal-content .eqbot-modal-desc {
    margin: 14px 18px 0 !important;
    padding: 10px 12px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
}

#eqbot-unified-root .eqbot-modal-content .eqbot-notice-box,
.eqbot-wrapper .eqbot-modal-content .eqbot-notice-box {
    background: #fffbeb !important;
    border: 1px solid #fde68a !important;
    color: #854d0e !important;
}

/* Cuerpo del formulario */
#eqbot-unified-root .eqbot-modal-content form,
.eqbot-wrapper .eqbot-modal-content form {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    padding: 16px 18px 0 !important;
    overflow-y: auto !important;
}

#eqbot-unified-root .eqbot-modal-content .eqbot-form-row,
.eqbot-wrapper .eqbot-modal-content .eqbot-form-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    margin: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
}

#eqbot-unified-root .eqbot-modal-content .eqbot-form-group,
.eqbot-wrapper .eqbot-modal-content .eqbot-form-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    margin: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
}

#eqbot-unified-root .eqbot-modal-content .eqbot-form-group label,
.eqbot-wrapper .eqbot-modal-content .eqbot-form-group label {
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: #2a2733 !important;
    margin: 0 !important;
    line-height: 1.3 !important;
}

#eqbot-unified-root .eqbot-modal-content .eqbot-form-group input,
#eqbot-unified-root .eqbot-modal-content .eqbot-form-group select,
#eqbot-unified-root .eqbot-modal-content .eqbot-form-group textarea,
.eqbot-wrapper .eqbot-modal-content .eqbot-form-group input,
.eqbot-wrapper .eqbot-modal-content .eqbot-form-group select,
.eqbot-wrapper .eqbot-modal-content .eqbot-form-group textarea {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 46px !important;
    padding: 0 14px !important;
    border: 1.5px solid #e2dfe8 !important;
    border-radius: 12px !important;
    background-color: #ffffff !important;
    color: #14121a !important;
    font-size: 16px !important; /* 16px evita el zoom automático en iPhone */
    line-height: 1.3 !important;
    box-shadow: 0 1px 2px rgba(20, 10, 30, 0.04) !important;
}

#eqbot-unified-root .eqbot-modal-content .eqbot-form-group input::placeholder,
#eqbot-unified-root .eqbot-modal-content .eqbot-form-group textarea::placeholder,
.eqbot-wrapper .eqbot-modal-content .eqbot-form-group input::placeholder,
.eqbot-wrapper .eqbot-modal-content .eqbot-form-group textarea::placeholder {
    color: #a39eae !important;
}

#eqbot-unified-root .eqbot-modal-content .eqbot-form-group select,
.eqbot-wrapper .eqbot-modal-content .eqbot-form-group select {
    -webkit-appearance: none !important;
    appearance: none !important;
    padding-right: 40px !important;
    text-overflow: ellipsis !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%236b6578' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    background-size: 12px 8px !important;
    cursor: pointer !important;
}

#eqbot-unified-root .eqbot-modal-content .eqbot-form-group input[type="date"],
.eqbot-wrapper .eqbot-modal-content .eqbot-form-group input[type="date"] {
    -webkit-appearance: none !important;
    appearance: none !important;
    display: flex !important;
    align-items: center !important;
}

#eqbot-unified-root .eqbot-modal-content .eqbot-form-group textarea,
.eqbot-wrapper .eqbot-modal-content .eqbot-form-group textarea {
    height: auto !important;
    min-height: 92px !important;
    padding: 12px 14px !important;
    resize: vertical !important;
}

#eqbot-unified-root .eqbot-modal-content .eqbot-form-group input:hover,
#eqbot-unified-root .eqbot-modal-content .eqbot-form-group select:hover,
#eqbot-unified-root .eqbot-modal-content .eqbot-form-group textarea:hover,
.eqbot-wrapper .eqbot-modal-content .eqbot-form-group input:hover,
.eqbot-wrapper .eqbot-modal-content .eqbot-form-group select:hover,
.eqbot-wrapper .eqbot-modal-content .eqbot-form-group textarea:hover {
    border-color: #cfcad8 !important;
}

#eqbot-unified-root .eqbot-modal-content .eqbot-form-group input:focus,
#eqbot-unified-root .eqbot-modal-content .eqbot-form-group select:focus,
#eqbot-unified-root .eqbot-modal-content .eqbot-form-group textarea:focus,
.eqbot-wrapper .eqbot-modal-content .eqbot-form-group input:focus,
.eqbot-wrapper .eqbot-modal-content .eqbot-form-group select:focus,
.eqbot-wrapper .eqbot-modal-content .eqbot-form-group textarea:focus {
    border-color: var(--eqbot-secondary, #4f9fd1) !important;
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.12) !important;
    outline: none !important;
}

/* Campo completado por el bot */
#eqbot-unified-root .eqbot-modal-content .eqbot-form-group .eqbot-prefilled,
.eqbot-wrapper .eqbot-modal-content .eqbot-form-group .eqbot-prefilled {
    border-color: #86efac !important;
    background-color: #f0fdf4 !important;
}

/* Casilla de novedades como tarjeta */
#eqbot-unified-root .eqbot-modal-content .eqbot-newsletter-optin,
.eqbot-wrapper .eqbot-modal-content .eqbot-newsletter-optin {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 2px 0 0 !important;
    padding: 12px 14px !important;
    border: 1.5px solid #e2dfe8 !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    cursor: pointer !important;
    transition: border-color 0.15s ease, background 0.15s ease !important;
}

#eqbot-unified-root .eqbot-modal-content .eqbot-newsletter-optin:has(input:checked),
.eqbot-wrapper .eqbot-modal-content .eqbot-newsletter-optin:has(input:checked) {
    border-color: var(--eqbot-secondary, #4f9fd1) !important;
    background: #f0f9ff !important;
}

#eqbot-unified-root .eqbot-modal-content .eqbot-newsletter-optin input[type="checkbox"],
.eqbot-wrapper .eqbot-modal-content .eqbot-newsletter-optin input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    margin: 0 !important;
    accent-color: var(--eqbot-secondary, #4f9fd1) !important;
}

#eqbot-unified-root .eqbot-modal-content .eqbot-newsletter-optin span,
.eqbot-wrapper .eqbot-modal-content .eqbot-newsletter-optin span {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #2a2733 !important;
    line-height: 1.35 !important;
}

/* Botón de envío: siempre visible abajo */
#eqbot-unified-root .eqbot-modal-content form::after,
.eqbot-wrapper .eqbot-modal-content form::after {
    content: "" !important;
    display: block !important;
    flex-shrink: 0 !important;
    height: 4px !important;
}

#eqbot-unified-root .eqbot-modal-content .eqbot-btn-submit-action,
.eqbot-wrapper .eqbot-modal-content .eqbot-btn-submit-action {
    position: sticky !important;
    bottom: 14px !important;
    z-index: 2 !important;
    margin: 6px 0 0 !important;
    width: 100% !important;
    min-height: 52px !important;
    padding: 0 18px !important;
    border-radius: 14px !important;
    background: var(--eqbot-primary, #2b2840) !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
    /* the outer spread paints the panel color around the button, fading the fields that scroll under it */
    box-shadow: 0 10px 22px -10px rgba(15, 23, 42, 0.45), 0 0 0 14px #fbfafc, 0 -26px 22px 6px rgba(251, 250, 252, 0.92) !important;
    transition: background 0.15s ease, transform 0.12s ease !important;
}

#eqbot-unified-root .eqbot-modal-content .eqbot-btn-submit-action:hover,
.eqbot-wrapper .eqbot-modal-content .eqbot-btn-submit-action:hover {
    background: var(--eqbot-secondary, #4f9fd1) !important;
    transform: none !important;
}

#eqbot-unified-root .eqbot-modal-content .eqbot-btn-submit-action:disabled,
.eqbot-wrapper .eqbot-modal-content .eqbot-btn-submit-action:disabled {
    opacity: 0.7 !important;
    cursor: progress !important;
}

#eqbot-unified-root .eqbot-modal-content .eqbot-modal-desc,
.eqbot-wrapper .eqbot-modal-content .eqbot-modal-desc {
    background: none !important;
    border: 0 !important;
    padding: 0 !important;
    color: #6b6578 !important;
    font-size: 12.5px !important;
}

/* Ventanas con contenido extra (canto, redes): un solo contenedor con scroll */
#eqbot-unified-root .eqbot-modal-content .eqbot-social-scroll,
.eqbot-wrapper .eqbot-modal-content .eqbot-social-scroll {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    padding: 16px 18px 0 !important;
    margin: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

#eqbot-unified-root .eqbot-modal-content .eqbot-social-scroll form,
.eqbot-wrapper .eqbot-modal-content .eqbot-social-scroll form {
    padding: 0 !important;
    margin: 4px 0 0 !important;
    overflow: visible !important;
    flex: 0 0 auto !important;
}

#eqbot-unified-root .eqbot-modal-content .eqbot-social-scroll .eqbot-modal-desc,
.eqbot-wrapper .eqbot-modal-content .eqbot-social-scroll .eqbot-modal-desc {
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: #2a2733 !important;
}

#eqbot-unified-root .eqbot-modal-bio,
.eqbot-wrapper .eqbot-modal-bio {
    margin: 0 !important;
    padding: 12px 14px !important;
    border-radius: 12px !important;
    background: #f2f0f6 !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
    color: #5f5a6b !important;
}

#eqbot-unified-root .eqbot-modal-content .eqbot-social-grid,
.eqbot-wrapper .eqbot-modal-content .eqbot-social-grid {
    margin: 0 !important;
}

/* Grilla: márgenes laterales y canales en 2 x 2 */
#eqbot-unified-root .eqbot-grilla-modal-content > :not(.eqbot-modal-header),
.eqbot-wrapper .eqbot-grilla-modal-content > :not(.eqbot-modal-header) {
    margin-left: 18px !important;
    margin-right: 18px !important;
    width: auto !important;
    max-width: calc(100% - 36px) !important;
}

#eqbot-unified-root .eqbot-grilla-modal-content .eqbot-grilla-streams-bar,
.eqbot-wrapper .eqbot-grilla-modal-content .eqbot-grilla-streams-bar {
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
    margin-top: 14px !important;
    margin-bottom: 10px !important;
}

#eqbot-unified-root .eqbot-grilla-modal-content .eqbot-day-tabs,
.eqbot-wrapper .eqbot-grilla-modal-content .eqbot-day-tabs {
    scrollbar-width: none !important;
    border-radius: 12px !important;
    margin-bottom: 12px !important;
}

#eqbot-unified-root .eqbot-grilla-modal-content .eqbot-day-tabs::-webkit-scrollbar,
.eqbot-wrapper .eqbot-grilla-modal-content .eqbot-day-tabs::-webkit-scrollbar {
    display: none !important;
}

#eqbot-unified-root .eqbot-grilla-modal-content .eqbot-grilla-panels,
.eqbot-wrapper .eqbot-grilla-modal-content .eqbot-grilla-panels {
    padding-bottom: 16px !important;
}

#eqbot-unified-root .eqbot-modal-content .eqbot-social-scroll .eqbot-btn-submit-action,
.eqbot-wrapper .eqbot-modal-content .eqbot-social-scroll .eqbot-btn-submit-action {
    position: static !important;
    margin: 6px 0 18px !important;
    box-shadow: 0 10px 22px -10px rgba(15, 23, 42, 0.45) !important;
}

/* ==========================================================================
   v1.8.1 — Terminaciones: tarjetas de enlaces, trayectoria plegable,
   links dentro del texto y botones de acción alineados.
   ========================================================================== */
#eqbot-unified-root .eqbot-modal-content .eqbot-social-grid,
.eqbot-wrapper .eqbot-modal-content .eqbot-social-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

#eqbot-unified-root .eqbot-modal-content .eqbot-social-card,
.eqbot-wrapper .eqbot-modal-content .eqbot-social-card {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 14px !important;
    background: #ffffff !important;
    border: 1.5px solid #ebe8f0 !important;
    border-radius: 14px !important;
    box-shadow: 0 1px 2px rgba(20, 10, 30, 0.04) !important;
    text-decoration: none !important;
    transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease !important;
}

#eqbot-unified-root .eqbot-modal-content .eqbot-social-card:hover,
.eqbot-wrapper .eqbot-modal-content .eqbot-social-card:hover {
    border-color: var(--eqbot-secondary, #4f9fd1) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 18px -14px rgba(20, 10, 30, 0.5) !important;
}

#eqbot-unified-root .eqbot-modal-content .eqbot-social-info,
.eqbot-wrapper .eqbot-modal-content .eqbot-social-info {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

/* Trayectoria del profesor, plegada */
#eqbot-unified-root details.eqbot-modal-bio,
.eqbot-wrapper details.eqbot-modal-bio {
    padding: 0 !important;
    background: #ffffff !important;
    border: 1.5px solid #ebe8f0 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
}

#eqbot-unified-root details.eqbot-modal-bio summary,
.eqbot-wrapper details.eqbot-modal-bio summary {
    list-style: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 14px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #2a2733 !important;
    cursor: pointer !important;
}

#eqbot-unified-root details.eqbot-modal-bio summary::-webkit-details-marker,
.eqbot-wrapper details.eqbot-modal-bio summary::-webkit-details-marker {
    display: none !important;
}

#eqbot-unified-root details.eqbot-modal-bio summary::after,
.eqbot-wrapper details.eqbot-modal-bio summary::after {
    content: "+" !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #6b6578 !important;
    transition: transform 0.2s ease !important;
}

#eqbot-unified-root details.eqbot-modal-bio[open] summary::after,
.eqbot-wrapper details.eqbot-modal-bio[open] summary::after {
    transform: rotate(45deg) !important;
}

#eqbot-unified-root details.eqbot-modal-bio p,
.eqbot-wrapper details.eqbot-modal-bio p {
    margin: 0 !important;
    padding: 0 14px 14px !important;
    font-size: 12.5px !important;
    line-height: 1.6 !important;
    color: #5f5a6b !important;
}

/* Links dentro de las respuestas: siempre como texto, nunca como pastilla */
#eqbot-unified-root .eqbot-msg-bubble a.eqbot-link,
#eqbot-unified-root .eqbot-msg-bubble a.eqbot-quick-link,
.eqbot-wrapper .eqbot-msg-bubble a.eqbot-link,
.eqbot-wrapper .eqbot-msg-bubble a.eqbot-quick-link {
    display: inline !important;
    padding: 0 !important;
    margin: 0 !important;
    background: none !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(2, 132, 199, 0.35) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: var(--eqbot-secondary, #4f9fd1) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

/* Botones de acción: ícono y texto a la izquierda, flecha a la derecha */
#eqbot-unified-root .eqbot-message-enter .eqbot-msg-content > .eqbot-actions-group .eqbot-action-btn,
.eqbot-wrapper .eqbot-message-enter .eqbot-msg-content > .eqbot-actions-group .eqbot-action-btn {
    justify-content: flex-start !important;
    gap: 8px !important;
}

#eqbot-unified-root .eqbot-message-enter .eqbot-msg-content > .eqbot-actions-group .eqbot-action-btn::after,
.eqbot-wrapper .eqbot-message-enter .eqbot-msg-content > .eqbot-actions-group .eqbot-action-btn::after {
    margin-left: auto !important;
    padding-left: 8px !important;
}

/* Encabezado: logo y nombre juntos, botones a la derecha */
#eqbot-unified-root .eqbot-header,
.eqbot-wrapper .eqbot-header {
    justify-content: flex-start !important;
    gap: 12px !important;
}

#eqbot-unified-root .eqbot-header-info,
.eqbot-wrapper .eqbot-header-info {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
}

#eqbot-unified-root .eqbot-header-actions,
.eqbot-wrapper .eqbot-header-actions {
    margin-left: auto !important;
    flex-shrink: 0 !important;
}
