/* ============================================================
   chatbox.css — Premium, Modern, and Professional AI Chatbox
   Features: Glassmorphism, beautiful gradients, card-based messages,
             glowing hover states, and fully responsive layouts.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ── Design System Variables ──────────────────────────────── */
:root {
    --rsm-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --rsm-primary: #2563eb;
    --rsm-primary-hover: #1d4ed8;
    --rsm-gradient-header: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
    --rsm-gradient-brand: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    --rsm-gradient-user: linear-gradient(135deg, #f04c23 0%, #d63910 100%);
    --rsm-bg-bot: #ffffff;
    --rsm-bg-window: #f8fafc;
    --rsm-text-dark: #0f172a;
    --rsm-text-muted: #64748b;
    --rsm-border-light: #e2e8f0;
    --rsm-shadow-premium: 0 20px 40px -5px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(15, 23, 42, 0.05);
    --rsm-shadow-message: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --rsm-radius-lg: 24px;
    --rsm-radius-md: 16px;
    --rsm-radius-sm: 12px;
}

/* ── Container ────────────────────────────────────────────── */
#rsm-chatbox-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    font-family: var(--rsm-font);
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

/* ── Trigger Button ───────────────────────────────────────── */
#rsm-chat-trigger {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--rsm-gradient-brand);
    border: none;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    outline: none;
}
#rsm-chat-trigger:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.5);
}
#rsm-chat-trigger:active {
    transform: scale(0.95) translateY(0);
}

/* Pulse Glow Rings */
#rsm-chat-trigger::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5);
    animation: rsm-pulse 2s cubic-bezier(0.24, 0, 0, 1) infinite;
}
@keyframes rsm-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(37, 99, 235, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

/* ── Notification Badge ───────────────────────────────────── */
.rsm-trigger-notification {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    box-sizing: border-box;
}

/* ── Chat Window ──────────────────────────────────────────── */
#rsm-chat-window {
    position: absolute;
    bottom: 78px;
    right: 0;
    width: 390px;
    height: 610px;
    max-height: calc(100vh - 120px);
    max-width: calc(100vw - 48px);
    background: var(--rsm-bg-window);
    border-radius: var(--rsm-radius-lg);
    box-shadow: var(--rsm-shadow-premium);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 0.3s cubic-bezier(0.25, 1, 0.5, 1),
                width 0.3s ease, height 0.3s ease;
    transform-origin: bottom right;
    border: 1px solid rgba(255,255,255,0.7);
}
#rsm-chat-window.rsm-chat-expanded {
    width: 530px;
    height: 730px;
    max-height: calc(100vh - 120px);
    max-width: calc(100vw - 48px);
}
.rsm-chat-hidden {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    pointer-events: none;
}
.rsm-chat-visible {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}

/* ── Header ───────────────────────────────────────────────── */
.rsm-chat-header {
    background: var(--rsm-gradient-header);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.rsm-chat-header::before {
    content: '';
    position: absolute;
    top: -40px; right: -30px;
    width: 130px; height: 130px;
    background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    pointer-events: none;
}
.rsm-chat-header-info {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 2;
}
.rsm-chat-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    flex-shrink: 0;
    position: relative;
    border: 2px solid rgba(255,255,255,0.1);
}
.rsm-online-badge {
    position: absolute;
    bottom: 0px; right: 0px;
    width: 12px; height: 12px;
    background: #10b981;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.rsm-chat-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.2px;
}
.rsm-chat-subtitle {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #94a3b8;
    margin-top: 3px;
    font-weight: 500;
}
.rsm-status-dot {
    width: 6px; height: 6px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #10b981;
    animation: rsm-blink 2s ease-in-out infinite;
}
@keyframes rsm-blink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}
.rsm-header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 2;
}
.rsm-header-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255,255,255,0.05);
    color: #e2e8f0;
    cursor: pointer;
    width: 32px; height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.rsm-header-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    transform: translateY(-1px);
}
.rsm-header-btn:active {
    transform: translateY(0);
}

/* ── Powered by bar ───────────────────────────────────────── */
.rsm-powered-bar {
    background: #eff6ff;
    border-bottom: 1px solid #dbeafe;
    padding: 8px 18px;
    font-size: 11.5px;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    font-weight: 500;
}
.rsm-powered-bar span { font-weight: 700; color: var(--rsm-primary); }

