/**
 * 聊天窗口样式
 * Chrome 兼容性修复：明确写死所有默认值，确保与 Edge 一致
 */

/* 重置所有浏览器默认样式 */
.fc-chat-window *,
.fc-chat-window *::before,
.fc-chat-window *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* 聊天窗口容器 */
.fc-chat-window {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2147483647;
    display: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.fc-chat-window.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 遮罩层 */
.fc-chat-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fc-chat-window.active .fc-chat-overlay {
    opacity: 1;
}

/* 聊天容器 */
.fc-chat-container {
    position: relative;
    width: 90%;
    max-width: 500px;
    height: 80vh;
    max-height: 700px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.8) translateY(30px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .fc-chat-container {
        width: 100%;
        height: 75vh;
        max-height: 75vh;
        border-radius: 0;
    }
}


.fc-chat-window.active .fc-chat-container {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* 聊天头部 */
.fc-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #25D366;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

/* Email Chat 模式 - 银灰色主题 */
.fc-chat-window.fc-email-chat-mode .fc-chat-header {
    background: #6B7280; /* 银灰色 */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Email Chat 模式 - 关闭按钮样式 */
.fc-chat-window.fc-email-chat-mode .fc-chat-close {
    background: rgba(255, 255, 255, 0.15);
}

.fc-chat-window.fc-email-chat-mode .fc-chat-close:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    cursor: pointer;
    transition: background 0.2s ease;
}

.fc-chat-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.fc-chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.fc-chat-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fc-chat-user-details {
    flex: 1;
    min-width: 0;
}

.fc-chat-username {
    font-weight: 600;
    font-size: 16px;
    line-height: 1.2;
    margin: 0 0 2px 0;
    padding: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
}

.fc-chat-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    line-height: 1.2;
    opacity: 0.9;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.fc-chat-status-dot {
    width: 8px !important;
    height: 8px !important;
    min-width: 8px !important;
    min-height: 8px !important;
    border-radius: 50% !important;
    background: #25D366 !important; /* 绝对绿色，强制应用 */
    background-color: #25D366 !important; /* 双重保险 */
    border: none !important;
    box-shadow: none !important;
    animation: pulse 2s infinite !important;
    -webkit-animation: pulse 2s infinite !important;
    display: inline-block !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: middle !important;
    /* 强制覆盖所有可能的颜色样式 */
    color: transparent !important;
    fill: #25D366 !important;
    stroke: #25D366 !important;
}

/* Email Chat 模式 - 状态点保持绿色 */
.fc-chat-window.fc-email-chat-mode .fc-chat-status-dot {
    background: #25D366 !important; /* Email Chat 模式也使用绝对绿色，强制应用 */
    background-color: #25D366 !important;
    color: transparent !important;
    fill: #25D366 !important;
    stroke: #25D366 !important;
}

/* 强制覆盖所有可能的样式 - 确保绝对绿色 */
.fc-chat-status .fc-chat-status-dot,
.fc-chat-status-dot,
span.fc-chat-status-dot,
.fc-chat-header .fc-chat-status-dot,
.fc-chat-user-details .fc-chat-status-dot {
    background: #25D366 !important;
    background-color: #25D366 !important;
    color: transparent !important;
    fill: #25D366 !important;
    stroke: #25D366 !important;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

/* Chrome/Edge 专用修复 - 确保动画和颜色正常工作 */
@supports (-webkit-appearance: none) {
    .fc-chat-status-dot {
        background: #25D366 !important;
        background-color: #25D366 !important;
        color: transparent !important;
        fill: #25D366 !important;
        stroke: #25D366 !important;
        -webkit-animation: pulse 2s infinite !important;
        -webkit-backface-visibility: hidden;
        -webkit-transform: translateZ(0);
        will-change: opacity, transform;
    }
    
    .fc-chat-window.fc-email-chat-mode .fc-chat-status-dot {
        background: #25D366 !important;
        background-color: #25D366 !important;
        color: transparent !important;
        fill: #25D366 !important;
        stroke: #25D366 !important;
    }
    
    @-webkit-keyframes pulse {
        0%, 100% {
            opacity: 1;
            -webkit-transform: scale(1) translateZ(0);
        }
        50% {
            opacity: 0.6;
            -webkit-transform: scale(1.1) translateZ(0);
        }
    }
}

/* 针对Chrome的额外强制修复 - 确保绝对绿色 */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .fc-chat-status-dot {
        background: #25D366 !important;
        background-color: #25D366 !important;
        color: transparent !important;
        fill: #25D366 !important;
        stroke: #25D366 !important;
        -webkit-appearance: none !important;
    }
    
    .fc-chat-window.fc-email-chat-mode .fc-chat-status-dot {
        background: #25D366 !important;
        background-color: #25D366 !important;
        color: transparent !important;
        fill: #25D366 !important;
        stroke: #25D366 !important;
    }
}

.fc-chat-close {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    border: none !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    position: relative !important;
    /* 确保垂直居中 */
    align-self: center !important;
    box-sizing: border-box !important;
    outline: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

/* 关闭按钮悬停效果 */
.fc-chat-close:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: none !important;
    -webkit-transform: none !important;
    cursor: pointer;
    transition: background 0.2s ease;
}

.fc-chat-close:active {
    transform: none !important; /* 取消按下缩放 */
    -webkit-transform: none !important;
}

/* 使用 SVG 图标替代文字符号，更清晰美观 */
.fc-chat-close::before {
    content: '' !important;
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translate(-50%, -50%) !important;
    -webkit-transform: translate(-50%, -50%) !important;
    -ms-transform: translate(-50%, -50%) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M13.5 4.5L4.5 13.5M4.5 4.5L13.5 13.5' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-size: 18px 18px !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    pointer-events: none !important;
    transition: background-image 0.2s ease !important;
    -webkit-backface-visibility: hidden !important;
    backface-visibility: hidden !important;
    z-index: 1 !important;
    box-sizing: border-box !important;
}

/* 悬停时X图标保持原样，不变化，且位置不变 */
.fc-chat-close:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M13.5 4.5L4.5 13.5M4.5 4.5L13.5 13.5' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important; /* 保持原颜色 */
    transform: translate(-50%, -50%) !important; /* 确保位置不变 */
    -webkit-transform: translate(-50%, -50%) !important;
    -ms-transform: translate(-50%, -50%) !important;
    top: 50% !important;
    left: 50% !important;
}

/* Chrome/Edge 专用修复 - 确保关闭按钮样式一致，无悬停变化 */
@supports (-webkit-appearance: none) {
    .fc-chat-close {
        -webkit-backface-visibility: hidden !important;
        -webkit-transform: translateZ(0) !important;
        background: rgba(255, 255, 255, 0.15) !important;
        border-radius: 8px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .fc-chat-close::before {
        -webkit-transform: translate(-50%, -50%) translateZ(0) !important;
        -webkit-backface-visibility: hidden !important;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M13.5 4.5L4.5 13.5M4.5 4.5L13.5 13.5' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
    }
    
    /* 关闭按钮悬停效果 */
    .fc-chat-close:hover {
        -webkit-transform: translateZ(0) !important;
        background: rgba(255, 255, 255, 0.3) !important;
        cursor: pointer;
        transition: background 0.2s ease;
    }
    
    .fc-chat-close:hover::before {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M13.5 4.5L4.5 13.5M4.5 4.5L13.5 13.5' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important; /* 保持原颜色 */
        -webkit-transform: translate(-50%, -50%) translateZ(0) !important; /* 确保位置不变 */
        top: 50% !important;
        left: 50% !important;
    }
    
    .fc-chat-close:active {
        -webkit-transform: translateZ(0) !important; /* 取消按下缩放 */
    }
}

/* 针对Chrome的额外强制修复 - 关闭按钮，无悬停变化 */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .fc-chat-close {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(255, 255, 255, 0.15) !important;
        border-radius: 8px !important;
        width: 36px !important;
        height: 36px !important;
    }
    
    .fc-chat-close:hover {
        background: rgba(255, 255, 255, 0.3) !important;
        transform: none !important;
        -webkit-transform: none !important;
        cursor: pointer;
        transition: background 0.2s ease;
    }
    
    .fc-chat-close::before {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        -webkit-transform: translate(-50%, -50%) !important;
        transform: translate(-50%, -50%) !important;
        width: 18px !important;
        height: 18px !important;
    }
    
    .fc-chat-close:hover::before {
        -webkit-transform: translate(-50%, -50%) !important; /* 确保位置不变 */
        transform: translate(-50%, -50%) !important;
        top: 50% !important;
        left: 50% !important;
    }
}

/* 消息区域 */
/* 聊天加载动画 */
.fc-chat-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: #f5f5f5;
    min-height: 200px;
    box-sizing: border-box;
}

