/* ================================================
   Chat Widget Styles
   ================================================ */

/* Floating Button */
.chat-floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    z-index: 10000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}
.chat-floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

/* Badge */
.chat-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ff4757;
    color: white;
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border: 2px solid #fff;
    animation: chat-badge-pulse 2s infinite;
}

@keyframes chat-badge-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Panel – LinkedIn-style bottom-right dropdown */
.chat-panel {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 340px;
    height: 460px;
    background: #fff;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.18);
    z-index: 10001;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: chat-panel-rise 0.25s ease-out;
    font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

@keyframes chat-panel-rise {
    from { opacity: 0; transform: translateY(100%); }
    to { opacity: 1; transform: translateY(0); }
}

/* Header – compact LinkedIn-style */
.chat-panel-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    min-height: 44px;
    box-sizing: border-box;
    cursor: pointer;
}
.chat-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.chat-header-left h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: white;
}
.chat-header-rfq-link {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    padding: 4px 6px;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
    line-height: 1;
    flex-shrink: 0;
}
.chat-header-rfq-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
}
.chat-header-right {
    display: flex;
    gap: 8px;
}
.chat-back-btn,
.chat-new-btn,
.chat-close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    font-size: 13px;
}
.chat-back-btn:hover,
.chat-new-btn:hover,
.chat-close-btn:hover {
    background: rgba(255, 255, 255, 0.35);
}

/* Views */
.chat-view {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Search */
.chat-search-box {
    padding: 8px 12px;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}
.chat-search-box input {
    width: 100%;
    padding: 8px 12px 8px 32px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: 12px;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
    box-sizing: border-box;
}
.chat-search-box input:focus {
    border-color: #667eea;
}
.chat-search-icon {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 12px;
}

/* Conversations List */
.chat-conversations {
    flex: 1;
    overflow-y: auto;
    scrollbar-width: thin;
}
.chat-conversations::-webkit-scrollbar {
    width: 5px;
}
.chat-conversations::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 3px;
}

/* Chat Item */
.chat-item {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid #f5f5f5;
    gap: 10px;
}
.chat-item:hover {
    background: #f8f9ff;
}
.chat-item.active {
    background: #f0f2ff;
}

.chat-item-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
    overflow: hidden;
}
.chat-item-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat-item-info {
    flex: 1;
    min-width: 0;
}
.chat-item-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 3px;
}
.chat-item-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.chat-item-rfq-btn {
    background: none;
    border: none;
    color: #667eea;
    cursor: pointer;
    padding: 2px 4px;
    font-size: 13px;
    border-radius: 4px;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
    line-height: 1;
    text-decoration: none;
}
.chat-item-rfq-btn:hover {
    background: #eef0ff;
    color: #4c5fd7;
    text-decoration: none;
}
.chat-item-preview {
    font-size: 12px;
    color: #888;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-item-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}
.chat-item-time {
    font-size: 11px;
    color: #aaa;
}
.chat-item-unread {
    background: #667eea;
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

/* Messages Container */
.chat-messages-container {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    background: #f8f9fa;
    scrollbar-width: thin;
}
.chat-messages-container::-webkit-scrollbar {
    width: 5px;
}
.chat-messages-container::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 3px;
}

/* Date Separator */
.chat-date-separator {
    text-align: center;
    margin: 16px 0 12px;
    position: relative;
}
.chat-date-separator span {
    background: #f8f9fa;
    padding: 4px 12px;
    font-size: 11px;
    color: #999;
    border-radius: 12px;
    background-color: #e9ecef;
    font-weight: 500;
}

/* Message Bubble */
.chat-message {
    display: flex;
    margin-bottom: 8px;
    animation: chat-msg-in 0.3s ease;
}
@keyframes chat-msg-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-message.sent {
    justify-content: flex-end;
}
.chat-message.received {
    justify-content: flex-start;
}

.chat-bubble {
    max-width: 75%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 13px;
    line-height: 1.5;
    position: relative;
    word-wrap: break-word;
}
.chat-message.sent .chat-bubble {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-bottom-right-radius: 4px;
}
.chat-message.received .chat-bubble {
    background: white;
    color: #333;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.chat-bubble-sender {
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 3px;
    opacity: 0.8;
}
.chat-message.received .chat-bubble-sender {
    color: #667eea;
}

.chat-bubble-time {
    font-size: 10px;
    margin-top: 4px;
    text-align: right;
    opacity: 0.7;
}

.chat-bubble-attachment {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: rgba(255,255,255,0.15);
    border-radius: 8px;
    margin-top: 6px;
    font-size: 12px;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s;
}
.chat-bubble-attachment:hover {
    background: rgba(255,255,255,0.25);
}
.chat-message.received .chat-bubble-attachment {
    background: #f0f2ff;
}
.chat-message.received .chat-bubble-attachment:hover {
    background: #e0e3ff;
}

/* Input Area */
.chat-input-area {
    padding: 12px 16px;
    background: white;
    border-top: 1px solid #f0f0f0;
    flex-shrink: 0;
}
.chat-input-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    background: #f5f6fa;
    border-radius: 24px;
    padding: 6px 8px 6px 14px;
}