/* ── Messages Area ────────────────────────────────────────── */
#rsm-chat-messages {
    flex: 1;
    padding: 20px 18px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--rsm-bg-window);
    scroll-behavior: smooth;
}
#rsm-chat-messages::-webkit-scrollbar { width: 5px; }
#rsm-chat-messages::-webkit-scrollbar-track { background: transparent; }
#rsm-chat-messages::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }

/* ── Message Bubbles ──────────────────────────────────────── */
.rsm-chat-msg {
    display: flex;
    flex-direction: column;
    max-width: 86%;
    animation: rsm-fade-up 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.rsm-msg-bot  { align-self: flex-start; }
.rsm-msg-user { align-self: flex-end; }

.rsm-msg-row {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}
.rsm-bot-avatar-sm {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--rsm-gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    margin-bottom: 1px;
    box-shadow: 0 2px 6px rgba(37,99,235,0.15);
}

.rsm-msg-bubble {
    padding: 12px 16px;
    font-size: 13.5px;
    line-height: 1.58;
    border-radius: 18px;
    word-wrap: break-word;
    word-break: break-word;
    box-shadow: var(--rsm-shadow-message);
}
.rsm-msg-bot .rsm-msg-bubble {
    background: var(--rsm-bg-bot);
    color: #1e293b;
    border-radius: 4px 18px 18px 18px;
    border: 1px solid var(--rsm-border-light);
}
.rsm-msg-user .rsm-msg-bubble {
    background: #fff;
    color: #1e293b;
    border-radius: 18px 18px 4px 18px;
    border: 2px solid #f04c23;
    box-shadow: 0 4px 14px rgba(240, 76, 35, 0.15);
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: 0.1px;
}
.rsm-msg-time {
    font-size: 10px;
    color: var(--rsm-text-muted);
    margin-top: 5px;
    padding: 0 4px;
    font-weight: 500;
}
.rsm-msg-user .rsm-msg-time { text-align: right; }

/* Markdown Styling inside Bubbles */
.rsm-msg-bubble strong { font-weight: 700; color: inherit; }
.rsm-msg-bubble a { text-decoration: underline; font-weight: 600; transition: opacity 0.15s; }
.rsm-msg-bot .rsm-msg-bubble a { color: var(--rsm-primary); }
.rsm-msg-user .rsm-msg-bubble a { color: #f04c23; font-weight: 700; }
.rsm-msg-bubble p { margin: 6px 0; }
.rsm-msg-bubble p:first-child { margin-top: 0; }
.rsm-msg-bubble p:last-child { margin-bottom: 0; }
.rsm-msg-bubble ul { margin: 8px 0 8px 18px; padding: 0; }
.rsm-msg-bubble li { margin-bottom: 6px; }
.rsm-msg-bubble li:last-child { margin-bottom: 0; }

/* ── Inline Lead Form (Premium) ───────────────────────────── */
.rsm-lead-form {
    background: #ffffff;
    border: 1px solid var(--rsm-border-light);
    border-radius: var(--rsm-radius-md);
    padding: 18px;
    margin-top: 6px;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
    width: 310px;
    max-width: 100%;
    box-sizing: border-box;
}
.rsm-lead-form-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--rsm-text-dark);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.2px;
}
.rsm-lead-form input,
.rsm-lead-form select {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: var(--rsm-radius-sm);
    padding: 10px 14px;
    font-size: 13px;
    font-family: inherit;
    color: var(--rsm-text-dark);
    background: #f8fafc;
    transition: all 0.2s ease;
    margin-bottom: 10px;
    box-sizing: border-box;
    outline: none;
}
.rsm-lead-form input:focus,
.rsm-lead-form select:focus {
    border-color: var(--rsm-primary);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.rsm-lead-form input::placeholder { color: #94a3b8; }
.rsm-form-label {
    font-size: 10.5px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 5px;
    display: block;
    letter-spacing: 0.5px;
    text-align: left;
}
.rsm-lead-form-submit {
    width: 100%;
    background: var(--rsm-gradient-brand);
    color: #fff;
    border: none;
    border-radius: var(--rsm-radius-sm);
    padding: 12px;
    font-size: 13.5px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 4px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}
.rsm-lead-form-submit:hover {
    opacity: 0.95;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}
.rsm-lead-form-submit:active {
    transform: translateY(0);
}
.rsm-lead-form-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.rsm-form-error {
    font-size: 11.5px;
    color: #ef4444;
    margin-top: -6px;
    margin-bottom: 8px;
    font-weight: 600;
    display: none;
}

/* Timeframe Selection Chips */
.rlf-timeframe-chips {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}
.rlf-timeframe-chip {
    flex: 1;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
    border-radius: var(--rsm-radius-sm);
    padding: 9px 0;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}
.rlf-timeframe-chip:hover {
    background: #e2e8f0;
    color: #1e293b;
    border-color: #94a3b8;
}
.rlf-timeframe-chip.active {
    background: var(--rsm-primary);
    color: #fff;
    border-color: var(--rsm-primary);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

/* Database Count Box */
.rsm-count-box {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    border-radius: var(--rsm-radius-sm);
    padding: 10px 14px;
    font-size: 12.5px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: rsm-fade-up 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    text-align: left;
    font-weight: 500;
}
.rsm-count-icon { font-size: 15px; }
.rsm-count-box-loading {
    color: #64748b;
    font-size: 12.5px;
    font-style: italic;
    margin-bottom: 14px;
    text-align: left;
    padding-left: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── Suggestion Chips (Pill Floating Design) ──────────────── */
.rsm-chips-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-self: flex-start;
    width: 100%;
    max-width: 310px;
    margin-top: 6px;
    box-sizing: border-box;
}
/* Wrapping grid layout for sub-chips */
.rsm-chips-container.rsm-chips-wrap {
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 100%;
    gap: 8px;
}
.rsm-chips-wrap .rsm-suggestion-chip {
    padding: 8px 14px;
    font-size: 12px;
    border-radius: 20px;
    width: auto;
    text-align: center;
    justify-content: center;
}
.rsm-suggestion-chip {
    background: #ffffff;
    color: var(--rsm-text-dark);
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: left;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    display: flex;
    align-items: center;
    gap: 8px;
    outline: none;
}
.rsm-suggestion-chip:hover {
    background: var(--rsm-gradient-brand);
    color: #ffffff;
    border-color: var(--rsm-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.22);
}
.rsm-suggestion-chip:active {
    transform: translateY(-1px);
}

/* ── Typing Indicator ─────────────────────────────────────── */
#rsm-typing-indicator-container { max-width: 75px; }
.rsm-typing-bubble {
    background: var(--rsm-bg-bot);
    border: 1px solid var(--rsm-border-light);
    border-radius: 4px 18px 18px 18px;
    padding: 12px 16px;
    display: flex;
    gap: 6px;
    align-items: center;
    box-shadow: var(--rsm-shadow-message);
}
.rsm-typing-dot {
    width: 6px; height: 6px;
    background: #94a3b8;
    border-radius: 50%;
    animation: rsm-typing 1.3s ease-in-out infinite;
}
.rsm-typing-dot:nth-child(2) { animation-delay: 0.15s; }
.rsm-typing-dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes rsm-typing {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-4px); opacity: 1; }
}

/* ── Input Area ───────────────────────────────────────────── */
.rsm-chat-footer {
    border-top: 1px solid #f1f5f9;
    padding: 14px 16px;
    background: #ffffff;
    flex-shrink: 0;
}
#rsm-chat-input-form {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 16px;
    padding: 6px 6px 6px 16px;
    transition: all 0.25s ease;
}
#rsm-chat-input-form:focus-within {
    border-color: var(--rsm-primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
    background: #ffffff;
}
#rsm-chat-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 13.5px;
    font-family: inherit;
    color: var(--rsm-text-dark);
    outline: none;
    padding: 6px 0;
}
#rsm-chat-input::placeholder { color: #94a3b8; }
#rsm-chat-send {
    background: var(--rsm-primary);
    border: none;
    color: #fff;
    width: 36px; height: 36px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    outline: none;
}
#rsm-chat-send:hover {
    background: var(--rsm-primary-hover);
    transform: scale(1.04);
}
#rsm-chat-send:active { transform: scale(0.96); }
#rsm-chat-send:disabled {
    background: #cbd5e1;
    color: #94a3b8;
    cursor: not-allowed;
    transform: none;
}