.fc-loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.fc-spinner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #5f6368; /* 深灰色，与白色背景有对比度 */
    animation: fc-spinner-bounce 1.4s ease-in-out infinite both;
    flex-shrink: 0;
}

.fc-spinner-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.fc-spinner-dot:nth-child(2) {
    animation-delay: -0.16s;
}

.fc-spinner-dot:nth-child(3) {
    animation-delay: 0s;
}

@keyframes fc-spinner-bounce {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.fc-loading-text {
    font-size: 14px;
    color: #5f6368; /* 深灰色，与白色背景有对比度 */
    font-weight: 500;
    text-align: center;
    margin: 0;
    padding: 0;
}

.fc-chat-messages {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
    gap: 12px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    scroll-behavior: smooth;
    min-height: 0; /* 确保可以滚动 */
    box-sizing: border-box;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.fc-chat-messages::-webkit-scrollbar {
    width: 6px;
}

.fc-chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.fc-chat-messages::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.fc-chat-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

/* 消息样式 */
.fc-message {
    display: flex;
    flex-direction: column;
    max-width: 75%;
    animation: messageSlideIn 0.3s ease-out;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fc-message-user {
    align-self: flex-end;
    align-items: flex-end;
}

.fc-message-system {
    align-self: flex-start;
    align-items: flex-start;
}

.fc-message-content {
    padding: 10px 14px;
    border-radius: 12px;
    word-wrap: break-word;
    line-height: 1.5;
    font-size: 14px;
    box-sizing: border-box;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* 消息中的链接样式 */
.fc-message-content .fc-message-link {
    color: #0066cc !important;
    text-decoration: underline;
    cursor: pointer;
    word-break: break-all;
    transition: color 0.2s ease;
}

.fc-message-content .fc-message-link:hover {
    color: #0052a3 !important;
    text-decoration: underline;
}

.fc-message-content .fc-message-link:visited {
    color: #551a8b !important;
}

/* 管理员发送的链接样式（更明显的蓝色） */
.fc-message-system .fc-message-content .fc-message-link,
.fc-message-admin .fc-message-content .fc-message-link {
    color: #0066cc !important;
    text-decoration: underline;
    font-weight: 500;
}

.fc-message-system .fc-message-content .fc-message-link:hover,
.fc-message-admin .fc-message-content .fc-message-link:hover {
    color: #0052a3 !important;
    text-decoration: underline;
}

.fc-message-user .fc-message-content {
    background: #25D366;
    color: #ffffff;
    border-bottom-right-radius: 4px;
}

/* Email Chat 模式 - 用户消息银灰色 */
.fc-chat-window.fc-email-chat-mode .fc-message-user .fc-message-content {
    background: #6B7280;
    color: #ffffff;
}

.fc-message-system .fc-message-content {
    background: #ffffff;
    color: #333333;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Email Chat 模式 - 系统消息银灰色 */
.fc-chat-window.fc-email-chat-mode .fc-message-system .fc-message-content {
    background: #F3F4F6;
    color: #4B5563;
}

.fc-message-image {
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    max-width: 100%;
}

.fc-message-image img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 300px;
}

.fc-message-time {
    font-size: 11px;
    color: #999999;
    margin-top: 4px;
    padding: 0 4px;
}

/* 图片预览区域 */
.fc-chat-image-preview {
    padding: 12px 20px;
    background: #f9f9f9;
    border-top: 1px solid #e0e0e0;
}

.fc-image-preview-container {
    position: relative;
    display: inline-block;
    max-width: 200px;
}

.fc-image-preview-container img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.fc-image-preview-remove {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    border: none;
    background: #ff4444;
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

.fc-image-preview-remove:hover {
    transform: scale(1.1);
}

.fc-image-preview-remove svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
}

/* 输入区域 */
.fc-chat-input-area {
    padding: 16px 20px;
    background: #ffffff;
    border-top: 1px solid #e0e0e0;
    box-sizing: border-box;
    margin: 0;
}

.fc-chat-input-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.fc-chat-attach,
.fc-chat-send {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border: none;
    background: #f0f0f0;
    border-radius: 50%;
    color: #666666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 1;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
}

.fc-chat-attach:hover {
    background: #e0e0e0;
    color: #333333;
}

.fc-chat-send {
    background: #25D366;
    color: #ffffff;
}

.fc-chat-send:hover:not(:disabled) {
    background: #ffaa00;
    color: #111111;
    transform: scale(1.05);
}

.fc-chat-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.fc-chat-attach svg,
.fc-chat-send svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
}

.fc-chat-input {
    flex: 1;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 10px 16px;
    font-size: 14px;
    line-height: 1.5;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    resize: none;
    max-height: 120px;
    overflow-y: auto;
    transition: border-color 0.2s;
    box-sizing: border-box;
    margin: 0;
    -webkit-appearance: none;
    appearance: none;
    background: #f0f0f0;
    color: #333333;
    outline: none;
    /* 隐藏滚动条 - 完全隐藏，不显示任何滚动条 */
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important; /* IE and Edge */
}
}

.fc-chat-input:focus {
    outline: none;
    border-color: #25D366;
}

/* Email Chat 模式 - 输入框焦点银灰色 */
.fc-chat-window.fc-email-chat-mode .fc-chat-input:focus {
    border-color: #6B7280;
}

/* 输入框错误状态（超过字符限制） */
.fc-chat-input.fc-chat-input-error {
    border-color: #dc3232 !important;
    background-color: #fff5f5 !important;
    color: #dc3232 !important;
}

.fc-chat-input.fc-chat-input-error:focus {
    border-color: #dc3232 !important;
    box-shadow: 0 0 0 2px rgba(220, 50, 50, 0.2) !important;
}

/* 字符计数提示 */
.fc-char-count-hint {
    margin-top: 6px;
    padding: 0 16px;
    font-size: 12px;
    color: #666666;
    text-align: right;
    line-height: 1.4;
}

.fc-char-count-hint.fc-char-count-error {
    color: #dc3232;
    font-weight: 500;
}

/* 隐藏输入框滚动条 - 完全隐藏，不显示任何滚动条 */
.fc-chat-input::-webkit-scrollbar {
    width: 0 !important;
    display: none !important;
    background: transparent !important;
}

.fc-chat-input::-webkit-scrollbar-track {
    display: none !important;
    background: transparent !important;
}

.fc-chat-input::-webkit-scrollbar-thumb {
    display: none !important;
    background: transparent !important;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .fc-chat-container {
        width: 100%;
        height: 75vh;
        max-height: 75vh;
        border-radius: 0;
    }
    
    .fc-message {
        max-width: 85%;
    }
    
    .fc-chat-header {
        padding: 12px 16px;
    }
    
    .fc-chat-messages {
        padding: 16px;
    }
    
    .fc-chat-input-area {
        padding: 12px 16px;
    }
}

/* Email Chat 模式 - 输入框焦点银灰色 */
.fc-chat-window.fc-email-chat-mode .fc-chat-input:focus {
    border-color: #6B7280;
}

@media (max-width: 480px) {
    .fc-chat-username {
        font-size: 14px;
    }
    
    .fc-message-content {
        font-size: 13px;
        padding: 8px 12px;
    }
}

/* 加载动画 */
.fc-message-loading {
    display: inline-flex;
    gap: 4px;
    padding: 10px 14px;
}

.fc-message-loading span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    animation: loadingDot 1.4s infinite;
}

.fc-message-loading span:nth-child(2) {
    animation-delay: 0.2s;
}

.fc-message-loading span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes loadingDot {
    0%, 60%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    30% {
        opacity: 1;
        transform: scale(1);
    }
}