.chat-attach-btn {
    color: #667eea;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    font-size: 16px;
}
.chat-attach-btn:hover {
    color: #4c63d2;
}

.chat-input-wrapper textarea {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 13px;
    resize: none;
    max-height: 80px;
    line-height: 1.4;
    padding: 6px 0;
    font-family: inherit;
}
.chat-input-wrapper textarea::placeholder {
    color: #aaa;
}

.chat-send-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
    font-size: 13px;
}
.chat-send-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

/* File Preview */
.chat-file-preview {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 6px 10px;
    background: #f0f2ff;
    border-radius: 8px;
    font-size: 12px;
}
.chat-file-preview span {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #555;
}
.chat-file-preview button {
    background: none;
    border: none;
    color: #ff4757;
    cursor: pointer;
    font-size: 14px;
    padding: 2px;
}

/* Loading */
.chat-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #999;
}
.chat-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid #f0f0f0;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: chat-spin 0.8s linear infinite;
    margin-bottom: 10px;
}
@keyframes chat-spin {
    to { transform: rotate(360deg); }
}

/* Empty State */
.chat-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    color: #999;
}
.chat-empty-state svg {
    margin-bottom: 12px;
    opacity: 0.5;
}
.chat-empty-state p {
    font-size: 13px;
    margin: 0;
}

/* Supplier list item */
.chat-supplier-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid #f5f5f5;
    gap: 12px;
}
.chat-supplier-item:hover {
    background: #f8f9ff;
}

/* Read receipt */
.chat-read-receipt {
    font-size: 10px;
    margin-top: 2px;
    text-align: right;
}
.chat-read-receipt i {
    color: #4fc3f7;
}

/* ================================================
   Mini Chat Windows (Company multi-chat)
   ================================================ */

/* Container */
#chat-windows-container {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 10001;
    pointer-events: none;
}

/* Individual Mini Window */
.chat-mini-window {
    position: fixed;
    bottom: 0;
    width: 320px;
    height: 440px;
    background: #fff;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.15);
    z-index: 10002;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.25s ease, transform 0.25s ease, right 0.3s ease, height 0.3s ease;
    font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    pointer-events: all;
}
.chat-mini-window.visible {
    opacity: 1;
    transform: translateY(0);
}
.chat-mini-window.minimized {
    height: 46px;
}

/* Flash animation for already-open window */
.chat-mini-window.flash {
    animation: chat-window-flash 0.6s ease;
}
@keyframes chat-window-flash {
    0%, 100% { box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.15); }
    25%, 75% { box-shadow: 0 -4px 30px rgba(102, 126, 234, 0.5); }
    50% { box-shadow: 0 -4px 35px rgba(102, 126, 234, 0.7); }
}

/* Mini Window Header */
.chat-mini-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    cursor: pointer;
    min-height: 46px;
    box-sizing: border-box;
}
.chat-mini-header:hover {
    filter: brightness(1.05);
}

.chat-mini-header-info {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1;
}

.chat-mini-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
}

.chat-mini-name {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-mini-header-actions {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

.chat-mini-minimize,
.chat-mini-close {
    background: rgba(255,255,255,0.15);
    border: none;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    transition: background 0.2s;
}
.chat-mini-minimize:hover,
.chat-mini-close:hover {
    background: rgba(255,255,255,0.35);
}

/* Mini Window Body (hidden when minimized) */
.chat-mini-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}

/* Mini Window Messages */
.chat-mini-messages {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    background: #f8f9fa;
    scrollbar-width: thin;
}
.chat-mini-messages::-webkit-scrollbar {
    width: 4px;
}
.chat-mini-messages::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}

/* Mini Window Input */
.chat-mini-input-area {
    padding: 8px 10px;
    background: white;
    border-top: 1px solid #f0f0f0;
    flex-shrink: 0;
}
.chat-mini-input-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    background: #f5f6fa;
    border-radius: 20px;
    padding: 4px 6px 4px 10px;
}
.chat-mini-input-wrapper textarea {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 12px;
    resize: none;
    max-height: 60px;
    line-height: 1.4;
    padding: 5px 0;
    font-family: inherit;
}
.chat-mini-input-wrapper textarea::placeholder {
    color: #aaa;
}
.chat-mini-input-wrapper .chat-send-btn {
    width: 30px;
    height: 30px;
    font-size: 12px;
}
.chat-mini-input-wrapper .chat-attach-btn {
    font-size: 14px;
    padding: 4px;
}

/* Responsive */
@media (max-width: 480px) {
    .chat-panel {
        width: 100vw;
        height: 60vh;
        right: 0;
        bottom: 0;
        border-radius: 12px 12px 0 0;
    }
    .chat-floating-btn {
        right: 16px;
        bottom: 16px;
    }
    .chat-mini-window {
        width: calc(100vw - 20px);
        right: 10px !important;
        height: 50vh;
    }
}

/* ================================================
   Closed Chat Styles
   ================================================ */