/* ── Welcome Tooltip ──────────────────────────────────────── */
.rsm-chat-tooltip-bubble {
    position: absolute;
    bottom: 78px;
    right: 0;
    background: #ffffff;
    color: var(--rsm-text-dark);
    padding: 12px 18px;
    border-radius: var(--rsm-radius-md);
    font-size: 13.5px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
    border: 1px solid var(--rsm-border-light);
    white-space: nowrap;
    cursor: pointer;
    animation: rsm-float 2.5s ease-in-out infinite;
    z-index: 99999;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.2px;
}
.rsm-chat-tooltip-bubble::after {
    content: '';
    position: absolute;
    bottom: -7px;
    right: 24px;
    border: 7px solid transparent;
    border-top-color: #ffffff;
    border-bottom: none;
}
.rsm-tooltip-close {
    margin-left: 4px;
    font-size: 16px;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    transition: color 0.15s;
}
.rsm-tooltip-close:hover { color: var(--rsm-text-dark); }
@keyframes rsm-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ── Success message ──────────────────────────────────────── */
.rsm-success-msg {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--rsm-radius-sm);
    padding: 14px 16px;
    font-size: 13px;
    color: #166534;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
}
.rsm-success-msg-download {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--rsm-radius-sm);
    padding: 16px;
    font-size: 13px;
    color: #166534;
    margin-top: 6px;
    text-align: center;
}
.rsm-download-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 18px;
    background: #10b981;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: var(--rsm-radius-sm);
    font-weight: 700;
    font-size: 13px;
    transition: background 0.15s ease, transform 0.1s ease;
    box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.2);
}
.rsm-download-btn:hover {
    background: #059669;
    transform: translateY(-1px);
}
.rsm-download-btn:active {
    transform: translateY(0);
}


