/* ================= MESSAGE SYSTEM STYLES ================= */

/* Message System Icon */
.message-system-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    min-width: 160px;
    height: 56px;
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.4);
    z-index: 9998;
    transition: all 0.3s ease;
    padding: 0 20px;
    gap: 8px;
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.message-system-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(6, 182, 212, 0.5);
}

.message-icon-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.message-icon-text {
    white-space: nowrap;
    user-select: none;
}

.message-system-icon svg {
    flex-shrink: 0;
}

.message-system-icon .unread-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    border-radius: 12px;
    min-width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    padding: 0 6px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Member Chat Item Styles */
.member-chat-item {
    transition: background 0.2s;
}

.member-chat-item:hover {
    background: rgba(59, 130, 246, 0.1);
}

.member-chat-item:hover button {
    background: #3b82f6 !important;
}