/* Closed banner shown at bottom of chat when offer accepted */
.chat-closed-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    color: #888;
    font-size: 13px;
    font-weight: 500;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}
.chat-closed-banner i {
    font-size: 14px;
    color: #aaa;
}

/* Closed badge in chat list */
.chat-closed-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    background: #f0f0f0;
    color: #999;
    font-size: 10px;
    font-weight: 600;
    border-radius: 10px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    margin-left: 6px;
    flex-shrink: 0;
}

/* Small closed badge in mini-window header */
.chat-closed-badge-sm {
    display: inline-flex;
    align-items: center;
    padding: 1px 6px;
    background: rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.8);
    font-size: 9px;
    font-weight: 600;
    border-radius: 8px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    margin-left: 6px;
    flex-shrink: 0;
}

/* RFQ title label in chat list */
.chat-rfq-label {
    display: inline;
    font-size: 11px;
    color: #888;
    font-weight: 400;
}

/* Request ID label in company chat list and mini-window header */
.chat-request-label {
    display: inline-flex;
    align-items: center;
    padding: 1px 6px;
    background: #e8f0fe;
    color: #1a73e8;
    font-size: 10px;
    font-weight: 600;
    border-radius: 8px;
    margin-left: 4px;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

/* Dim closed chat items in list */
.chat-item.chat-closed {
    opacity: 0.7;
}
.chat-item.chat-closed:hover {
    opacity: 0.85;
}

/* Mute notification button */
.chat-mute-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    opacity: 0.85;
    transition: opacity 0.2s, background 0.2s;
}
.chat-mute-btn:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.15);
}

/* ================================================
   Tabs (Company side – Suppliers / Team)
   ================================================ */
.chat-tabs {
    display: flex;
    background: #fff;
    border-bottom: 2px solid #f0f0f0;
    flex-shrink: 0;
}
.chat-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 0;
    border: none;
    background: none;
    font-size: 12px;
    font-weight: 600;
    color: #999;
    cursor: pointer;
    position: relative;
    transition: color 0.2s, background 0.2s;
    font-family: inherit;
}
.chat-tab:hover {
    color: #666;
    background: #fafafa;
}
.chat-tab.active {
    color: #667eea;
}
.chat-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 15%;
    right: 15%;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px 3px 0 0;
}
.chat-tab i {
    font-size: 13px;
}
.chat-tab-badge {
    background: #ff4757;
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    margin-left: 2px;
}

/* Tab content containers */
.chat-tab-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ================================================
   Team Chat Theme Overrides
   ================================================ */

/* Section headers in unified team list */
.team-section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #11998e;
    border-bottom: 1px solid #f0f0f0;
    background: #f8fffe;
    position: sticky;
    top: 0;
    z-index: 1;
}
.team-section-header i {
    font-size: 12px;
    opacity: 0.8;
}

/* Online/Offline presence indicators */
.chat-item-avatar {
    position: relative;
}
.online-dot, .offline-dot {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    z-index: 1;
}
.online-dot {
    background: #22c55e;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.3);
}
.offline-dot {
    background: #9ca3af;
}

/* Team avatar uses green gradient */
.chat-team-avatar {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%) !important;
}

/* Team position badge in chat list */
.chat-team-position {
    display: inline-flex;
    align-items: center;
    padding: 1px 7px;
    background: #e8f8f5;
    color: #11998e;
    font-size: 10px;
    font-weight: 600;
    border-radius: 8px;
    white-space: nowrap;
}

/* Team unread badge */
.chat-team-unread {
    background: #11998e !important;
}

/* Team active item */
.chat-item.chat-item-team.active {
    background: #e8f8f5;
    border-left: 3px solid #11998e;
}
.chat-item.chat-item-team:hover {
    background: #f0faf8;
}

/* Team mini-window header */
.chat-team-header {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%) !important;
}
.chat-team-mini-avatar {
    background: rgba(255, 255, 255, 0.25) !important;
}
.chat-team-badge-sm {
    display: inline-flex;
    align-items: center;
    padding: 1px 6px;
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    font-size: 9px;
    font-weight: 600;
    border-radius: 8px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    margin-left: 4px;
    flex-shrink: 0;
}

/* Team bubble sent messages use green gradient */
.chat-message.sent .chat-bubble.chat-team-bubble {
    background: linear-gradient(135deg, #11998e, #38ef7d);
}
.chat-bubble-sender.chat-team-sender {
    color: #11998e;
}

/* Team send button */
.chat-team-send-btn {
    background: linear-gradient(135deg, #11998e, #38ef7d) !important;
}
.chat-team-send-btn:hover {
    box-shadow: 0 2px 8px rgba(17, 153, 142, 0.4) !important;
}

/* Team window flash animation */
.chat-mini-window.chat-team-window.flash {
    animation: chat-team-window-flash 0.6s ease;
}
@keyframes chat-team-window-flash {
    0%, 100% { box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.15); }
    25%, 75% { box-shadow: 0 -4px 30px rgba(17, 153, 142, 0.5); }
    50% { box-shadow: 0 -4px 35px rgba(17, 153, 142, 0.7); }
}