/* ── Animations ───────────────────────────────────────────── */
@keyframes rsm-fade-up {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive Viewports ─────────────────────────────────── */
/* 1. Screen height adjustments (e.g. landscape mode or short screens) */
@media (max-height: 750px) {
    #rsm-chat-window {
        height: calc(100vh - 120px);
        bottom: 78px;
    }
    #rsm-chat-window.rsm-chat-expanded {
        height: calc(100vh - 120px);
    }
}

/* 2. Tablet and narrow screen width adjustments */
@media (max-width: 768px) {
    #rsm-chat-window {
        width: 350px;
    }
    #rsm-chat-window.rsm-chat-expanded {
        width: 450px;
    }
}

/* 3. Mobile screen width and height adjustments */
@media (max-width: 480px) {
    #rsm-chatbox-container { bottom: 12px; right: 12px; }
    #rsm-chat-window {
        width: calc(100vw - 24px);
        height: calc(100vh - 94px);
        bottom: 72px;
        border-radius: var(--rsm-radius-md);
        max-height: none !important;
        max-width: none !important;
    }
    #rsm-chat-window.rsm-chat-expanded {
        width: calc(100vw - 24px);
        height: calc(100vh - 94px);
        max-height: none !important;
        max-width: none !important;
    }
    .rsm-lead-form {
        width: 100%;
    }
}

/* 4. Small mobile devices screen adjustments */
@media (max-width: 360px) {
    #rsm-chat-window {
        width: calc(100vw - 16px);
        height: calc(100vh - 84px);
        bottom: 66px;
        max-height: none !important;
        max-width: none !important;
    }
    #rsm-chat-window.rsm-chat-expanded {
        width: calc(100vw - 16px);
        height: calc(100vh - 84px);
        max-height: none !important;
        max-width: none !important;
    }
}

/* ── Keyboard Accessibility / Focus Rings ────────────────── */
#rsm-chat-trigger:focus-visible,
.rsm-suggestion-chip:focus-visible,
.rsm-header-btn:focus-visible,
.rlf-timeframe-chip:focus-visible,
#rsm-chat-send:focus-visible {
    outline: 3px solid var(--rsm-primary) !important;
    outline-offset: 2px !important;
}
.rsm-header-btn:focus-visible {
    outline-color: #ffffff !important;
}
